LogoClawIndex
CasesSkillsAbout
LogoClawIndex

posix-shell-pro - Write portable POSIX shell scripts

Provides guidance for strict POSIX sh scripting, portability, defensive practices, testing, and Bash-to-POSIX migration.

Tags

Updated: 2026-09-30
POSIX shellshell scriptingportabilityUnixBash migrationShellCheckdefensive programming

Capabilities

Apply POSIX shell practicesValidate shell portabilityAnalyze scripts with ShellCheckTest scripts across shells

Typical Inputs

Task goals and constraintsShell scriptsRequired script inputs

Typical Outputs

Actionable scripting guidancePortability findingsValidation results

What this skill does

  • Apply POSIX shell practices
  • Validate shell portability
  • Analyze scripts with ShellCheck
  • Test scripts across shells
  • Migrate Bash scripts to POSIX
  • Design defensive error handling
  • Implement portable argument parsing
  • Review shell script safety

Inputs

  • Task goals and constraints
  • Shell scripts
  • Required script inputs
  • Target shells and platforms
  • Implementation playbook

Outputs

  • Actionable scripting guidance
  • Portability findings
  • Validation results
  • Migration recommendations
  • Shell usage documentation

Requirements

  • POSIX-compatible shell environment
  • ShellCheck for static analysis
  • dash, ash, or POSIX-mode bash for testing

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.