Which documentation needs improvement?
Specific Location
SECURITY.md - Add new section
CONTRIBUTING.md - Add note in documentation guidelines
What's unclear or missing?
The plugin uses a [BANG] placeholder to prevent shell execution of inline bash patterns in skill documentation. This workaround addresses Claude Code issue #12781, where !`` patterns inside fenced code blocks are executed when skills are loaded.
Current state:
Audit finding:
One potentially unescaped pattern remains:
plugins/plugin-dev/skills/command-development/references/testing-strategies.md:680
Suggested Improvement
Add a security section documenting the workaround:
## Security: Inline Bash Pattern Escaping
Due to [Claude Code issue #12781](https://github.com/anthropics/claude-code/issues/12781),
inline bash execution patterns (`!`\`...\``) inside fenced code blocks are executed when
skills are loaded—even as documentation examples.
**Mitigation:** Replace `!` with `[BANG]` in all skill documentation that shows example
bash patterns:
\`\`\`bash
# UNSAFE - will execute during skill load
!`gh pr view $1`
# SAFE - displays as documentation only
[BANG]`gh pr view $1`
\`\`\`
**Affected files to audit when adding new documentation:**
- skills/*/SKILL.md
- skills/*/references/*.md
- skills/*/examples/*.md
Type of issue
Additional Context
Related to CHANGELOG entry: "Replace ! with [BANG] placeholder in skill documentation to prevent shell interpretation issues (#142)"
Tasks:
Which documentation needs improvement?
Specific Location
SECURITY.md- Add new sectionCONTRIBUTING.md- Add note in documentation guidelinesWhat's unclear or missing?
The plugin uses a
[BANG]placeholder to prevent shell execution of inline bash patterns in skill documentation. This workaround addresses Claude Code issue #12781, where!`` patterns inside fenced code blocks are executed when skills are loaded.Current state:
[BANG]is used and could "fix" it back to!Audit finding:
One potentially unescaped pattern remains:
plugins/plugin-dev/skills/command-development/references/testing-strategies.md:680Suggested Improvement
Add a security section documenting the workaround:
Type of issue
Additional Context
Related to CHANGELOG entry: "Replace ! with [BANG] placeholder in skill documentation to prevent shell interpretation issues (#142)"
Tasks:
grep -rn '!\' plugins/plugin-dev/skills/ --include='*.md' | grep -v '[BANG]'`