agentleFS
ApurvBazariApurvBazari/claude-plugins/.claude/skills/validate/SKILL.md

validate

Skill0 starsChanged 2 months agoMITView on GitHub

Validate all plugins for structure, manifests, references, shell scripts, and markdown conventions

  • Installs packages

37 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use explore, plan and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • genomewalkerSkill

    explore

    RLM-style recursive memory exploration - dynamically navigate the memory graph

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 10 projects that use this

  • MicrosoftSkill

    worktree

    Create, reuse or clean up a dedicated git worktree for working on a pull request or a private branch. Use from any PR-scoped workflow that needs an isolated checkout to keep current code and build output untouched.

    Also in 3 projects that use this

  • Hugging FaceSkill

    implement

    Make tests pass. Invoke after /write-tests produces failing tests.

    Also in 6 projects that use this

  • AnthropicSkill

    status

    Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.

    Also in 4 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 8 projects that use this

The file

We split this skill into the rules it gives an agent

8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 33 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run all quality checks across every plugin in the marketplace.

    line 8
  2. Very specific:

    Read .claude-plugin/marketplace.json to get the list of registered plugins.

    line 12
  3. Very specific:

    Run shellcheck on all .sh files across all plugins and .claude/hooks/.

    line 50
  4. Very specific:

    If shellcheck is not installed:

    line 52
  5. Distinctive:

    Do NOT report as FAIL

    line 54
  6. Distinctive:

    If installed, report any ShellCheck errors as WARN (not FAIL — scripts may have intentional suppressions).

    line 56
  7. Distinctive:

    If any category is FAIL, overall is FAIL.

    line 87
  8. Distinctive:

    Run all checks — don't stop at the first failure

    line 91

“Common” is measured: kept by at least 6 in 10 of the 33 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/validate — Plugin Validation

Run all quality checks across every plugin in the marketplace. Reports PASS/WARN/FAIL per category.

Step 1: Identify Plugins

Read .claude-plugin/marketplace.json to get the list of registered plugins. For each plugin, extract the source path.

Step 2: Structure Check

For each plugin directory, verify:

  • .claude-plugin/plugin.json exists
  • README.md exists
  • At least one of skills/, commands/, agents/ exists

Report missing items as FAIL.

Step 3: Manifest Validation

For each plugin.json, verify:

  • Valid JSON syntax
  • Required fields present: name, version, description, author, license, keywords
  • name matches the plugin directory name

Report missing/invalid fields as FAIL.

Step 4: Version Sync

Compare each plugin's plugin.json version with its marketplace.json entry:

  • Versions must match exactly
  • Both must be valid semver

Report mismatches as FAIL.

Step 5: Reference Integrity

For each skills/*/SKILL.md, check if the skill directory has a references/ subdirectory. If it does, verify every .md file in it exists and is non-empty.

For each agents/*.md, check for any script references (paths to .sh files). Verify those scripts exist.

Report broken references as FAIL.

Step 6: ShellCheck

Run shellcheck on all .sh files across all plugins and .claude/hooks/.

If shellcheck is not installed:

  • Report as WARN: "ShellCheck not installed — skipping script validation. Install with: brew install shellcheck"
  • Do NOT report as FAIL

If installed, report any ShellCheck errors as WARN (not FAIL — scripts may have intentional suppressions).

Step 7: SKILL.md Section Check

For each SKILL.md, verify:

  • H1 title exists (line begins with # followed by descriptive text)
  • H1 does NOT use the /<plugin>:<skill> slash form — per .claude/rules/skills-authoring.md, the slash is derived from frontmatter name, not the H1
  • Has a ## Key Rules section (or similar closing constraints section)

Report violations as WARN.

Step 8: Report

Present a summary table:

Plugin Validation Report
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  Category              Status
  ─────────────────────────────
  Structure             PASS | FAIL (details)
  Manifests             PASS | FAIL (details)
  Version Sync          PASS | FAIL (details)
  Reference Integrity   PASS | FAIL (details)
  ShellCheck            PASS | WARN | SKIP
  SKILL.md Sections     PASS | WARN (details)

  Overall: PASS | FAIL

If any category is FAIL, overall is FAIL. If only WARNs, overall is PASS with warnings.

Key Rules

  • Run all checks — don't stop at the first failure
  • Distinguish FAIL (structural violation) from WARN (advisory)
  • ShellCheck not installed is a WARN, not a FAIL
  • Report per-plugin details for any failures, not just aggregate counts
  • A partially-created plugin (in progress) should get WARN for missing structure, not FAIL

Next: documentation audit

Structure is only half the picture. After /validate passes, run /doc-audit to verify the human docs match what's shipped (per-plugin Skills sections, root command index, manifest/desc sync, docs-site parity).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.