bash-command-safety
OfficialPrevent Bash parse errors, ensure command safety.
Software Engineering#automation#shell scripting#command line#Bash#parse error#syntax error#script safety
AuthorCodeTonight-SA
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Incorrect use of semicolons after command substitutions in Bash (especially within eval contexts) can lead to parse errors and script failures. This skill identifies and prevents such syntax mistakes, ensuring robust Bash command execution.
Core Features & Use Cases
- Syntax Error Detection: Monitors for the
semicolon-after-subshellpattern that causes parse errors. - Remediation Suggestion: Provides alternative, safe approaches to structure Bash commands.
- Pre-Execution Validation: Implements checks to prevent the execution of Bash commands with this specific syntax flaw.
- Use Case: You're writing or reviewing a Bash script that uses command substitution, and you want to ensure it's free from common parsing errors.
Quick Start
"Review this Bash script for any semicolon-after-subshell parse errors." "Ensure my Bash commands are safe from common syntax mistakes."
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-command-safety Download link: https://github.com/CodeTonight-SA/claude-optim/archive/main.zip#bash-command-safety 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 223,000+ vetted skills library on demand.