/directory-readiness:plugin-readinessfrom directory-readiness
Guides building and validating Claude plugins against the directory submission checklist, security policy, and portal review levels (BLOCK/HOLD/WARN).
Ships in directory-readiness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read-only. Say whether a plugin folder will pass the Claude directory validator and review, and what to fix first. Levels match the portal: BLOCK (cannot submit), HOLD (submits, but a reviewer must clear it before it goes live), WARN, NOTE.
When you create a plugin, build it to pass from the first commit. Do not leave it for a later audit.
claude-, anthropic-, anthropics- or cc-plugin-, and must not be one of the reserved words or a generic name like test-plugin. Run /plugin to check that no listing already uses it.<name>/.claude-plugin/plugin.json holds name, version (semver; raise it every release), description, author.name and license. Components go in skills/<skill>/SKILL.md, commands/, agents/ and hooks/hooks.json, spelled exactly like that. Everything the plugin runs lives inside its own folder./plugin install <name> --marketplace <owner>/<repo>. Add a privacy section, and link a privacy policy if the plugin collects data or calls a remote service..claude-plugin/icon.png, 512-2048 px and under 2 MB. The portal reads it only once, at first save.${CLAUDE_PLUGIN_ROOT}. Don't use other variables, $(...), wildcards or python3 -c. Pin launchers exactly ([email protected]). Remote servers use https://. Credentials go through userConfig with sensitive: true, never in files. A hook that runs a non-shell file such as python is always held for review, so tell the user before you choose that design.skill-readiness checklist.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check.py" <new-plugin-dir> and claude plugin validate <new-plugin-dir> (when claude is on the PATH). Fix every BLOCK. List each remaining HOLD and WARN in the report with its reason. If the repo has a marketplace.json, add the plugin to it and validate the marketplace folder too..claude-plugin/plugin.json. A marketplace repo is several submissions: check each plugin, one per report section.python3 "${CLAUDE_PLUGIN_ROOT}/scripts/check.py" <plugin-or-marketplace-dir>. It covers every deterministic rule in the table below. Exit 1 means at least one BLOCK. If claude is on the PATH, also run claude plugin validate <dir> (well-formedness only).skill-readiness for deeper SKILL.md review when skills have findings.| Area | Rule | Level |
|---|---|---|
| Manifest | .claude-plugin/plugin.json exists | BLOCK |
| Name | lowercase, digits, hyphens, <=64, alnum at both ends; non-ASCII BLOCKs, other breaks WARN | BLOCK/WARN |
| Name | not exactly claude, anthropic, official, plugin, mcp, test; generic (test-plugin) or brand-like held | BLOCK/HOLD |
| Name | not starting claude-, anthropic-, anthropics-, cc-plugin-; not claude-code/claude-mods; no official beside claude/anthropic (from claude plugin validate) | BLOCK |
| Icon | icon or .claude-plugin/icon.png: square PNG/JPEG, 512-2048 px, <2 MB, no SVG/WebP; set once on first save | WARN |
| Manifest | description, author, version present; component keys not misspelled or inside experimental; no .. paths | WARN/BLOCK |
| Manifest | hooks/hooks.json not listed in hooks (auto-loaded) | WARN |
| Docs | README in plugin folder, 40+ words outside code blocks; LICENSE file or license field | BLOCK |
| Files | no .DS_Store/Thumbs.db/desktop.ini/__MACOSX, symlinks, submodules, LFS pointers, Windows-invalid or case-colliding names | BLOCK |
| Files | file >5 MiB or repo >256 MiB unpacked | BLOCK |
| Files | non-image/font file >256 KiB, >512 files, uninspectable binaries, minified JS | HOLD |
| Git | no export-ignore/export-subst/filter in .gitattributes at or above the plugin | BLOCK |
| Launchers | npx/uvx/bunx pinned exactly ([email protected], pkg==1.2.3); uv run --locked; pinned still held | BLOCK/HOLD |
| Packages | .npmrc/bunfig.toml/uv.toml registry config; package.json + lockfile | HOLD |
| Commands | hook and MCP paths from ${CLAUDE_PLUGIN_ROOT} only; no other vars, $(...), wildcards, python3 -c | BLOCK |
| Commands | hooks or MCP running a non-shell file (python, node) or a shell script that runs launchers or variables | HOLD |
| MCP | .mcp.json parses; remote type http/sse/ws; url https/wss or ${user_config.KEY}; no secrets in headers | BLOCK |
| MCP | .mcpb/.dxt bundle held; fetched from a URL BLOCKs | HOLD/BLOCK |
| Hooks | hooks.json parses, has hooks or modules; HTTP hooks https and send no local credential | BLOCK |
| Skills/commands/agents | front matter parses; description is one text value; !-backtick lines held | BLOCK/HOLD |
| Secrets | no real credential in any file, docs and examples included; use userConfig with sensitive: true | BLOCK |
| Apps | hooks and agents ignored in Chat; local MCP ignored in Chat; top-level bin/ refuses the whole plugin in Chat and Cowork | NOTE/WARN |
~/.claude/projects transcripts is a likely reject. Say so plainly.name, displayName and author.name must not read as Anthropic's or another brand's. A fork gets its own name.## <plugin>: READY | HELD FOR REVIEW | NOT READY
Blocks (fix before submit)
- <title> [<path>]: <fix>
Holds (reviewer must clear)
- <title> [<path>]: <why held> -> <how to avoid, or "expected; explain in README">
Warnings
- ...
Judgment
- Disclosure: <undisclosed behavior | all disclosed>
- Data/policy: <finding | none>
- README gaps: <privacy link | support | 3 examples | troubleshooting>
Runs in: Chat <yes/partial/no> · Cowork <...> · Claude Code <...>
## Portal answers (draft)
Reads or stores personal data: <yes/no + what>
Sends data to services other than declared connectors: <yes/no + where>
Retention: <...>
Intended for under-18s: <no unless stated>
## Not checked
Portal-side: name availability, cross-org duplicates, brand look-alikes, security scan.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub ashishyd/ashish-claude-skills --plugin directory-readiness2 skills in this plugin