A Claude Code plugin that
provides POSIX shell programming conventions for writing .sh scripts.
When you create or update a shell script, this plugin activates a skill that guides Claude toward strict POSIX sh compliance. It enforces:
- POSIX sh +
localonly -- no bash, zsh, or ksh extensions - Mandatory quoting of all variable expansions (
"${var}","$@") - Consistent formatting -- 2-space indentation, block keywords on new lines, pipeline continuation style
- Common mistake avoidance -- bashisms, unquoted variables, missing braces
The skill triggers when:
- Creating or updating a shell script
- Working with files that have a
.shextension - Working with files that use a
#!/bin/shshebang
It does not activate when explicitly asked to write a Bash script.
Add this plugin to your Claude Code configuration:
claude plugin add superscript/shell-programming