From specced
Bootstrap the specced agentic coding setup into the current repository. Detects the stack with `specced detect`, interviews the user, runs `specced init --preset` for mechanical scaffolding, then authors the project-specific CONSTITUTION, coding rules, code-review dimensions, MCP servers, and Makefile verification vocabulary. Use when the user wants to set up specced, the proof loop, or this agentic workflow in a new or existing repo.
How this skill is triggered — by the user, by Claude, or both
Slash command
/specced:specced-bootstrapThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
You are setting up the **specced** agentic coding setup in a repository.
You are setting up the specced agentic coding setup in a repository.
Work splits in two, and you must respect the split:
specced CLI does the mechanics — installs the vendored proof-loop engine,
the four project agents, the managed guide blocks, and (via presets) prefilled
Makefile targets, per-track rule/review stubs, and .mcp.json. Deterministic and
idempotent. Let it do this; don't hand-write what it installs.CONSTITUTION.md, .claude/rules/**, .claude/code-review/**, and the
precise verification commands.Never fabricate project facts. Detect → ask → write. Everything stays in the repo.
specced version. If missing, tell the user to install it and run
commands as uvx --from <source> specced … meanwhile:
uv tool install specced (once published), oruvx --from git+https://github.com/NoroSaroyan/specced specced version, oruv tool install /path/to/specced.specced status — if already initialized, this is a re-run: read
.specced/config.json, fill only gaps, don't clobber authored content.Run specced detect. It returns languages, frameworks, tracks, infra (databases,
migrations), CI, a suggested preset, suggested MCP servers, and candidate
verification commands. Read it and show the user a 5–10 line summary. This makes the
interview short — you confirm detections instead of asking blind. Read a few key files
yourself (the existing Makefile, package.json scripts, any docs/ conventions) to
sharpen the picture, especially for monorepos where one preset won't cover every track.
Use AskUserQuestion, batched into a few rounds. Lead every question with the detected
default as the recommended option. Cover:
Makefile targets
and the proof loop's acceptance-criteria vocabulary, and the Stop-hook (make fmt lint).specced status lists the catalog). → .mcp.json.specced list-skills; pick which to install.Three or four well-batched rounds is plenty.
Run from the repo root:
specced init --preset <name> (pick from specced presets, or
--preset auto to use detection). This installs the engine + agents + managed
blocks, prefills the Makefile, stubs per-track rules + review dimensions, and
composes .mcp.json.specced add-mcp <names…> (e.g. sentry playwright).make fmt lint: pass --format-cmd "…".specced init --minimal, then author all Layer-2 yourself.init also writes the agent-experience layer: a permission allowlist
(.claude/settings.local.json) pre-authorizing the verify commands, a machine-readable
.specced/checks.json, a generated .specced/repo-map.md, and an orientation block in
CLAUDE.md/AGENTS.md. Read the JSON result — it lists exactly what was created vs skipped.
Replace skeletons with real, enforceable content informed by Steps 1–2:
CONSTITUTION.md — resolve every TODO(specced); state real invariants, budgets,
policies; cut what doesn't apply. Mark each invariant enforced-today (Critical) vs
direction (new code only), checked against the actual code, so the gate doesn't flag
healthy existing code..claude/rules/<track>/*.md — fill each stub: one-line, imperative, checkable
rules with good/bad examples from the actual code, and how a reviewer verifies each..claude/code-review/NN-*.md — fill each dimension; cite a constitution clause
or rule file; complete the always-critical list.Makefile — confirm the prefilled commands are correct for this repo (fix
monorepo paths, e.g. cd backend && …). make verify must actually work..mcp.json / .claude/settings.json — confirm servers and the Stop-hook.Match the repo's style. Cite real paths and commands, never placeholders.
specced add-skill <name>, then adapt their
TODO(specced) markers to this stack and .claude/rules/.new-domain-skill skill to scaffold one
under .claude/skills/ with runnable steps.capture-rule so a later user correction becomes a saved rule/ADR instead
of a repeated mistake.specced doctor — resolve any failing check (hints say specced init/sync), and
read its warnings: they flag CONSTITUTION.md/rules still carrying TODO(specced)
stubs (not yet authoritative). Clear them.TODO(specced) markers, no empty rule tracks, make verify
is real.init <TASK_ID>.<!-- repo-task-proof-loop --> blocks.Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub norosaroyan/specced --plugin specced