Skip to content

Commit 43d468e

Browse files
sjnimsclaude
andcommitted
docs: update documentation to reflect all validation scripts
- CLAUDE.md: Add command-development scripts to utility scripts section - README.md: Update script count from 6 to 10, expand Utility Scripts section to show all skills with validation utilities - CONTRIBUTING.md: Add Validation Scripts section with examples, update testing checklist 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 118774c commit 43d468e

3 files changed

Lines changed: 37 additions & 8 deletions

File tree

CLAUDE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ Utility scripts (paths relative to `plugins/plugin-dev/`):
9696
./skills/agent-development/scripts/validate-agent.sh agents/agent-name.md
9797
./skills/agent-development/scripts/test-agent-trigger.sh agents/agent-name.md
9898

99+
# Command development
100+
./skills/command-development/scripts/validate-command.sh .claude/commands/my-command.md
101+
./skills/command-development/scripts/check-frontmatter.sh .claude/commands/my-command.md
102+
99103
# Hook development
100104
./skills/hook-development/scripts/validate-hook-schema.sh hooks/hooks.json
101105
./skills/hook-development/scripts/test-hook.sh hooks/my-hook.sh input.json

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,28 @@ When creating and/or modifying hooks:
231231

232232
## Testing
233233

234+
### Validation Scripts
235+
236+
Use the built-in validation scripts before submitting (paths relative to `plugins/plugin-dev/`):
237+
238+
```bash
239+
# Validate agents
240+
./skills/agent-development/scripts/validate-agent.sh agents/my-agent.md
241+
242+
# Validate commands
243+
./skills/command-development/scripts/validate-command.sh commands/my-command.md
244+
245+
# Validate hooks
246+
./skills/hook-development/scripts/validate-hook-schema.sh hooks/hooks.json
247+
248+
# Validate plugin settings
249+
./skills/plugin-settings/scripts/validate-settings.sh .claude/plugin.local.md
250+
```
251+
234252
### Local Testing Checklist
235253

236254
- [ ] Load plugin: `cc --plugin-dir plugins/plugin-dev`
255+
- [ ] Run validation scripts for changed components
237256
- [ ] Test affected commands
238257
- [ ] Verify GitHub CLI integration works
239258
- [ ] Test in a clean repository (not your development repo)

README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -268,17 +268,23 @@ This keeps Claude Code's context focused while providing deep knowledge when nee
268268

269269
### Utility Scripts
270270

271-
The hook-development skill includes production-ready utilities:
271+
Each skill includes production-ready utilities (paths relative to `plugins/plugin-dev/`):
272272

273273
```bash
274-
# Validate hooks.json structure
275-
./validate-hook-schema.sh hooks/hooks.json
274+
# Agent development
275+
./skills/agent-development/scripts/validate-agent.sh agents/my-agent.md
276+
./skills/agent-development/scripts/test-agent-trigger.sh agents/my-agent.md
276277

277-
# Test hooks before deployment
278-
./test-hook.sh my-hook.sh test-input.json
278+
# Command development
279+
./skills/command-development/scripts/validate-command.sh commands/my-command.md
280+
./skills/command-development/scripts/check-frontmatter.sh commands/my-command.md
279281

280-
# Lint hook scripts for best practices
281-
./hook-linter.sh my-hook.sh
282+
# Hook development
283+
./skills/hook-development/scripts/validate-hook-schema.sh hooks/hooks.json
284+
./skills/hook-development/scripts/test-hook.sh my-hook.sh test-input.json
285+
286+
# Plugin settings
287+
./skills/plugin-settings/scripts/validate-settings.sh .claude/plugin.local.md
282288
```
283289

284290
### Working Examples
@@ -304,7 +310,7 @@ All skills follow consistent standards:
304310
- **Core Skills**: ~11,065 words across 7 SKILL.md files
305311
- **Reference Docs**: ~10,000+ words of detailed guides
306312
- **Examples**: 12+ working examples (hook scripts, MCP configs, plugin layouts, settings files)
307-
- **Utilities**: 6 production-ready validation/testing/parsing scripts
313+
- **Utilities**: 10 production-ready validation/testing/parsing scripts
308314

309315
## Use Cases
310316

0 commit comments

Comments
 (0)