Validate a Claude Code component or plugin for schema compliance
Validates Claude Code components and plugins for schema compliance and best practices.
/plugin marketplace add C0ntr0lledCha0s/claude-code-plugin-automations/plugin install agent-builder@claude-code-plugin-automations[path]claude-haiku-4-5Validate a Claude Code component or plugin for schema compliance and best practices.
Arguments:
$1 (required): Path to component file or plugin directoryFull arguments: $ARGUMENTS
Detect Component Type
*/agents/*.md*/skills/*/SKILL.md*/commands/*.md*/hooks.json or */hooks/hooks.json.claude-plugin/plugin.jsonRun Appropriate Validator
Report Results
| Type | Script |
|---|---|
| Agent | validate-agent.py |
| Skill | validate-skill.py |
| Command | validate-command.py |
| Hook | validate-hooks.py |
| Plugin | validate-plugin.py |
/agent-builder:validate .claude/agents/code-reviewer.md
/agent-builder:validate .claude/skills/analyzing-code/
/agent-builder:validate .claude/commands/run-tests.md
/agent-builder:validate .claude/hooks.json
/agent-builder:validate my-plugin/
✅ VALIDATION PASSED: [path]
Component: [type]
Schema: Valid
Best Practices: Followed
Recommendations:
- [Optional improvements]
❌ VALIDATION FAILED: [path]
Component: [type]
Critical Issues:
1. [Issue 1]
2. [Issue 2]
Warnings:
1. [Warning 1]
How to Fix:
1. [Fix for issue 1]
2. [Fix for issue 2]
| Code | Meaning |
|---|---|
| 0 | All validations passed |
| 1 | Critical errors found |
| 2 | Warnings only |
When invoked: