to-spec
Skill626 starsChanged 4 months agoMITView on GitHub
Spec-writing stage skill for the architect factory: synthesizes the run's conversation, repo evidence, and research findings into `docs/spec/<run>.md` after grounding. Invoked by the strategist subagent the orchestrator dispatches during `/architect` intake — or directly by the orchestrator in `/architect-fast` (that skill's stage-skill deltas apply) — before decomposition into issues.
194 other projects use a version of this, 6 of them edited.
Adopted by
Most recently taken up by
- Dimon94/dveritytheir own version, first seen Nov 8, 2026
- Dimon94/skillstheir own version, first seen Nov 8, 2026
- The-Vibe-Company/quivrtheir own version, first seen Nov 8, 2026
- 5thlayer/skillworkstheir own version, first seen Nov 8, 2026
- zhikedan/mattpocock-skills-dshtheir own version, first seen Nov 8, 2026
- protokol11/skillstheir own version, first seen Nov 8, 2026
Used with
Projects with it also use setup-ts-deep-modules, to-questionnaire and 10 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.
liufeng1976Skillsetup-ts-deep-modules
Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.
Also in 43 projects that use this
AWSSkillto-questionnaire
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
Also in 90 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 49 projects that use this
AWSSkillwizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
Also in 116 projects that use this
ryotaroh180105Skillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 39 projects that use this
LesaniSkillwriting-beats
Shape an article as a journey of beats, choose-your-own-adventure style. The user picks a starting beat from the raw material, you write only that beat, then offer options for where to pivot next, beat by beat, until the article reaches a natural end. Use when the user has raw material and wants to assemble it as a narrative rather than an argument.
Also in 51 projects that use this
- +2 more from aws
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- tezansahu/ai-garage★ 1610% same
- xiehuan123/coding-coach★ 410% same
- IsKenKenYa/skills★ 210% same
- Jancera/skills★ 110% same
- Jeroen-G/skills★ 110% same
- addie-ace/dsh-mattpocock-skills★ 014% same
Wrote their own version · 188
- mattpocock/skills★ 309ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- formbricks/formbricks★ 13ksame name
- ArcReel/ArcReel★ 6.3ksame name
- vinvcn/mattpocock-skills-zh-CN★ 5.5ksame name
- withcoral/coral★ 4.9ksame name
- bestofjs/bestofjs★ 3.1ksame name
- moeru-ai/xsai★ 667same name
- nodetool-ai/nodetool★ 615same name
178 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 repository10 other files it gives its agents.
- adversarial-reviewSkill
- architect-fastSkill
- architect-researchSkill
- architectSkill
- codebase-designSkill
- final-reviewSkill
- frozen-checksSkill
- integrateSkill
- tddSkill
- to-issuesSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 182 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 29
Do not include specific file paths or code snippets in the spec body — they may end up being outdated very quickly.
- Very specific: line 35
Never run the timed-ruling protocol yourself or wait on the human: return every open question to the orchestrator, one line each — RULING …
- Distinctive: line 52
Write the sections below in this order.
“Common” is measured: kept by at least 6 in 10 of the 182 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
<!-- Adapted from mattpocock/skills (MIT). -->To Spec
Synthesize the spec from what grounding, intake, and research evidence already surfaced; do not interview. Anything genuinely unanswered goes through step 4.
Process
- Read the codebase-design
vocabulary (
skills/codebase-design/SKILL.md) before writing a line. Reuse its module, interface, seam, adapter, depth, and locality terms exactly; never substitute component, service, boundary, or API for module or interface. - Name the seam(s) this run will exercise before drafting any section.
Existing seams are preferred to new ones, at the highest point possible;
the ideal number is one. Record them under
## Implementation decisions. - Do not include specific file paths or code snippets in the spec body — they may end up being outdated very quickly. Exception: if a prototype produced a snippet that encodes a decision more precisely than prose can (state machine, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts.
- Never run the timed-ruling protocol yourself or wait on the human:
return every open question to the orchestrator, one line each —
RULING NEEDED: <question> | options: <a | b> | default: <option> — <why>— and it runs the protocol (skills/architect/SKILL.md## Timed-ruling protocol). Rulings already present in your dispatch context are decided; record each as an## Assumptionsentry. (Direct orchestrator invocation only —/architect-fast: run the protocol yourself as that lane records.) - Shape the spec on the template below and write it to
docs/spec/<run>.mdin your working tree. Do NOT commit it and do NOT create or update the tracking issue — the spec commit and the tracking-issue update (spec pointer, assumptions digest, or the markdown-mode equivalent inskills/architect/tracker.md## Command mapping) are orchestrator actions after you return. End your reply withSPEC DRAFT: <path>plus anyRULING NEEDED:lines.
Template
Write the sections below in this order; the names are load-bearing for hardening and decomposition, so keep them exact.
## Goal— what the run adds and why, from the reader's side.## Target flow(optional) — a short numbered sequence, only when the run reorders or replaces a multi-step process; omit for additive or single-surface runs.## Non-goals— what the run deliberately leaves unchanged.## Assumptions— every timed-ruling default this run applied, one line each, dated.## Implementation decisions— modules, interfaces, and the seam(s) from step 2, described, never pathed; the one place a prototype snippet may appear, per step 3.## Validation strategy— how the run's own checks and the closing review confirm the seam(s) hold; name the check-runner and closing review, never new grading machinery.## Domain language— new or changed vocabulary this run introduces, defined once.## Open human decisions— anything unresolved once the timed-ruling protocol's timer expires; empty at freeze.## Verified facts— every claim sourced outside this conversation: source, date fetched, fact supported.## Preflight evidence— tool, auth, and repo-state evidence gathered before decomposition.
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.

