Agent skill
language-shell
Shell scripting standards and safety practices. Use when language shell guidance is required or when selecting Shell as a thin wrapper or OS-near glue layer.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/language-shell
SKILL.md
Key Execution Capabilities
Script Validation
- Run syntax checking:
bash -n,sh -n,zsh -n - Execute static analysis with shellcheck
- Validate shebang lines and strict mode compliance
- Check for security vulnerabilities and coding violations
Tool Integration
- Use
shellcheckfor comprehensive linting - Leverage shell-specific parameter expansion features
- Apply POSIX vs bash vs zsh feature detection
- Implement platform-specific compatibility checks
Execution Context
- Process script files from filesystem layer
- Generate structured reports with line-by-line findings
- Create minimal, rule-compliant patches for violations
- Maintain separation between governance rules and execution tools
Error Handling
This skill provides execution-layer error handling for shell script analysis:
- Invalid file formats or permissions
- Tool availability issues (missing shellcheck, etc.)
- Platform-specific limitations
- Syntax validation failures
Usage Notes
- Always delegate to governance rules for policy decisions
- Focus on concrete tool execution and result processing
- Provide deterministic, tool-first analysis results
- Maintain separation between rule definition and rule application
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?