From studio-quality
Validate a completed plugin for structural correctness, manifest compliance, skill quality, and dependency integrity. Use when a plugin is ready for review, before packaging or promotion, after editing a plugin, or when you want a detailed diagnostic report with remediation steps. Works on any Claude Code plugin directory.
How this skill is triggered — by the user, by Claude, or both
Slash command
/studio-quality:plugin-validatorThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run comprehensive validation on a plugin and produce an actionable report. Checks manifest schema, skill quality, cross-references, and dependency integrity.
Run comprehensive validation on a plugin and produce an actionable report. Checks manifest schema, skill quality, cross-references, and dependency integrity.
Accept the plugin directory path via $ARGUMENTS. The path can be:
{target_dir}/ directory (during development — the single source of truth for implementation){name}/ (production).claude-plugin/plugin.jsonIf the user gives a skill directory, navigate up to find the plugin root.
Run the structural validation script:
python ${CLAUDE_SKILL_DIR}/../../scripts/validate_plugin.py <plugin-dir>
This checks: manifest exists and is valid JSON, required fields (name, version, description), kebab-case naming, semver version, and all declared paths (skills, commands, hooks, mcpServers) resolve.
Run the skill validation script:
python ${CLAUDE_SKILL_DIR}/../../scripts/validate_skills.py <plugin-dir>
This checks per skill: SKILL.md exists with valid YAML frontmatter, required fields (name, description), name matches directory, description under 1024 chars, warns on unknown frontmatter keys and files over 500 lines, and verifies referenced scripts/ and references/ files exist.
Run the dependency check script:
python ${CLAUDE_SKILL_DIR}/../../scripts/check_dependencies.py <plugin-dir>
This checks: .mcp.json validity and server entries, hooks.json validity and recognized event names, and declared plugin dependencies.
Generate the combined report by running:
python ${CLAUDE_SKILL_DIR}/../../scripts/generate_report.py <plugin-dir>
The script also saves a JSON report to .validation-report.json in the plugin directory.
Summarize the report:
Plugin Validation: {plugin-name}
══════════════════════════════════
Structure: ✅ 8/8 passed
Skills: ⚠️ 3/4 passed (1 warning)
Dependencies: ✅ 2/2 passed
Warnings:
- skills/data-loader/SKILL.md: 520 lines (recommend < 500)
Overall: PASS (with warnings)
Categories:
If the plugin has a corresponding workspace in studio/changes/ (look up by plugin name, regardless of where the implementation lives) and all checks pass:
status.jsontestedphase to approvedupdated_atWhen updating the workspace:
studio/changes/target_dir, action, iteration, and unrelated skill statusesbuilt → tested); do not downgrade already tested skillsIf checks fail, suggest specific remediation steps for each failure:
| Common failure | Remediation |
|---|---|
| Missing plugin.json | Create .claude-plugin/plugin.json with name, version, description |
| Name mismatch | Rename the directory or update the name field in plugin.json |
| Invalid semver | Use X.Y.Z format (e.g., 0.1.0) |
| Missing SKILL.md | Create a SKILL.md with at least name and description in frontmatter |
| Broken script ref | Create the missing script file or remove the reference |
| Invalid .mcp.json | Run /studio-quality:wire-mcp to regenerate it |
npx claudepluginhub ameng2001/astra-studio-plugins --plugin studio-qualityValidates Claude Code plugin directories against Anthropic spec via structural checks (plugin.json, files, permissions) and content grading (SKILL.md, commands). Use for building, auditing, or marketplace prep.
Validates Claude Code plugins for compliance with official guidelines including plugin.json manifest, directory structure, and formats for agents/skills/commands to prevent installation failures.
Guides creation and validation of Claude Code plugin.json manifests. Includes schema rules, file paths, and conventions.