to-spec
Skill9 starsChanged 3 months agoMITView on GitHub
Turn a hardened discussion into a numbered written spec — a WHAT/WHY contract with problem, solution, user stories, decisions and testing seams — saved to docs/specs/<NNN>-<slug>.md and registered in its INDEX. Use when the user says "spec this out", "write this up as a spec", "make a spec". Synthesises the conversation; does not re-interview.
194 other projects use a version of this.
Adopted by
Most recently taken up by
- quarkiverse/quarkus-reactive-messaging-nats-jetstreamtheir own version, first seen Nov 30, 2026
- Rain-kl/OpenFlaretheir own version, first seen Nov 30, 2026
- Forget-C/Jellyfishtheir own version, first seen Nov 29, 2026
- 27Aaron/skillstheir own version, first seen Nov 29, 2026
- swimmesberger/Elariontheir own version, first seen Nov 29, 2026
- ctaxnagomi/agent-kd-skilltheir own version, first seen Nov 29, 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 54 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 110 projects that use this
RoentekSkillloop-me
Grill me about specs for the workflows I want to build, within this workspace.
Also in 61 projects that use this
richard12511Skillclaude-handoff
Hand the current conversation off to a fresh background agent that picks up the work immediately.
Also in 50 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 64 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 140 projects that use this
- +2 more from aws
Other versions194 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 194
- mattpocock/skills★ 335ksame name
- QuivrHQ/quivr★ 40ksame name
- The-Vibe-Company/quivr★ 40ksame name
- formbricks/formbricks★ 13ksame name
- Forget-C/Jellyfish★ 7.5ksame name
- ArcReel/ArcReel★ 6.8ksame name
- vinvcn/mattpocock-skills-zh-CN★ 6.2ksame name
- withcoral/coral★ 5ksame name
- bestofjs/bestofjs★ 3.1ksame name
- bamlab/flashlight★ 1.6ksame name
184 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.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- brainstormSkill
- create-planSkill
- file-an-issueSkill
- grill-meSkill
- implementSkill
- open-prSkill
- refine-approachSkill
- reviewSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 182 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
If the conversation has not settled the WHAT (approaches still open, scope undefined), stop and recommend /brainstorm then /grill-me.
- Very specific: line 63
Add a row to docs/specs/INDEX.md (| NNN | title | draft | date |).
“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
To-Spec
Honour .agents/skills/README.md. Crystallise a discussion that already happened into a durable spec: the WHAT/WHY contract the rest of the lifecycle draws from. The HOW comes later.
/brainstorm → /grill-me → **/to-spec** → /file-an-issue → /create-plan → …The next step is /file-an-issue, which slices the spec into GitHub issues — behind a human gate: present the spec, wait for approval.
A spec is temporary; GitHub is the durable contract. Once /file-an-issue runs, it copies Problem + Solution + Out of scope into the parent issue and links the children; from then on the issue is the source of truth and the file is disposable (status: ticketed, frontmatter carries parent:). Never link into a spec from other docs; link to the issue.
Step 0 — Do you have material?
If the conversation has not settled the WHAT (approaches still open, scope undefined), stop and recommend /brainstorm then /grill-me. A spec around an unresolved question gives the ambiguity a filename.
Step 1 — Gather
The conversation above is the primary source. Read docs/brainstorm/<slug>.md if it exists. Only if the discussion never touched the code: a light grounding pass (describe what exists, file:line). Use the repo's vocabulary from AGENTS.md: entry, posting, ledger, quarter file, tool, store, setup, template, language.
Step 2 — Testing seam (the one question you may ask)
Confirm with the user where this is verified: tests/smoke.py (no network — the default), tests/demo_terminal.sh (needs a model key), or the phone against the demo agent. Prefer the highest seam that gives honest confidence; prefer existing seams over new ones.
Step 3 — Number and write
ls docs/specs/ → highest NNN- prefix + 1, zero-padded (001 if empty). Write docs/specs/<NNN>-<slug>.md:
---
slug: <slug>
status: draft
last_verified: <YYYY-MM-DD>
---
# <NNN> — <Feature> — Spec
## Problem
Who feels it, when, what it costs. No implementation.
## Solution
In plain terms. Still no implementation.
## User stories
1. As a <person texting the agent / shop owner / self-hoster / judge in a terminal>, I can <X> so that <benefit>.
## Decisions
Tool shape, prompt rule, ledger convention, store field, language strings — the clarifications the grilling produced. Which existing patterns it reuses; which invariants it respects (six tools, strict check, entry numbers, offset-after-batch, fixed strings in `en` and `ur`).
## Testing decisions
The seam(s) from Step 2 and the closest prior-art test to mirror in tests/smoke.py.
## Out of scope
- <explicitly excluded>
## Further notes
- Open questions, links to the brainstorm doc.Step 4 — Register
Add a row to docs/specs/INDEX.md (| [NNN](NNN-slug.md) | title | draft | date |); create the file with a one-line header if absent.
Step 5 — Hand off (human gate)
Present the spec and wait. Offer: Slice into issues (/file-an-issue, expected) · Plan it directly (/create-plan, single-slice) · Stop.
What NOT to do
- Interview the user (only the seam question). Bake in file paths or code that will go stale (a schema or reply shape that is the decision is fine). Write the HOW. Invent a fact the discussion did not settle — flag it under Further notes.
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.

