/claude-md-kit:claude-md-new [optional context, e.g. 'monorepo, deploys to Fly.io']from CLAUDE.md Kit
Scaffolds a CLAUDE.md for the current repo using battle-tested templates, auto-detecting project type and extracting real commands from manifests and CI.
Ships in CLAUDE.md Kit. Installing the plugin adds it to Claude Code.
Create a CLAUDE.md at the root of this repository. Follow these steps exactly.
If a CLAUDE.md (or AGENTS.md) already exists at the repo root, do NOT overwrite it.
Tell the user it exists and suggest /claude-md-audit instead, then stop — unless they
explicitly asked for a rewrite in their arguments.
Inspect the repo before writing anything:
package.json (scripts!), pyproject.toml, Cargo.toml, go.mod,
Makefile, justfile, Taskfile.yml, docker-compose.yml, CI workflows in
.github/workflows/ (CI is the ground truth for how the project is really built
and tested)..env.example, database migrations.Every command you put in the CLAUDE.md must be one you found in a manifest, CI file, or README — never invented. If you cannot find a test or run command, say so in the file ("no test runner configured") rather than guessing one.
Read ${CLAUDE_PLUGIN_ROOT}/CLAUDE.starter.md for the structure. Then read the ONE
bundled example closest to this project and use it as the register/altitude reference:
${CLAUDE_PLUGIN_ROOT}/examples/CLAUDE.nextjs-saas.md${CLAUDE_PLUGIN_ROOT}/examples/CLAUDE.python-cli.md${CLAUDE_PLUGIN_ROOT}/examples/CLAUDE.rust-service.md${CLAUDE_PLUGIN_ROOT}/examples/CLAUDE.autonomous-agent.mdRules (from ${CLAUDE_PLUGIN_ROOT}/FIELD-GUIDE.md — read it if unsure):
src/domain/; run pnpm test <file>
for one test" — never "write clean code".Write the file, then show the user a 3-line summary of what you put in it and mention anything you could not determine (e.g. "no e2e command found — add one if it exists").
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
2 commands in this plugin
npx claudepluginhub davepoon/buildwithclaude --plugin claude-md-kitOther plugins' commands for the same job