bash-patch-safe
CommunitySafely patch Bash scripts without breaking them
AuthorWike-CHI
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Modifying Bash scripts with patch tools or manual edits can unintentionally remove function definitions, break function calls, or disrupt the order of definitions, leading to runtime errors that are hard to detect.
Core Features & Use Cases
- Detect duplicate function definitions after a patch.
- Verify that the script exits immediately when invoked with the
--helpoption. - Perform syntax validation using
bash -n. - Ensure essential calls such as
parse_args "$@"andmain "$@"are present in the correct order. - Use case: after applying a patch to a deployment automation script, run this skill to confirm the script still operates safely.
Quick Start
Use the bash-patch-safe skill to validate 'script.sh' after a patch.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bash-patch-safe Download link: https://github.com/Wike-CHI/acquisition-agent/archive/main.zip#bash-patch-safe Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.