validate-structure

Installation
SKILL.md

Validate Structure

"A plugin that does not follow the spec is not a plugin -- it is a folder with aspirations."

Validates that a Claude Code plugin's directory tree conforms to the official specification. Detects missing directories, misplaced files, naming violations, path traversal risks, and script permission issues.


Procedure

Step 1 -- Locate Plugin Root

  • Search for plugin.json at the provided path (official spec location).
  • If not found at root, check .claude-plugin/plugin.json (legacy location). Report INFO: plugin.json found at legacy .claude-plugin/ path if found there.
  • If not found at either location, report CRITICAL: No plugin.json found -- not a valid plugin root.
  • Record the plugin root path for all subsequent steps.

Step 2 -- Validate Plugin Root Contents

Installs
1
GitHub Stars
2
First Seen
Sep 4, 2026