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".
Best use case
validate-plugin is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
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".
Teams using validate-plugin should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/validate-plugin/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How validate-plugin Compares
| Feature / Agent | validate-plugin | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
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".
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
SKILL.md Source
# Validate Plugin Full plugin directory validator combining structural checks and content grading. ## Overview Runs the complete validation pipeline against any plugin directory: 1. `validate-all-plugins.sh` for structural validation (plugin.json, file refs, permissions) 2. `validate-skills-schema.py` for content validation with 100-point grading ## Prerequisites - Python 3 with `pyyaml` installed - `jq` available on PATH - Run from the claude-code-plugins repository root ## Instructions 1. Identify the target plugin directory (must contain `.claude-plugin/plugin.json`) 2. Run structural validation: ```bash ./scripts/validate-all-plugins.sh <plugin-directory> ``` 3. Run content validation on any SKILL.md files found: ```bash python3 scripts/validate-skills-schema.py --verbose <path-to-SKILL.md> ``` 4. If the plugin has commands or agents, validate those too: ```bash python3 scripts/validate-skills-schema.py --verbose ``` 5. 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 - [Anthropic Plugins Reference](https://code.claude.com/docs/en/plugins-reference) - [Anthropic Skills Spec](https://code.claude.com/docs/en/slash-commands)
Related Skills
fastify-plugin-creator
Fastify Plugin Creator - Auto-activating skill for Backend Development. Triggers on: fastify plugin creator, fastify plugin creator Part of the Backend Development skill category.
Plugin Validator
Automatically validates Claude Code plugin structure, schemas, and compliance when user mentions validate plugin, check plugin, or plugin errors. Runs comprehensive validation specific to claude-code-plugins repository standards.
Plugin Creator
Automatically creates new Claude Code plugins with proper structure, validation, and marketplace integration when user mentions creating a plugin, new plugin, or plugin from template. Specific to claude-code-plugins repository workflow.
Plugin Auditor
Automatically audits Claude Code plugins for security vulnerabilities, best practices, CLAUDE.md compliance, and quality standards when user mentions audit plugin, security review, or best practices check. Specific to claude-code-plugins repository standards.
schema-optimization-orchestrator
Multi-phase schema optimization workflow orchestrator. Creates session directories, spawns phase agents sequentially, validates outputs, aggregates results. Trigger: "run schema optimization", "optimize schema workflow", "execute schema phases"
test-skill
Test skill for E2E validation. Trigger with "run test skill" or "execute test". Use this skill when testing skill activation and tool permissions.
example-skill
Brief description of what this skill does and when the model should activate it. Use when [describe the user's intent or situation]. Trigger with "example phrase", "another trigger", "/example-skill".
testing-visual-regression
Detect visual changes in UI components using screenshot comparison. Use when detecting unintended UI changes or pixel differences. Trigger with phrases like "test visual changes", "compare screenshots", or "detect UI regressions".
generating-unit-tests
Test automatically generate comprehensive unit tests from source code covering happy paths, edge cases, and error conditions. Use when creating test coverage for functions, classes, or modules. Trigger with phrases like "generate unit tests", "create tests for", or "add test coverage".
generating-test-reports
Generate comprehensive test reports with metrics, coverage, and visualizations. Use when performing specialized testing. Trigger with phrases like "generate test report", "create test documentation", or "show test metrics".
orchestrating-test-execution
Test coordinate parallel test execution across multiple environments and frameworks. Use when performing specialized testing. Trigger with phrases like "orchestrate tests", "run parallel tests", or "coordinate test execution".
managing-test-environments
Test provision and manage isolated test environments with configuration and data. Use when performing specialized testing. Trigger with phrases like "manage test environment", "provision test env", or "setup test infrastructure".