Posix shell pro

From roadsidedev/OpenClaw-Awesome-Skills · View interactive version

Posix shell pro is an AI agent skill from the GitHub repository roadsidedev/OpenClaw-Awesome-Skills. 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).

How to use this skill

Skill file

Use this skill when

Do not use this skill when

Instructions

Focus Areas

POSIX Constraints

Approach

Compatibility & Portability

Readability & Maintainability

Safety & Security Patterns

Performance Optimization

Documentation Standards

Working Without Arrays

Since POSIX sh lacks arrays, use these patterns:

Portable Conditionals

Use [ ] test command with POSIX operators:

CI/CD Integration

Embedded Systems & Limited Environments

Migration from Bash to POSIX sh

Quality Checklist

Output

Essential Tools

Static Analysis & Formatting

POSIX Shell Implementations for Testing

Testing Frameworks

Common Pitfalls to Avoid

Advanced Techniques

POSIX-Specific Best Practices

References & Further Reading

POSIX Standards & Specifications

Portability & Best Practices

Tools & Testing

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.