validate-manifest
Installation
SKILL.md
Validate Manifest
"The manifest is the contract between the plugin and the runtime. A broken contract breaks trust."
Validates that plugin.json is well-formed JSON, contains all required and recommended fields, and that its declared counts and references match the actual plugin contents.
Procedure
Step 1 -- Parse JSON
- Look for
plugin.jsonat plugin root first (official spec location), then fall back to.claude-plugin/plugin.json(legacy location). ReportINFOif found at legacy path. - Attempt strict JSON parse. If it fails:
- Check for trailing commas after last array/object element -- report
CRITICAL: Trailing comma at line N. - Check for JavaScript-style comments (
//,/* */) -- reportCRITICAL: Comments not allowed in JSON. - Check for single quotes instead of double quotes -- report
CRITICAL: JSON requires double quotes.
- Check for trailing commas after last array/object element -- report
- If JSON is unparseable after diagnostics, STOP and report. Subsequent steps require valid JSON.