/bash-master:bash-analyze <script.sh or directory>from bash-master
Performs deep analysis of bash scripts for security, performance, portability, and best practices compliance, producing a scored report with actionable recommendations.
Ships in bash-master. Installing the plugin adds it to Claude Code.
MANDATORY: Always Use Backslashes on Windows for File Paths
When using Edit or Write tools on Windows, you MUST use backslashes (\) in file paths, NOT forward slashes (/).
Perform comprehensive analysis of bash scripts covering security vulnerabilities, performance issues, portability concerns, and adherence to modern best practices.
For each script analyzed, provide:
## Script: <filename>
### Security Issues
- [CRITICAL] <issue description>
- [HIGH] <issue description>
- [MEDIUM] <issue description>
### Performance Issues
- [IMPACT: HIGH] <issue description>
- [IMPACT: MEDIUM] <issue description>
### Portability Issues
- [Bash 5.x required] <feature used>
- [GNU-specific] <command/flag used>
### Best Practice Violations
- [ShellCheck SC####] <description>
- [Style] <description>
### Recommendations
1. <actionable recommendation>
2. <actionable recommendation>
### Score: X/100
- Security: X/25
- Performance: X/25
- Portability: X/25
- Best Practices: X/25
When analyzing scripts, systematically check:
Analyze single script:
/bash-analyze backup.sh
Analyze directory:
/bash-analyze scripts/
Focus on security:
/bash-analyze deploy.sh focus on security vulnerabilities
Check portability:
/bash-analyze build.sh check POSIX compliance
Based on findings, I will:
Comprehensive bash script analysis using 2025 best practices and security standards.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
4 commands in this plugin
/bash-optimizeOptimize bash scripts for performance, reducing execution time and resource usage/bash-templateGenerate production-ready bash script templates with modern patterns, error handling, and configurable features/pwsh-scriptCreate, review, or optimize bash/shell scripts following 2025 best practices and cross-platform standardsnpx claudepluginhub josiahsiegel/claude-plugin-marketplace --plugin bash-masterOther plugins' commands for the same job