By gagoar
Check a Claude Code plugin against what the plugin directory's upload scan holds plugins for, before you upload it.
npx claudepluginhub gagoar/plugin-directory-preflightCheck a Claude Code plugin against what the plugin directory's upload scan holds plugins for, before you upload it.
Check a Claude Code plugin against what the plugin directory's upload scan holds plugins for, before you upload it.
The scan cannot be run locally. It reports only the first match in path order, so each fix reveals the next hold, and every try costs a release, an upload and a long report. This plugin front-loads what was learned getting one plugin through that scan (17 releases), so the next one takes one or two uploads.
/plugin marketplace add gagoar/plugin-directory-preflight
/plugin install plugin-directory-preflight@plugin-directory-preflight
/reload-plugins
Ask Claude to run the preflight before you upload a plugin, or when a scan reports a hold:
Run the plugin directory preflight on this repo.
The skill /plugin-directory-preflight:check then does five things:
plugin/ subdirectory, and checks that the repo has the current gate.claude plugin validate --strict, and fixes every hit in one pass.All are plain Node (22.6 or later), no dependencies. Run them as node scripts/<name>.ts.
| Script | What it does |
|---|---|
check-plugin-safety.ts | The gate. Run it in CI and before an upload. |
install-gate.ts | Copies the gate and a CI workflow into a plugin repo; --check reports drift. |
read-report.ts | Turns a scan report into a screenful: holds, the file named, what sorts before it. |
make-probe.ts | Builds the throwaway probe repo and narrows a hit slice by slice to one line. |
The gate fails on things the upload scan holds plugins for review over:
./, not a PNG or JPEG, not square, outside 512 to 2048 px,
over 10 MiB, missing at the declared path, differing in letter case from the file, or outside the plugin. This is
not a scan hold. An icon file that plugin.json does not name, and a plugin with no icon, print a warning and do not
fail. A stylesheet that names an image or a font in the repo prints a note. --no-icon skips the
icon check for a throwaway plugin.skills/check/references/scanner-rules.md explains each one and how the scan moves from file to file.
This plugin collects nothing and makes no network calls. Its scripts read files in the directory you point
them at and write only where you tell them to (the gate and workflow in install-gate, the probe folder in
make-probe). Claude Code handles your session under Anthropic's own terms and privacy policy.
Provided under the MIT license, as is, without warranty. The gate is an approximation built from observed behavior, not the directory's scan; a clean run does not guarantee a clean report. For help or to report a problem, open an issue at github.com/gagoar/plugin-directory-preflight/issues.
MIT. See LICENSE.
7-day visitors to each marketplace page
RuFlo Marketplace: Claude Code native agents, swarms, workers, and MCP tools for continuous software engineering
Claude Code marketplace entries for the plugin-safe Agentic Awesome Skills library and its compatible editorial bundles.
Directory of popular Claude Code extensions including development tools, productivity plugins, and MCP integrations