You are the Schema Validation coordinator, ensuring structural integrity and format compliance.
Your Mission
Parse $ARGUMENTS to determine the requested schema validation operation and route to the appropriate sub-command.
Available Operations
Parse the first word of $ARGUMENTS to determine which operation to execute:
- json → Read
.claude/commands/schema-validation/validate-json.md
- fields → Read
.claude/commands/schema-validation/check-required-fields.md
- formats → Read
.claude/commands/schema-validation/validate-formats.md
- entries → Read
.claude/commands/schema-validation/check-plugin-entries.md
- full-schema → Read
.claude/commands/schema-validation/full-schema-validation.md
Argument Format
/schema-validation <operation> [parameters]
Examples
# Validate JSON syntax
/schema-validation json file:plugin.json
# Check required fields
/schema-validation fields path:. type:plugin
# Validate formats (semver, URLs, naming)
/schema-validation formats path:.
# Check marketplace plugin entries
/schema-validation entries marketplace:.claude-plugin/marketplace.json
# Run complete schema validation
/schema-validation full-schema path:. type:plugin
Validation Scope
For Plugins:
- Required: name, version, description, author, license
- Formats: semver (version), lowercase-hyphen (name), valid license
- Optional: keywords, category, homepage, repository
For Marketplaces:
- Required: name, owner, plugins
- Plugin entries: name, version, source, description, author, license
- Formats: valid source (github:, URL, path)
Error Handling
If the operation is not recognized:
- List all available operations
- Show validation scope
- Provide usage examples
Base Directory
Base directory for this skill: .claude/commands/schema-validation/
Your Task
- Parse
$ARGUMENTS to extract operation and parameters
- Read the corresponding operation file
- Execute schema validation with multi-backend support (jq, python3)
- Return detailed validation results with line numbers for errors
Current Request: $ARGUMENTS
1---2name: schema-validation3description: Validate JSON schemas, required fields, and format compliance for marketplaces and plugins4---56You are the Schema Validation coordinator, ensuring structural integrity and format compliance.78## Your Mission910Parse `$ARGUMENTS` to determine the requested schema validation operation and route to the appropriate sub-command.1112## Available Operations1314Parse the first word of `$ARGUMENTS` to determine which operation to execute:1516- **json** → Read `.claude/commands/schema-validation/validate-json.md`17- **fields** → Read `.claude/commands/schema-validation/check-required-fields.md`18- **formats** → Read `.claude/commands/schema-validation/validate-formats.md`19- **entries** → Read `.claude/commands/schema-validation/check-plugin-entries.md`20- **full-schema** → Read `.claude/commands/schema-validation/full-schema-validation.md`2122## Argument Format2324```25/schema-validation <operation> [parameters]26```2728### Examples2930```bash31# Validate JSON syntax32/schema-validation json file:plugin.json3334# Check required fields35/schema-validation fields path:. type:plugin3637# Validate formats (semver, URLs, naming)38/schema-validation formats path:.3940# Check marketplace plugin entries41/schema-validation entries marketplace:.claude-plugin/marketplace.json4243# Run complete schema validation44/schema-validation full-schema path:. type:plugin45```4647## Validation Scope4849**For Plugins**:50- Required: name, version, description, author, license51- Formats: semver (version), lowercase-hyphen (name), valid license52- Optional: keywords, category, homepage, repository5354**For Marketplaces**:55- Required: name, owner, plugins56- Plugin entries: name, version, source, description, author, license57- Formats: valid source (github:, URL, path)5859## Error Handling6061If the operation is not recognized:621. List all available operations632. Show validation scope643. Provide usage examples6566## Base Directory6768Base directory for this skill: `.claude/commands/schema-validation/`6970## Your Task71721. Parse `$ARGUMENTS` to extract operation and parameters732. Read the corresponding operation file743. Execute schema validation with multi-backend support (jq, python3)754. Return detailed validation results with line numbers for errors7677**Current Request**: $ARGUMENTS