to-spec
Skill6 starsChanged 16 days agoMITView on GitHub
Audits a Discovery Decision Record or PRD and expands it into an industrial-grade, repo-grounded specification (specs/<slug>.md) with configurability, logging, security, performance, reusable assets, and requirement-to-test traceability. Use before slicing multi-session tickets.
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 repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- browsingSkill
- codebase-designSkill
- code-reviewSkill
- database-migrationSkill
- diagnosing-bugsSkill
- discoverSkill
- domain-modelingSkill
- handoffSkill
- implementSkill
- index-projectSkill
- officeSkill
- perf-auditSkill
- prSkill
- researchSkill
- safe-refactorSkill
- self-learnSkill
- tddSkill
- to-ticketsSkill
- wave-executeSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 182 edited versions we read keep these.
1
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
- Very specific: line 24
Ground Against Codebase: Read DDR/PRD and CONTEXT.md end-to-end.
- Distinctive: line 44
Use resources/spec-example.md as a provenance shape reference only—never copy its domain facts.
“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 (Industrial-Grade Grounded Specification)
Convert a confirmed Discovery Decision Record (docs/discovery/<slug>.md) or PRD into an unambiguous specification at specs/<feature-slug>.md using resources/spec-template.md.
Decision tree
- Does a confirmed DDR (
docs/discovery/<slug>.md) or explicit PRD exist?- No → Stop and run
/discover(or built-in/grill-me) first. - Yes → Proceed to step 2.
- No → Stop and run
- Are any requirements, UI states, auth/tenancy rules, config/env keys, logging rules, performance targets, or data contracts ambiguous or conflicting with
CONTEXT.md?- Yes → STOP (Anti-Yes-Man Gate). Cite exact gaps (
PRD/DDRvspath:line) and callask_question. Never invent defaults. - No → Proceed to step 3.
- Yes → STOP (Anti-Yes-Man Gate). Cite exact gaps (
- Have you researched any unfamiliar external API/architecture patterns (
search_web) and verified reusable repo assets inCONTEXT.md?- No → Run
/index-projector/researchfirst. - Yes → Write
specs/<feature-slug>.mdand validate it with the black-box validator script.
- No → Run
Workflow
- Ground Against Codebase: Read DDR/PRD and
CONTEXT.mdend-to-end. Verify exactpath:symbolfor shared UI widgets/components, theme tokens, API clients, schemas, config loaders, and structured loggers. - Classify Facts (
KNOWN/OPEN/ASSUMED/N/A): Copy numbers, schemas, and commands verbatim. Inapplicable sections getN/A — <reason>, never silent omission or fake metrics. - Specify Industrial Contracts:
- Functional
REQ-###(Given/When/Then),INV-###/ST-###, and UI state matrix (loading,empty,validation error,server/offline error,disabled, disposal). - Architecture & Design Diagrams (Mermaid):
C4Context/C4Container(component & trust boundaries),erDiagram(scoped tables withPK/FK),sequenceDiagram(auth/payment/distributed flows), andstateDiagram-v2(from[*]). Mark inapplicable diagramsN/A — <reason>. - Security & credential hygiene (
SEC-###: auth/BOLA, strict parsing, idempotency, secret isolation). - Configurability (typed startup-validated keys), structured logging (
traceId,<REDACTED>), API Contract (OpenAPI/AsyncAPI), Rollout/Canary & Rollback SOP, Observability SLI/SLO & Runbook, and performance/complexity budgets (NFR-###, verified via/perf-audit). - Traceability Matrix mapping every requirement to a public seam and automated test.
- Functional
- Validate via Black-Box Script:
node .agents/skills/to-spec/scripts/validate-spec.mjs --help node .agents/skills/to-spec/scripts/validate-spec.mjs specs/<feature-slug>.md
Route next
READY FOR TICKETS(multi-slice) →/to-tickets.READY FOR TICKETS(single slice) →/implement.NOT READY→ resolve blockers viaask_questionor/discover.
Use resources/spec-example.md as a provenance shape reference only—never copy its domain facts.
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.

