Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By kwcantrellv0.4.0MITIn 1 marketplace
Builds software-factory plugins the convention's way: scaffolds a plugin from the template, checks plugins against the CLI convention with a fix for every finding, and runs a plugin's full verification gate.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Helps Claude agents build plugins for the software-factory marketplace right the first time. Its
TypeScript CLI scaffolds a plugin from the template, checks plugins against the repo's CLI
convention with a fix for every finding, and runs one plugin's full verification gate. Its
build-plugin skill walks an agent from an idea to a passing plugin. The factory- prefix keeps
its name apart from other marketplaces' plugin builders, so both can be installed.
The convention itself lives in the repo's CLAUDE.md ("Plugin layout" and "CLI convention"); this plugin applies it, it does not redefine it.
Install it from the marketplace (it needs Node.js 22.18+):
/plugin install factory-plugin-builder --marketplace kwcantrell/software-factory
The CLI works on the software-factory checkout containing the current directory (the nearest
ancestor whose .claude-plugin/marketplace.json is named software-factory), or on --repo <path>. Outside one it exits 2. Skills call it as
npx --yes --offline --loglevel=error --package="${CLAUDE_PLUGIN_ROOT}" -- factory-plugin-builder <command> [args] --json
and from a checkout you can run it directly with node plugins/factory-plugin-builder/src/cli.ts <command>.
| Command | What it does |
|---|---|
new <name> [--description <text>] | Copies templates/plugin/ to plugins/<name>/, replaces the token plugin-template in every file and path, sets the description in plugin.json, sets version in plugin.json and package.json to the version the marketplace's plugins share (one repo version; the highest if they differ, the template's own when the marketplace lists none), so the new plugin passes factory-dev check without hand edits, and appends {"name","source","description"} to marketplace.json. The name must be kebab-case (^[a-z][a-z0-9]*(-[a-z0-9]+)*$, at most 64 characters): exit 2 otherwise; exit 1 if the folder or the marketplace entry already exists. Nothing is written in either case. --json prints {"name","path","marketplace","description"}. The root npm run new-plugin -- <name> runs this same command. |
check <name>... | --all | Checks plugins against the convention (below). Exit 1 on any finding, with each finding on stderr as <file>:<line>: [<rule>] <problem> and a fix: line; exit 0 and {"plugins":[...],"findings":[]} when clean. --all checks every folder in plugins/ and every marketplace entry. |
verify <name> | From the checkout root: check <name>, claude plugin validate plugins/<name>, claude plugin validate ., npm run typecheck, and node --test plugins/<name>/test/**/*.test.ts (the root npm test, limited to this plugin). Every step runs; their output streams on stderr. Prints each step as pass, fail or skipped (skipped only when claude is not on the PATH) and exits 1 if any failed. --json prints {"plugin","ok","steps"}. |
Exit codes: 0 success, 1 the command failed (findings, a failing step, a taken name), 2 a usage error or not inside a software-factory checkout. On a non-zero exit stdout is empty and the reason is on stderr.
check appliesBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub kwcantrell/software-factory --plugin factory-plugin-builderPlugins from other owners that cover similar ground