What problem does it solve?
This Skill helps you improve the performance, reliability, and maintainability of your bash scripts by identifying bottlenecks, enforcing coding standards, and suggesting modern tool replacements.
Core Features & Use Cases
- Performance Analysis: Detects inefficient patterns like unnecessary pipes, excessive subshells, and slow commands.
- Standards Enforcement: Checks for critical issues like unquoted variables, incorrect shebangs, and promotes modern bash syntax.
- Tool Modernization: Recommends replacing legacy tools (e.g.,
find, grep, sed) with faster, more efficient alternatives (e.g., fd, rg, sd).
- Consolidation Guidance: Provides strategies for merging multiple related scripts into a single, more manageable entry point.
- Use Case: You have a complex bash script that runs slowly. Use this Skill to analyze it, identify the performance bottlenecks, and get actionable recommendations for optimization and modernization.
Quick Start
Analyze the bash script located at '/path/to/your/script.sh' for performance and standards issues.