Agent skill
validate-plugin
Validate a Claude Code plugin directory against the official Anthropic spec and Intent Solutions enterprise standard. Runs structural validation (plugin.json fields, file references, permissions) and content validation (SKILL.md grading, command/agent frontmatter). Use when building a new plugin, preparing for marketplace submission, or auditing existing plugins. Trigger with "validate this plugin", "check plugin structure", "grade my plugin", "/validate-plugin".
Install this agent skill to your Project
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/skill-enhancers/validate-plugin/skills/validate-plugin
SKILL.md
Validate Plugin
Full plugin directory validator combining structural checks and content grading.
Overview
Runs the complete validation pipeline against any plugin directory:
validate-all-plugins.shfor structural validation (plugin.json, file refs, permissions)validate-skills-schema.pyfor content validation with 100-point grading
Prerequisites
- Python 3 with
pyyamlinstalled jqavailable on PATH- Run from the claude-code-plugins repository root
Instructions
- Identify the target plugin directory (must contain
.claude-plugin/plugin.json) - Run structural validation:
bash
./scripts/validate-all-plugins.sh <plugin-directory> - Run content validation on any SKILL.md files found:
bash
python3 scripts/validate-skills-schema.py --verbose <path-to-SKILL.md> - If the plugin has commands or agents, validate those too:
bash
python3 scripts/validate-skills-schema.py --verbose - Report the combined results with per-skill 100-point grades
Output
Present results in this format:
Structural Validation:
- plugin.json: PASS/FAIL (list any invalid fields)
- File references: PASS/FAIL
- Script permissions: PASS/FAIL
Content Validation (per SKILL.md):
- Grade: A-F (score/100)
- Errors: list
- Warnings: list
Summary:
- Total errors / warnings
- Overall verdict: PASS or FAIL
Error Handling
- If plugin directory doesn't exist, report and exit
- If plugin.json is missing, report as structural failure
- If Python or jq not available, report as environment issue
- Continue validating remaining files even if one fails
Examples
Example 1: Validate a specific plugin
/validate-plugin plugins/skill-enhancers/skill-creator/
Example 2: Validate current directory
validate this plugin
Resources
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
dockerfile-generator
Dockerfile Generator - Auto-activating skill for DevOps Basics. Triggers on: dockerfile generator, dockerfile generator Part of the DevOps Basics skill category.
branch-naming-helper
Branch Naming Helper - Auto-activating skill for DevOps Basics. Triggers on: branch naming helper, branch naming helper Part of the DevOps Basics skill category.
readme-generator
Readme Generator - Auto-activating skill for DevOps Basics. Triggers on: readme generator, readme generator Part of the DevOps Basics skill category.
makefile-generator
Makefile Generator - Auto-activating skill for DevOps Basics. Triggers on: makefile generator, makefile generator Part of the DevOps Basics skill category.
gitignore-generator
Gitignore Generator - Auto-activating skill for DevOps Basics. Triggers on: gitignore generator, gitignore generator Part of the DevOps Basics skill category.
pre-commit-hook-setup
Pre Commit Hook Setup - Auto-activating skill for DevOps Basics. Triggers on: pre commit hook setup, pre commit hook setup Part of the DevOps Basics skill category.
Didn't find tool you were looking for?