/shell-review
Audit shell scripts for correctness, safety, and portability.
$ npx -y skills add athola/claude-night-market --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/shell-review
Context preview
What this command does when you run it.
Audit shell scripts for correctness, safety, and portability.
Command definition
shell-review.mdShell Script Review Command
Audit shell scripts for correctness, safety, and portability.
Usage
/shell-review [path/to/script.sh]
Without arguments, reviews all `.sh` files in `scripts/` and `.git/hooks/`.
What It Does
1. **Context Mapping**: Find shell scripts and integration points 2. **Exit Code Audit**: Check pipeline exit code propagation 3. **Portability Check**: POSIX vs Bash compatibility 4. **Safety Patterns**: Quoting, set flags, temp files 5. **Evidence Logging**: Document findings
Scope
- Exit code propagation in pipelines
- set -euo pipefail usage
- Variable quoting
- POSIX vs Bash compatibility
- Temporary file handling
- Directory change safety
Key Anti-Patterns Detected
- `cmd | grep` in if conditions (exit code masked)
- Unquoted variables
- Missing set flags
- Bash-isms in `/bin/sh` scripts
- Unsafe temp file creation
Output
- Exit code issues with fix patterns
- Portability warnings
- Safety recommendations
- Overall assessment
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Other commands on claude-night-market.
- /aggregate-logs
Generate LEARNINGS.md from skill execution logs.
Open command - /analyze-skill
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Open command - /bulletproof-skill
Harden skills against rationalization and bypass behaviors
Open command - /context-report
Generate context optimization report for skill directories
Open command - /create-command
Create slash commands with brainstorming and best practices
Open command - /create-hook
Create hooks with brainstorming and security-first design
Open command

