claude-plugins
CLAUDE.md1 starsChanged 2 months agoMITView on GitHub
- ALWAYS ask user before running a p:i:release, p:plugins:release or p:site:release task — the one exception is a plan folder whose After landing table records that release as run, consented at its interview - Docs ship with the change. Any change to plugin behavior must reconcile readme.md, this file, and the manual under site/src/content/docs/ in the same commit — stale docs are more harmful than no docs A multi-agent plugin toolkit (virajp-plugins) containing MCP servers and vwf — a full…
- Installs packages
In this repository6 other files it gives its agents.
- installer/CLAUDE.mdCLAUDE.md
- site/CLAUDE.mdCLAUDE.md
- plugin-authoringSkill
- releaseSkill
- stackgen-pluginSkill
- vwf-pluginSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
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
- Very specific: line 5
ALWAYS ask user before running a p:i:release, p:plugins:release or p:site:release task — the one exception is a plan folder whose After …
- Very specific: line 147
Run in plugins.yml (never in release.yml, which is the installer's and whose trigger surface must stay untouched, and never in site.yml, …
- Distinctive: line 290
Every plugin is pinned to its own tag in the marketplace manifest, which is what decouples merged from released.
- Very specific: line 344
Create plugins/<name>/.claude-plugin/plugin.json with name, version (what an install pins to.
- Very specific: line 347
Run mise run p:plugins:marketplace and stage the result.
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md
Rules
- ALWAYS ask user before running a
p:i:release,p:plugins:releaseorp:site:releasetask — the one exception is a plan folder whose After landing table records that release asrun, consented at its interview - Docs ship with the change. Any change to plugin behavior must reconcile
readme.md, this file, and the manual undersite/src/content/docs/in the same commit — stale docs are more harmful than no docs
What This Repo Is
A multi-agent plugin toolkit (virajp-plugins) containing MCP servers and vwf
— a full Product → Blueprint → Plan → Execute workflow plugin (with post-deploy
verify + production-feedback intake).
The repo also ships a small installer CLI (@virajp.dev/claude-plugins),
which sequences Claude's own plugin commands and wires graphify — see The
installer CLI.
It also ships the website (site/) — the Astro build of the user manual,
published at https://claude-plugins.virajp.dev — see Four projects, four
homes.
Four projects, four homes
This file is the repo-wide map. Each project carries its own context, rules and traps, loaded the moment you work in its tree — look there first, and put a project-specific fact there, not here:
| Project | Context lives in | Loads when |
installer/ | installer/CLAUDE.md | Claude reads or edits installer/ |
plugins/vwf/ | .claude/skills/vwf-plugin/ | editing plugins/vwf/** |
plugins/stackgen | .claude/skills/stackgen-plugin/ | editing plugins/stackgen/** |
site/ | site/CLAUDE.md | Claude reads or edits site/ |
The two plugin homes are path-scoped skills rather than nested CLAUDE.md files
on purpose: plugins/<name>/ is the installed shape, so a file there ships to
every user and is scanned by p:plugins:check's prose rules. The installer and
site trees are not shipped (npm publishes bin/ alone, and the site deploys
only its build output), so their context can sit in place.
Where the detail lives
Each row below is loaded on demand — follow the link when you need more than
the summary here. The .claude/skills/ rows also auto-apply the moment you edit
the tree they govern; release is a slash command; a change to this repo is
planned with /vwf:plan (a blueprint slice) or /vwf:change-plan (anything
else), each of which commits and pushes the approved folder on the branch it
was planned on together with its row in docs/plans/index.md's one table,
and run, in a fresh session, by the one executor, /vwf:execute <folder> — or
/vwf:execute next, which reads that table alone, of either kind, and picks the
runnable plan with the lowest Priority value — which refuses a folder that is
not on that branch, claims the row RUNNING with a pushed commit before it cuts
a worktree, and marks it COMPLETE once the merge lands (archiving the folder
there and re-pointing the row when no gap is open; leaving it live when one is,
archived once you ask) — each plan folder carries this repo's gate lines, and
mise run p:plugins:local and /release as after-landing steps, each carrying
run or ask as the interview recorded: /vwf:execute runs the run steps on
a green landing without a prompt and stops once before each ask step.
| Read | For |
.claude/docs/repo-shape.md | the one authored tree, what the installer writes, the mise tasks, the traps |
.claude/docs/plugins.md | the full plugin inventory, the native manifest shape, the generated marketplace manifest |
.claude/docs/ci-and-releases.md | the mise environments, the branch model, the three tag families, the workflows, the rituals |
.claude/docs/dev-marketplace.md | running the plugins you are editing — setup, the refresh loop, and why update is not it |
installer/CLAUDE.md | the installer — flags, the read-only receipt path, the interactive uninstall, testing |
site/CLAUDE.md | the website — the tree, the link rule, the gate, the release model, the design source, traps |
.claude/skills/vwf-plugin/ | vwf's own shape — skills, agents, assets, hooks, adding a skill, the docs tree it maintains |
.claude/skills/stackgen-plugin/ | stackgen's own shape — the dispatch rule, packs and bundles, where output lands, consent |
.claude/skills/plugin-authoring/ | the fifteen checker rules, the invocation frontmatter, the plugin-root trap, dprint exclusions |
.claude/skills/release/ | the release ritual, the note format, the CI facts that make a failed publish legible |
site/src/content/docs/plugins/vwf.md#vwfchange-plan | planning a change to this repo with the ad-hoc planner — the interview, the folder; running it is /vwf:execute — waves, the gate, after-landing steps; the how-to is how-to/operate/ad-hoc-change.md. A blueprint slice is the guarded planner, #vwfplan, run by the same #vwfexecute — the same folder shape and index |
The user-facing docs are a different tree and a different audience: readme.md,
and site/src/content/docs/{installer,plugins,how-to}/, published as the
website at https://claude-plugins.virajp.dev.
One authored tree
Plugins are authored natively for Claude Code, once, and installed by Claude's own plugin commands. What you edit is exactly what a user gets:
plugins/<plugin>/ the authored source, and the installed shape
.claude-plugin/plugin.json the manifest
skills/ agents/ hooks/ assets/ stacks/ vendor/
↓ scripts/src/marketplace.ts
.claude-plugin/marketplace.json generated at the repo root, committed
.dev-marketplace/ generated too — the authoring machine's, gitignored
installer/src/** installer source (TypeScript)
↓ tsup
bin/installer.mjs gitignored build output — the published entrypoint
scripts/src/** repo tooling: the generator and the checker
sunset/** the retired @askviraj/ai-plugins stub — standalone, never built, published by hand once
site/** the website (Astro) — src/content/docs/ is the user manual
↓ astro build + pagefind
site/dist/ gitignored build output — deployed on a site-v* tagTwo files are generated, both projections of the same 2 plugin manifests and
differing in exactly one field per entry — source:
| File | Is |
.claude-plugin/marketplace.json | published — what users read from main. git-subdir at a per-plugin tag, so a merge ships nothing until p:plugins:release cuts it |
.dev-marketplace/.claude-plugin/marketplace.json | local authoring only, gitignored and never published. Repo-relative sources into .dev-marketplace/plugins/, the staged copies p:plugins:local writes under X.Y.Z+N, so this machine runs the working tree |
The dev marketplace is what lets the toolkit be used before it is published
— without it, the author runs the last release and a plugin edited today reaches
nobody, including them. Both declare the same marketplace name, which is
load-bearing: a plugin's dependencies edge names its marketplace by name, so
vwf installed from a differently-named one would send its stackgen edge back
to the tagged marketplace and fail on a tag that does not exist yet. A machine
registers one or the other, never both. Setup and the refresh loop are
.claude/docs/dev-marketplace.md.
Note the three neighbours that read confusingly: .claude-plugin/ is the
published manifest, .dev-marketplace/ is the local one, and .claude/ is this
repo's own skills, docs, agents and worktrees. None of them is plugins/.
The template layer and the four render trees this replaced, and the receipts the
installer no longer writes, are in repo-shape.md.
Tasks
Run in plugins.yml (never in release.yml, which is the installer's and whose
trigger surface must stay untouched, and never in site.yml, which is the
website's); the first five also run locally via pre-commit, with marketplace,
inventory and check in that order — freshness before validity:
p:plugins:marketplace— generates both marketplace manifests from the 2 plugin manifests, plus the.dev-marketplace/plugins/staging directory the dev sources resolve into;--checkfails if the committed file differs, or if that path is the retired symlink.p:plugins:inventory— generatesplugins/stackgen/stacks/inventory.mdfrom the stacks tree, so no pack, bundle or kind count is ever typed by hand;--checkfails if the committed file differs. Generation itself fails a bundle whose<type>/<slug>@<version>pin is malformed, names no pack, or pins a version that pack no longer carries —@generatedrefs name no pack by design and are skipped.p:plugins:check— validates the authored tree, fifteen rules: the manifest (rule 1 refuses a version with a 13 or 17 component), a pack'sconfig/payload and eachstackgen:tool-configasset tree (rule 11), no plugin-relative citation in anything that lands (rule 13), onedefault: truebundle per axis per platform (rule 14), and one formatter exclusion set with gitleaks' allowlist a subset of it (rule 15). Each rule in full is theplugin-authoringskill'sreferences/checks.md.p:plugins:shellcheck— the shell gate over everything a pack ships as shell:shellcheck -xplusshfmt -dover the pack task libraries and their_scripts/*, and a second pass overhooks/*.shwith no flags, since a hook lands without its helper library beside it and may declaresh.p:plugins:npm-normalize-test— table-tests thenpm-normalize.shhook through the system sed, for both package managers.vitest run— thescripts/andinstaller/suites.tsc --noEmitper TypeScript project —installer/andscripts/.p:site:check— the website's gate:astro check,p:site:build(Astro plus the pagefind index), then the link checker oversite/dist/**/*.htmland the markdown mirror it also emits (dist/**/*.md,llms.txt,llms-full.txt, plus each page's markdown alternate link). Runs insite.yml, notplugins.yml, and not in pre-commit. Beside it:p:site:dev,p:site:build,p:site:icons(rasterizes the committed favicon set, by hand when the mark changes),p:site:versionandp:site:release.
Beside them the local gate runs three tool-neutral hooks — format, lint
and sec — each of which calls a mise task (code:format --fix,
code:lint --fix, code:sec --staged) rather than a tool. dprint, shfmt,
shellcheck, actionlint, the house linter and gitleaks are configured once,
inside those tasks; no hook names a binary. This repo takes the same shape
stackgen:tool-config lands, so its own commits prove the hook-to-task path.
graphify's graph is refreshed the same way: a graphify-refresh hook at the
post-commit stage runs code:graph, in place of graphify's raw git hooks.
What each rule asserts, and what the checker deliberately no longer checks, is
in repo-shape.md.
Traps worth knowing
- Only the published manifest is committed.
.dev-marketplace/,bin/,site/dist/,site/.astro/and the per-packagedist/are gitignored. The published manifest is meant to be diffed in review; a bundle diff is noise, and a second committed file declaring the marketplace namevirajp-pluginsis a footgun on the branch users read. Sop:plugins:marketplace --checkreports an absent dev manifest as not applicable — the normal state in CI and in a fresh clone — and a present but stale one as a failure. claude plugin marketplace addneeds a path that looks like one.add .dev-marketplaceis rejected with "Invalid marketplace source format";add ./.dev-marketplaceworks. The leading./is not optional.CLAUDE.md,installer/CLAUDE.md,site/CLAUDE.mdandreadme.mdare dprint-formatted, so widening one table cell re-pads every row.plugins/**/*.mdis not formatted — match the surrounding fold width by hand.**/*.astrois dprint's, via the markup plugin, and is ignored by the linter in.config/linter.yaml: the linter has no Astro parser. There is no pre-commit argument list to exclude it from any more — thelinthook callscode:lint, which runs the house linter over the whole tree, so every linter exclusion lives in.config/linter.yamland nowhere else.plugins/*/stacks/*/*/config/is excluded whole, and the reason is not style. That tree is payload: it is copied byte-for-byte into a target repo, where the dprint configstackgen:tool-configlands formats it — and that config deliberately omits thebracketSpacing/braceSpacingthis repo sets. Format a payload file here and a freshly initialised repo fails its own first hook run on a file nobody touched. The exclusion is on the directory, so a new payload file type cannot silently re-acquire the defect. When a payload file needs formatting, run the shipped config over it, never this repo's.- The authoring traps — strict-YAML frontmatter dropping a skill silently, the
dprint exclusion, and
${CLAUDE_PLUGIN_ROOT}naming only its own plugin — are in.claude/skills/plugin-authoring/.
Plugins
Two plugins ship. Each row's linked home is authoritative; the cells are an index.
| Plugin | Is |
vwf | The flagship: the Product → Blueprint → Plan → Execute workflow, its subagents, init (the repo-shape orchestrator, reached through /vwf:setup), the two planners plan and change-plan, one executor execute, writing and running one plan folder shape, the guarded rtk hook, the two mempalace auto-save hooks, and two MCP servers. Names no technology. Depends on stackgen alone. → vwf-plugin |
stackgen | The principles-driven stack materializer — shipped packs for the covered path, a Context7-researched generator for the uncovered tail, and the repo's own toolchain manager, gates and hygiene since devtools dissolved into it. stackgen:tool-config owns the mise, dprint, pre-commit, gitleaks, grype, git, graphify and renovate configs, and a pack asks it for lines through tool-config: in its pack.yaml. /vwf:init lands them and writes its own hygiene assets. → stackgen-plugin |
Full inventory, the native manifest shape, and the generated marketplace
manifest: .claude/docs/plugins.md. Authoring doctrine that applies to
both — the checker rules, the two mise gates, the hook rules, the traps — is the
plugin-authoring skill, which auto-applies under plugins/.
The workflow runs setup → product → architecture → design-system →
blueprint → plan → execute, with verify and feedback closing the loop.
init is skill-invoked, reached only from setup (Step 0's offer, or
/vwf:setup reshape), and shapes the base repo and every member repo on one
consent. Architecture decides the stack and setup pins it. Everything up
to blueprint is done in full before planning. The ad-hoc planner
change-plan sits beside that line; both planners write one folder shape into
one plan index, and one executor, execute, runs both, each unit's Kind
deciding what runs over it. How init surveys, asks and adopts, what it records
in .config/vwf.yaml, the materialize pass, the ordering gates, the skill and
agent tables, and the dependency reasoning are the vwf-plugin skill.
The installer CLI
@virajp.dev/claude-plugins, run as pnpx @virajp.dev/claude-plugins …, does
three things: plugin installs as a thin wrapper that sequences Claude's own
marketplace registration and plugin install commands, graphify's wiring, and
--uninstall. It never edits Claude's settings itself and writes no
receipt. installer/ is the source; bin/ is the tsup output, is gitignored,
and is what npm publishes. The statusline is a separate package
(claude-status), not a plugin and not installed here.
It is the one-shot, not a repo's reconcile step. A repo shaped by
/vwf:init reconciles its own plugin set with the task library's setup:ai,
which runs claude plugin … and no package runner — so a machine that
registered virajp-plugins from ./.dev-marketplace is served by the same task
as one that registered it from the forge. Nothing calls this CLI from a task.
Everything else — the flag surface, the legacy-receipt reader, the interactive
uninstall, the GitHub token rule, testing — is installer/CLAUDE.md; the
user-facing reference is site/src/content/docs/installer/, published at
https://claude-plugins.virajp.dev/installer/.
CI & Releases
develop takes the work; main is what users read — Claude resolves the
marketplace against the default branch, so main stays default and PRs target
develop. main is merge-only, enforced by pre-commit locally and a ruleset
remotely. The landing model stackgen:tool-config lands is per branch —
MERGE_MODEL_DEVELOP and MERGE_MODEL_MAIN, direct or pr — but this repo's
own .config/mise/conf.d/env.toml still carries the legacy single
MERGE_MODEL, read as both, until its next /vwf:setup reshape. No release
task commits: all three tag what has already landed.
Every plugin is pinned to its own tag in the marketplace manifest, which is what decouples merged from released. Three tag families, all namespaced:
| Tag | Releases | Triggers |
<name>-v<version> | one plugin | nothing — refs resolve to it |
installer-v<version> | @virajp.dev/claude-plugins | release.yml → npm publish |
site-v<version> | the website | site.yml → wrangler deploy |
A tracked plugin version is always plain X.Y.Z — p:plugins:check fails one
carrying build metadata. The X.Y.Z+N the authoring machine runs between
releases exists only in the gitignored staged copies mise run p:plugins:local
writes, so claude plugin update sees each edit without a commit.
13 and 17 are never issued as a version component — the two plugin
manifests, the installer, the site, config_format, blueprint_format alike.
p:plugins:check refuses such a manifest; p:i:version and p:site:version
skip past the number — each computes its target first, stepping the bumped
component past a 13 or 17, then writes it in a single pnpm version call and
prints what it skipped, refusing before it writes anything when the level it was
given cannot reach the forbidden component; all three release tasks refuse
to tag one. The guard is four functions in .config/mise/tasks/_scripts/local,
this repo's own sidecar beside the pack-owned helpers, which no pack file may
source. Versions issued before the rule stand, and the +N staging counter is
not a component.
A release is two stages, and only the second reaches anyone else. Local
first — mise run p:plugins:local stages the changed plugins into the dev
marketplace and updates this machine's install, publishing nothing and cutting
no tag, so /vwf:execute takes it as the plan's first after-landing step — run
without a prompt on a green landing when the plan records it run, asked for
once when it records ask — and a staged plugin loads in the next restarted
session. Public second — the tags.
Ask the user before running p:plugins:release, p:i:release or
p:site:release — unless the plan folder being landed records that release as
a run step, consented at its interview.
The mise environment split, the four workflows and why deps-update.yml
dispatches rather than calls release.yml, the supply-chain settings and the
one-time npm setup are .claude/docs/ci-and-releases.md. The release
ritual itself is the release skill — run /release.
Hooks
What ships as a plugin hook today is vwf's only — the guarded rtk Bash hook
and the two mempalace auto-save hooks — and is the vwf-plugin skill's.
Two more scripts ship as stackgen pack payloads copied into a target repo
rather than discovered here, covered by the stackgen-plugin skill. The
three host rules that bite any hook — BSD sed, never in settings.json, the
per-event verdict shape — are the plugin-authoring skill's.
Adding a Plugin
- Create
plugins/<name>/.claude-plugin/plugin.jsonwithname,version(what an install pins to; plainX.Y.Z, bumped to ship changes) anddescription. - Run
mise run p:plugins:marketplaceand stage the result. - Give it a home: a path-scoped skill under
.claude/skills/<name>-plugin/, and a row in the two tables above.
There is no second place to register it: the marketplace manifest is generated from the manifests, so step 2 is the registration.
Installation (end-user)
# The wrapper: registers the marketplace and installs in one run
pnpx @virajp.dev/claude-plugins --all # vwf (+ stackgen) at user scope
pnpx @virajp.dev/claude-plugins --project <plugin-name> # into this repo
# Or Claude's own commands directly — the same thing, unsequenced
claude plugin marketplace add --scope user virajp/claude-plugins
claude plugin install --scope project <plugin-name>@virajp-pluginsAvailable plugin names: vwf, stackgen. Every one of them is authored here —
no name on this list is re-listed from another repo. (The statusline is not
among them and is not a plugin — it is a separate package,
brew install virajp/tap/claude-status.)
Installing vwf pulls in its dependency (stackgen) automatically from the
same virajp-plugins marketplace — no other marketplace needs to be registered.
mempalace is not a name here at all — its memory layer ships inside vwf, and
devtools is not one either — its toolchain and gate doctrine ships inside
stackgen. A machine that installed devtools before it dissolved must
uninstall it by hand (claude plugin uninstall devtools): an update simply
stops listing it as a dependency, leaving it enabled and its stale skills
shadowing the stackgen packs they moved into. The reasoning is
dependencies.md.
On a repo that has been shaped, the reconcile step is the repo's own.
mise run setup:ai — the task library's, and this repo runs the same one —
registers or refreshes virajp-plugins and installs or updates the plugins the
repo requires at project scope, through claude plugin … and nothing else.
It is idempotent, it never touches a user-scope plugin, and it works unchanged
on a machine registered from ./.dev-marketplace. The installer above is the
one-shot for a person; this is what a checkout re-runs.
Upgrading is claude plugin marketplace update virajp-plugins then
claude plugin update <name>. The manifest is served from this repo's
main, which plugins.yml validates on every push; each plugin's content
comes from the <name>-v<version> tag that manifest pins it to. So a merge to
main no longer reaches users — only a tag does, which is what
mise run p:plugins:release cuts. The marketplace update step is what picks
up new refs, and it is not optional: without it plugin update re-reads the
same pins and finds nothing.
Nothing is gated at install time, so the first thing to run afterwards is
/vwf:doctor — it is what reports a missing required binary, as a blocking
finding. On a repo that has never been shaped, run /vwf:setup — its Step 0
offers init, which lays down the config layout and the gates the rest of the
workflow assumes — in that repo and every member repo it has — and
/vwf:setup reshape runs that pass alone on a product that has drifted.
For other agents there is no marketplace and no rendered tree: point the
tool at this repo and ask it to adapt the plugin. readme.md's "Other tools"
section carries the prompts and states plainly what is and is not promised.
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
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.

