scope-spec · git:20261114.69256db · 2026-11-14 · sha256 dacd360b1b726357

scope-spec git:20261114.69256dbA

Immutable. This exact content never changes and is served at /api/v1/blob/dacd360b1b726357.

No tool to install first
claude plugin marketplace add https://markdownregistry.com/mp/a/art_oaupcfy5jgrlqr4y/dacd360b1b726357cea6a088d06a18599c02908cf227c0558e7fc6f1a83a92d0.json

Then /plugin install scope-spec@markdownregistry-oaupcfy5jgrlqr4y in Claude Code. It installs this exact version, the one graded A here, pinned to the commit it was graded at, and leaves it there.

---
name: scope-spec
description: >
  Writes a project spec in `docs/specs/`: a date and status header, then context, decision,
  consequences, design and open items. Use when asked to write the spec, the v1 design, a design
  doc, or a cross-cutting design change. Not for feature work (file an issue with `scope-issue`)
  or cutting milestones from a spec (use `cut-milestones`).
disable-model-invocation: true
---

## spec-style

- Read [spec-template.md](spec-template.md) before writing; follow its section order.
- Source: the conversation so far, plus any repo files or notes it names; never re-ask what it
  settles.
- A question the source leaves open → ask it with AskUserQuestion before writing; never guess.
- Write the answers into the spec.
- A Decision or Design point settled in an issue, MR or comment → end it with a link to it.
- A question the user cannot answer yet (needs research, a lab run, someone else) → an
  `## Open items` entry.
- Work that fits one issue → no spec.
- Its decision passes the test in `<base directory>/../build-issue/reference/decision-record.md`
  → a record in `docs/decisions/`, in its own docs MR, via `scope-issue` Decisions.
- Its decision fails that test → write it into the issue with `scope-issue`.
- Filename: `docs/specs/NNNN-<topic>-design.md`.
- `NNNN`: four digits, sequential, starting at `0001`.
- The date goes in the header, never the filename.
- Header: `**Date:**` and `**Status:**` lines. No branch name.
- Status: `Draft`, then `Accepted`, which is terminal; or `Superseded by <spec-file>`.
- File lists, test cases, rejected options and milestones → issues, topic docs,
  `docs/decisions/` or the ROADMAP; never the spec.
- Length: aim for about 1,500 words, counted with `wc -w`.
- Draft over 2,000 words → ask with AskUserQuestion which Design subsections to move to a topic
  doc, one option per subsection.