When you need shell scripts that run anywhere,Alpine containers, ancient Solaris boxes, embedded systems, wherever,this is your go-to. It enforces strict POSIX sh compliance, so no arrays, no bash-isms, no `[[` conditionals. You get patterns for working around those limitations: positional parameters instead of arrays, `case` for pattern matching, `printf` instead of echo. It's opinionated about safety too: quote everything, use traps for cleanup, validate with explicit checks. The real value is in the constraints section and workarounds, which save you from debugging why your script breaks on dash or BusyBox ash. Worth it if portability actually matters for your use case.

skills.sh installs
250
GitHub stars
39.4K
last updated
Jun 3, 2026

Install

$ npx -y skills add sickn33/antigravity-awesome-skills --skill posix-shell-pro --agent claude-code

Installs into .claude/skills of the current project.

Files

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.

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

Sponsors

Details

Repository
github.com/sickn33/antigravity-awesome-skills
Category
CLI & Terminal
First seen
Jun 3, 2026

More from sickn33/antigravity-awesome-skills

All 708
1huggingface avatarhugging-face-clihuggingface/skillsExecute Hugging Face Hub operations using the `hf` CLI. Use when the user needs to download models/datasets/spaces, upload files to Hub repositories, create rep249skills.sh installs
2glebis avatarllm-cliglebis/claude-skillsProcess textual and multimedia files with various LLM providers using the llm CLI. Supports both non-interactive and interactive modes with model selection, con234skills.sh installs
3n8n-io avatarn8n-clin8n-io/n8nUse the n8n CLI to manage workflows, credentials, executions, and more on an n8n instance. Use when the user asks to interact with n8n, automate workflows, mana209skills.sh installs
4kevmoo avatardart-cli-app-best-practiceskevmoo/dash_skillsDeprecated. Best practices for creating high-quality, executable Dart CLI applications. Use the upstream `dart-build-cli-app` skill instead.185skills.sh installs
5sickn33 avatarlinux-shell-scriptingsickn33/antigravity-awesome-skillslinux shell scripting181skills.sh installs
6akillness avatarobsidian-cliakillness/oh-my-skillsobsidian cli148skills.sh installs