spec
Skill2 starsChanged 3 months agoMITView on GitHub
Start or resume a specification for a change to this codebase. Interviews the user one question at a time, writes spec.md to disk, then separately lists the organizational policies the change touches. Use when the user asks to spec out a change, write requirements, plan a feature before coding, or says /brownspec:spec.
96 other projects use a version of this.
Adopted by
Most recently taken up by
- garrytan/gstacktheir own version, first seen Oct 7, 2026
- MagicJosh/rastheir own version, first seen Oct 6, 2026
- morodomi/dev-crewtheir own version, first seen Oct 5, 2026
- heymegabyte/agent-skillstheir own version, first seen Oct 5, 2026
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- MicTx/spec-harnesstheir own version, first seen Oct 4, 2026
Used with
Projects with it also use tickets, make-pdf and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
toveruxSkilltickets
Break a spec, plan, or the current conversation into tracer-bullet tickets, each declaring its blocking edges.
Also in 3 projects that use this
chloropineSkillmake-pdf
Turn any markdown file into a publication-quality PDF. Proper 1in margins, intelligent page breaks, page numbers, cover pages, running headers, curly quotes and em dashes, clickable TOC, diagonal DRAFT watermark. Not a draft artifact — a finished artifact. Use when asked to "make a PDF", "export to PDF", "turn this markdown into a PDF", or "generate a document". (cgstack) Voice triggers (speech-to-text aliases): "make this a pdf", "make it a pdf", "export to pdf", "turn this into a pdf", "turn this markdown into a pdf", "generate a pdf", "make a pdf from", "pdf this markdown".
Also in 3 projects that use this
anombyte93Skilldiscover
Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery. Delegates to superpowers:brainstorming in Interactive Mode (one adaptive question at a time), or self-brainstorms in Autonomous Mode when no user is present. Intercepts before the brainstorming chain hands off to writing-plans — this skill owns the exit. Extracts constraints, calibrates scale (Solo / Team / Enterprise), and advances the pipeline to GENERATE.
Also in 5 projects that use this
diego-tobalinaSkillbuild-fix
Fix build and compilation errors systematically. Run when build fails.
Also in 3 projects that use this
chloropineSkillcontext-restore
Restore working context saved earlier by $context-save. Loads the most recent saved state (across all branches by default) so you can pick up where you left off — even across Conductor workspace handoffs. Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with $context-save. Formerly /checkpoint resume — renamed because Codex treats /checkpoint as a native rewind alias in current environments. (cgstack)
Also in 3 projects that use this
GoogleSkillmetrics
Expertise in analyzing time-series repository health metrics, investigating root causes, and proposing proactive workflow improvements.
Also in 3 projects that use this
- +1 more from chloropine
Other versions96 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 96
- garrytan/gstack★ 143ksame name
- getsentry/sentry-react-native★ 1.8ksame name
- JuliusBrussee/cavekit★ 1.1ksame name
- kdlbs/kandev★ 899same name
- getsentry/sentry-dart★ 873same name
- codewithmukesh/dotnet-claude-kit★ 750same name
- Klerith/fernando-skills★ 281same name
- atelier-fashion/adlc-toolkit★ 171same name
- jvm-skills/jvm-skills★ 140same name
- jh941213/my-cc-harness★ 126same name
86 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- designSkill
- repo-readingSkill
- standardsSkill
- tasksSkill
The file
We split this skill into the rules it gives an agent
11 rules. 0 are common, 7 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 79 edited versions we read keep these.
7
Distinctive
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 14
Read .brownspec/conventions.md and .brownspec/project-map.json.
- Very specific: line 17
Read .brownspec/policies.md if present.
- Very specific: line 20
If spec.md already exists there, you are resuming.
- Very specific: line 26
Run levels 1 and 2 of the repo-reading skill.
- Distinctive: line 43
The file on disk is the state of the interview: Do not hold answers in your head.
- Distinctive: line 52
One question per message: Never batch. Never number a list of questions.
- Distinctive: line 53
Only ask what changes the outcome: If the answer would not change what gets built or how it is verified, record an assumption and move on.
- Distinctive: line 55
Never ask what the repo can answer: If you have not looked, look.
- Distinctive: line 71
A separate pass, after the spec is otherwise finished: Not woven into drafting — if you apply policies while writing, you will shape the …
- Distinctive: line 100
Do not edit the body of the spec to make a rule stop firing.
- Distinctive: line 102
If a rule's trigger is ambiguous against this spec, list it as touched.
“Common” is measured: kept by at least 6 in 10 of the 79 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write a specification for a change
You are specifying a change to an existing system, not a greenfield project. The system already has behavior, contracts, and consumers. Most of what you need is in the repository — go read it before you ask the user anything.
Phase 0 — Locate state
- Read
.brownspec/conventions.mdand.brownspec/project-map.json. If either is missing, say once that/brownspec:initwill produce them, then continue without. Rebuild the project map if the dependency manifest has changed since it was cached. - Read
.brownspec/policies.mdif present. Do not apply it yet — phase 3. - Derive the slug (kebab-case, from the user's description). Working directory is
.brownspec/features/<slug>/. - If
spec.mdalready exists there, you are resuming. Read it, find every<!-- OPEN: ... -->marker, and continue from the first one. Do not re-ask anything the file already answers.
Phase 1 — Recon, then a draft
Run levels 1 and 2 of the repo-reading skill. Establish:
- Which modules the change plausibly touches, and what they currently do
- The public contracts of those modules — HTTP/RPC, events, tables, config, CLI
- How similar changes were done before:
git logon the touched paths, and any adjacent specs under.brownspec/features/ - Existing tests covering the affected behavior
Do not run level 3 here. Full blast radius is expensive and belongs in
/brownspec:design, once the change actually has a shape. What you need now is a
hypothesis about where it lands, not a complete dependency graph.
Then fill ${CLAUDE_PLUGIN_ROOT}/templates/spec.md.tmpl with what you found and what
you can reasonably infer, and write it to disk. Inferences go in Assumptions marked
(assumed). Anything you genuinely cannot infer gets an <!-- OPEN: ... --> marker in
place.
The file on disk is the state of the interview. Do not hold answers in your head.
Phase 2 — Interview
Present the recon summary and your assumptions first. A wrong assumption is cheaper for the user to correct than a question is to answer.
Then work through the OPEN markers.
- One question per message. Never batch. Never number a list of questions.
- Only ask what changes the outcome. If the answer would not change what gets built or how it is verified, record an assumption and move on.
- Never ask what the repo can answer. If you have not looked, look.
- After every answer, rewrite
spec.md— replace the marker with resolved content, then ask the next question. - Six questions or fewer. Past ten you are interrogating rather than specifying: write down what you have, move the rest to open risks, and stop.
Priority, highest first:
- Boundaries — what is explicitly out of scope
- Behavior at the edges — empty, duplicate, concurrent, oversized, unauthorized
- Failure — what happens when each dependency is slow, down, or wrong
- Contract impact — what breaks for existing consumers, and how they migrate
- Acceptance — what observable fact proves this is done
Phase 3 — Policy routing
A separate pass, after the spec is otherwise finished. Not woven into drafting — if you apply policies while writing, you will shape the spec to satisfy them instead of revealing where they bite.
Load the rules: every profile listed under profiles: in .brownspec/policies.md, read
from ${CLAUDE_PLUGIN_ROOT}/policies/<profile>.md, plus the local rules in that file. If
nothing is enabled, write "No policies enabled" in the section and move on.
For each rule, match its Trigger against the finished spec. When it fires, add a line naming the rule and the specific decision or confirmation this spec still owes — not a restatement of the rule.
## Policies touched
- **PDN-03** (logging of personal data) — needs a decision: where phone numbers are
masked before they reach logs and traces
- **PDN-05** (retention) — needs confirmation: how long export files persist and what
deletes them
Generated by matching policy triggers against this spec. **Not a compliance assessment.**
Requires review by whoever owns security.Rules:
- Route, never certify. "Touches PDN-03, show security" — never "complies with 152-ФЗ", "meets the requirement", or "no issues found". A false sense of coverage is worse than no check at all, because it stops someone from looking.
- Do not edit the body of the spec to make a rule stop firing. If the spec is genuinely wrong, say so and go back to phase 2.
- If a rule's trigger is ambiguous against this spec, list it as touched. Over-listing costs a reviewer a minute; under-listing costs an audit finding.
Phase 4 — Exit check
Finished only when every item holds. State the result plainly; do not claim completion while any fails.
- Non-goals are written and non-empty
- Every affected contract is named, with breaking changes flagged
- Behavior under dependency failure is specified
- Acceptance criteria are observable, and each maps to a stated requirement
- Every assumption is either confirmed by the user or listed as an open risk
- Nothing in the file merely restates what the code already shows
- Policy routing has run, and its output is a routing list — not a verdict
- Conflicts with
conventions.mdare written down with the reason for departing
Then say the spec is ready and that /brownspec:design is next. Do not design or write
code in this skill.
What does not belong in a spec
Implementation detail the code will express better than prose — class names, function signatures, chosen libraries, SQL. If a reader could learn it by opening the file, leave it out. It will rot within a sprint and take the spec's credibility with it.
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.

