to-prd
Skill0 starsChanged 8 days agoMITView on GitHub
Turn the current conversation context into a PRD and publish it to GitHub Issues, also persisting it to docs/prds/NNNN-<slug>.md for downstream skills (blueprint). Use when user wants to create a PRD from the current context. Triggers on /to-prd, "write a PRD", "draft a PRD", "spec this out", "feature spec", or after /grill-me when scope and Glossary are settled.
132 other projects use a version of this, 59 of them edited.
Adopted by
Most recently taken up by
- ishandutta2007/Awesome-Claude-Skillstheir own version, first seen Nov 8, 2026
- kazemcodes/skill-treetheir own version, first seen Nov 8, 2026
- paureis/pau-skillstheir own version, first seen Nov 8, 2026
- snowfluke/tech-lead-skillstheir own version, first seen Nov 8, 2026
- clnnn/playbooktheir own version, first seen Nov 7, 2026
- Integralist/agent-skillstheir own version, first seen Nov 6, 2026
Used with
Projects with it also use decision-mapping, zoom-out 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.
FabienDehopreSkilldecision-mapping
Turn a loose idea into a sequenced map of investigation tickets, then drive them to resolution one at a time.
Also in 8 projects that use this
victorgarciaesgiSkillzoom-out
Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.
Also in 60 projects that use this
simo97Skillrequest-refactor-plan
Use this skill when user wants to create a refactor plan.
Also in 23 projects that use this
simo97Skilledit-article
The user will invoke this skill to help them edit an article.
Also in 23 projects that use this
kennethkeimSkillubiquitous-language
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".
Also in 23 projects that use this
AnasX7Skillsetup-pre-commit
Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.
Also in 34 projects that use this
- +3 more from simo97
Other versions132 projects use a version of this.
Word for word · 0
None found.
Edited · 59
- amazingloft999-droid/mattpocock-skills★ 42212% same
- InditexTech/weavejs★ 26610% same
- ayoubben18/ab-method★ 19211% same
- yamcodes/arkenv★ 15111% same
- alex-on-ai/WebReaper★ 14911% same
- aurorasoft2/Matt_Pocock_Skills★ 13312% same
- VisualxIntelligence/mattpocok-skills★ 5512% same
- javimosch/supercli★ 5311% same
- VoDaiLocz/kilo-kit-mcp★ 2812% same
- metrogg/AgentHub★ 1910% same
49 more not listed
Wrote their own version · 73
- GreyDGL/PentestGPT★ 16ksame name
- Tiberriver256/mcp-server-azure-devops★ 399same name
- ninehills/skills★ 280same name
- serejaris/personal-corp-os★ 243same name
- serejaris/ris-claude-code★ 243same name
- heyongjun666/AICU-Graph★ 200same name
- alamops/skills★ 53same name
- AlemTuzlak/skills★ 45same name
- aveproject/ave★ 24same name
- Integralist/agent-skills★ 23same name
63 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 repository31 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-estimateSkill
- aso-craftSkill
- audit-reportSkill
- babysit-prsSkill
- blueprintSkill
- brag-docSkill
- business-briefSkill
- cagan-checkSkill
- code-craftSkill
- commit-reportSkill
- compassSkill
- cv-craftSkill
- dev-flowSkill
- grill-meSkill
- implementation-reviewSkill
- llm-wikiSkill
- parallel-worktreesSkill
- periscopeSkill
- portfolio-syncSkill
- pr-craftSkill
- problem-solvingSkill
- publish-skillSkill
- review-passSkill
- security-auditSkill
- semverSkill
- sentinelSkill
- seoSkill
- testing-philosophySkill
- write-a-skillSkill
- wstg-security-testingSkill
The file
Files
This skill takes the current conversation context and codebase understanding and produces a PRD. Do NOT interview the user — just synthesize what you already know. If context is too thin to synthesize, halt and tell the user to run /grill-me first; don't fabricate scope.
Process
- Read the codebase. Explore the repo to understand current state if you haven't already. Use the project's domain glossary throughout the PRD.
- Scan
docs/adr/for accepted ADRs touching the area. List relevant ones in aSourcesline and respect their locked decisions. If the PRD's scope would violate an ADR, surface the conflict to the user before writing. Pick the Glossary source (in priority order):
- Glossary block emitted by a prior
/grill-mesession in the conversation. docs/intent/NNNN-<slug>.md— the same block, written to disk by grill-me. Check here whenever the conversation doesn't carry one: the interview may have happened in an earlier session, or its output may have been compacted away. Match by slug, or take the most recently modified file when the feature is obvious. Cite it inSources.- Domain terms already used in the codebase — search for prominent nouns/verbs in module names, types, and route names.
- Terms surfaced in the conversation context.
Sources 1–2 are the same artifact and carry the edge-case decisions too — fold those into the PRD rather than re-deriving them, so
blueprintinherits a ledger instead of starting one.They also carry
## Rules and examples, which become the PRD's## Acceptance Examples(step 5).- Glossary block emitted by a prior
- Sketch the major modules to build or modify. Actively look for opportunities to extract deep modules — ones that encapsulate substantial functionality behind a simple, testable, slow-to-change interface (Ousterhout). Do not interview; synthesize from context. If module shape is unclear, halt and route back to
/grill-me. Write the acceptance examples. For each user story, the rules it must obey (one line each) and key examples per rule in Given/When/Then, numbered
AC-1,AC-2across the whole PRD (format in the template; what makes a good example is intesting-philosophy). Take them from grill-me's## Rules and examplesfirst, keeping the user's words and numbers.Where a rule has no example from the user, or any
(suggested)one, write or keep examples from the conversation and mark the rule(proposed). The examples become the oracle that blueprint gates phases on and the code is held to, so a human has to approve any an agent wrote. When the user approves the PRD, drop the marks. A story with no behavior worth an example (too small, or purely technical) gets plain testable criteria instead of ACs; don't invent examples for it.- Write the PRD following PRD-TEMPLATE.md, to two destinations:
- Disk: get the target path from
bash scripts/next-prd-index.sh <slug>(prints the zero-padded next-index path, createsdocs/prds/if missing), then write the filled template there. This is whatblueprintconsumes. - Tracker:
bash scripts/publish-prd.sh <prd-file> "<title>"— opens a GitHub issue with theneeds-triagelabel, auto-falling back (drop the label, or skip the tracker entirely) and warning to stderr when the label is missing,ghis unconfigured/unauthed, or the repo isn't on GitHub.
- Disk: get the target path from
Rules
- No interviewing. Pure synthesis. Halt to
/grill-meif context is too thin. - Glossary is load-bearing. Blueprint and the implementing code must use the same terms verbatim.
- AC ids are stable. Blueprint's phase gates and the test names cite them, so never renumber: a new rule takes the next free number, a dropped one is marked
(removed: <reason>), and rewording an existing AC needs an explicit user OK. The on-disk PRD is canonical; the tracker issue is a snapshot, and updating it is outward-facing, so offer rather than do it. - Respect ADRs. Locked architectural decisions are inputs, not topics to relitigate.
- Update existing PRD if user says "update the PRD": find by slug. Edit-safe sections:
Status,Further Notes, adding newUser Stories,Acceptance ExamplesorImplementation Decisionsentries, expandingOut of Scope. Locked sections (require explicit user OK):Problem Statement,Solution,Glossary,Sources, existingAcceptance Examplesentries (dropping their(proposed)marks on approval is the exception). Never silently drop user stories; mark them(removed: <reason>)instead.
When to skip to-prd
- Bug fix (just fix it; commit message is enough).
- Single-file change.
- Spike/throwaway.
- PRD already exists and feature scope hasn't changed.
- Pure refactor with no user-visible change (use an ADR via
/compassinstead).
Pipeline placement
grill-me → to-prd → compass → blueprint → code
- grill-me extracts scope, design-tree decisions, rules with examples, edge cases, and Glossary via interview, and writes them to
docs/intent/NNNN-<slug>.md. - to-prd (this skill) synthesizes the above into a PRD on disk + tracker.
- compass locks architectural decisions in ADRs (auto-written to
docs/adr/). - blueprint consumes PRD + ADRs, produces implementation plan at
docs/plans/NNNN-<slug>.md. - code — user or agent implements one phase at a time.
Skip earlier stages when the artifact already exists. If grill-me hasn't run and the conversation lacks scope clarity, halt and route there instead of synthesizing fiction.
Humanize the written prose (if available)
Before writing generated prose to a file, if the humanizer skill is installed, run it on the drafted text so the created document reads naturally and free of AI tells; skip silently if it is not available. Apply it to the human-facing document body only, never to code, frontmatter, file paths, IDs, or literal templates.
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.

