com um clique
schema-check-skill
Common schema validation rules for all plugin components
Menu
Common schema validation rules for all plugin components
Aggregation phase for /assist:health-check command - produces final report
Analysis phase for /assist:health-check command - scores each component
Discovery phase for /assist:health-check command - finds components for health analysis
Connectivity phase for /assist:verify command - validates cross-references
Discovery phase for /assist:verify command - finds all components to validate
Validation phase for /assist:verify command - validates each component
| name | schema-check-skill |
| description | Common schema validation rules for all plugin components |
| triggers | ["schema-check phase","final validation","component schema validation"] |
This is the mandatory final phase for all non-dispatcher workflows. Every workflow (except /assist:wizard) ends with schema-check validation.
Validate all generated/modified plugin components against Claude Code plugin schemas and conventions.
Required fields:
name: String, lowercase with hyphens, no spacesversion: Semantic version (e.g., "1.0.0")description: Non-empty stringauthor: Object with name field (NOT a string){
"name": "my-plugin",
"version": "1.0.0",
"description": "Plugin description",
"author": {
"name": "Author Name"
}
}
Required structure:
{
"plugins": [
{
"location": "plugins/<name>/.claude-plugin",
"owner": "owner-name",
"source": {
"type": "git",
"url": "https://github.com/owner/repo"
}
}
]
}
| Component | Location Pattern |
|---|---|
| Skills | skills/<skill-name>/SKILL.md |
| Agents | agents/<agent-name>.md |
| Commands | commands/<command-name>.md |
| Hooks | hooks/hooks.json + hooks/*.py |
Skills:
---
name: skill-name
description: What this skill does
triggers:
- trigger phrase 1
- trigger phrase 2
---
Agents:
---
name: agent-name
description: Agent description
tools:
- Tool1
- Tool2
---
Commands:
---
name: command-name
description: Command description
allowed-tools:
- Tool1
- Tool2
---
SCHEMA_CHECK_REPORT
===================
Checked: <number> components
Passed: <number>
Failed: <number>
RESULTS:
[PASS] plugin.json - All required fields present
[PASS] agents/my-agent.md - Valid frontmatter and content
[FAIL] skills/my-skill/SKILL.md - Missing 'triggers' field
ISSUES:
- skills/my-skill/SKILL.md: Missing required 'triggers' field in frontmatter
RECOMMENDATIONS:
- Add triggers field to skills/my-skill/SKILL.md
To complete this phase:
Evidence required for workflow completion:
checked_count: Number of components validatedpassed_count: Number passing validationfailed_count: Number failing validation (must be 0)