Skip to content
Skillv1.0.0

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

by jeremylongshore(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from jeremylongshore/tons-of-skills-marketplace (skills/.curated/validate-plugin/SKILL.md). Install upstream with npx skills add jeremylongshore/tons-of-skills-marketplace --skill validate-plugin. Copyright stays with the author (MIT).

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:

    ./scripts/validate-all-plugins.sh <plugin-directory>
  3. Run content validation on any SKILL.md files found:

    python3 scripts/validate-skills-schema.py --verbose <path-to-SKILL.md>
  4. If the plugin has commands or agents, validate those too:

    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

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/jeremylongshore-tons-of-skills-marketplace-validate-plugin/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

jeremylongshore-tons-of-skills-marketplace-validate-plugin.ocm.jsonjson
{
  "ocm": "1",
  "id": "jeremylongshore-tons-of-skills-marketplace-validate-plugin",
  "kind": "skill",
  "name": "validate-plugin",
  "description": "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\".",
  "publisher": "jeremylongshore",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding"
    ],
    "tags": [
      "skill-md",
      "skill-development",
      "audit",
      "validate-plugin",
      "skills-sh"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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\"."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "skills.sh",
      "repository": "https://github.com/jeremylongshore/tons-of-skills-marketplace",
      "path": "skills/.curated/validate-plugin/SKILL.md",
      "ref": "HEAD",
      "url": "https://github.com/jeremylongshore/tons-of-skills-marketplace/blob/HEAD/skills/.curated/validate-plugin/SKILL.md",
      "key": "jeremylongshore/tons-of-skills-marketplace/skills/.curated/validate-plugin/SKILL.md"
    },
    "compatibility": "Designed for Claude Code",
    "allowed_tools": [
      "Read,",
      "Bash(python3:*),",
      "Bash(jq:*),",
      "Bash(chmod:*),",
      "Glob,",
      "Grep"
    ],
    "license": "MIT"
  },
  "instructions": "# Validate Plugin\n\nFull plugin directory validator combining structural checks and content grading.\n\n## Overview\n\nRuns the complete validation pipeline against any plugin directory:\n\n1. `validate-all-plugins.sh` for structural validation (plugin.json, file refs, permissions)\n2. `validate-skills-schema.py` for content validation with 100-point grading\n\n## Prerequisites\n\n- Python 3 with `pyyaml` installed\n- `jq` available on PATH\n- Run from the claude-code-plugins repository root\n\n## Instructions\n\n1. Identify the target plugin directory (must contain `.claude-plugin/plugin.json`)\n2. Run structur",
  "cost": {
    "context_tokens": 502
  }
}

Fetch it by URL: GET /api/v1/registry/jeremylongshore-tons-of-skills-marketplace-validate-plugin/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.