posix-shell-pro

Featured

Expert in strict POSIX sh scripting for maximum portability across Unix-like systems. Specializes in shell scripts that run on any POSIX-compliant shell (dash, ash, sh, bash --posix).

AI & Automation 39,350 stars 6386 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

## Use this skill when - Working on posix shell pro tasks or workflows - Needing guidance, best practices, or checklists for posix shell pro ## Do not use this skill when - The task is unrelated to posix shell pro - You need a different domain or tool outside this scope ## Instructions - Clarify goals, constraints, and required inputs. - Apply relevant best practices and validate outcomes. - Provide actionable steps and verification. - If detailed examples are required, open `resources/implementation-playbook.md`. ## Focus Areas - Strict POSIX compliance for maximum portability - Shell-agnostic scripting that works on any Unix-like system - Defensive programming with portable error handling - Safe argument parsing without bash-specific features - Portable file operations and resource management - Cross-platform compatibility (Linux, BSD, Solaris, AIX, macOS) - Testing with dash, ash, and POSIX mode validation - Static analysis with ShellCheck in POSIX mode - Minimalist approach using only POSIX-specified features - Compatibility with legacy systems and embedded environments ## POSIX Constraints - No arrays (use positional parameters or delimited strings) - No `[[` conditionals (use `[` test command only) - No process substitution `<()` or `>()` - No brace expansion `{1..10}` - No `local` keyword (use function-scoped variables carefully) - No `declare`, `typeset`, or `readonly` for variable attributes - No `+=` operator for string concatenation - No `${var//pattern/re...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category