pd-to-prd
Skill2 starsChanged 5 months agoMITView on GitHub
Turn the current conversation context into a PRD and publish it to the project issue tracker. Use when user wants to create a PRD from the current context.
In this repository71 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- academic-searchSkill
- agent-reachSkill
- anysearchSkill
- brainstormingSkill
- brave-searchSkill
- clash-verge-controlSkill
- drawio-skillSkill
- find-skillsSkill
- fireworks-tech-graphSkill
- github-trending-discoverySkill
- html-pptSkill
- humanizer-zhSkill
- ai-news-collectorSkill
- info-andrej-karpathy-rssSkill
- info-daily-hot-topicsSkill
- karpathy-guidelinesSkill
- markdown-to-docxSkill
- mcp-builderSkill
- minimax-docxSkill
- minimax-pdfSkill
- minimax-xlsxSkill
- office-docxSkill
- office-pdfSkill
- office-pptxSkill
- office-pywordSkill
- office-xlsxSkill
- ontologySkill
- openclaw-optimizationSkill
- pd-architectureSkill
- pd-bddSkill
- pd-brainstormingSkill
- pd-diagnoseSkill
- pd-docSkill
- pd-executionSkill
- pd-grill-with-docsSkill
- pd-improve-codebase-architectureSkill
- pd-planSkill
- pd-postgresSkill
- pd-prototypeSkill
- pd-puaSkill
- pd-reviewSkill
- pd-rules-checkSkill
- pd-setupSkill
- pd-simplifySkill
- pd-tddSkill
- pd-to-issuesSkill
- pd-triageSkill
- pd-zoom-outSkill
- pi-drawioSkill
- pi-githubSkill
- pi-llm-serverSkill
- pi-memorySkill
- pi-painterSkill
- pi-sketch-readerSkill
- pr-academic-searchSkill
- pr-arxiv-watcherSkill
- pr-critic-mentor-reviewSkill
- pr-daily-research-papersSkill
- pr-deep-researchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 5 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read .scratch/<feature>/RAD.md if it exists — it contains the outcomes of a prior brainstorming or grilling session.
- Very specific: line 14
If no .scratch/<feature>/RAD.md exists for any feature, fall back to docs/RAD.md for backwards compatibility.
- Very specific: line 28
After reading the RAD, inspect the ### 待办事项 section.
- Distinctive: line 34
If any item cannot be resolved immediately, STOP and do not generate the PRD.
- Very specific: line 36
After resolving the open items, synchronize the changes back to RAD.md:
- Distinctive: line 39
If the item was reclassified (e.g.
- Very specific: line 40
Write the updated content back to .scratch/<feature>/RAD.md (overwrite in-place)
- Distinctive: line 48
Check with the user that these modules match their expectations.
- Distinctive: line 50
Write the PRD using the template below.
- Very specific: line 53
If .scratch/<feature>/ does not exist, create it
- Very specific: line 54
Write the full PRD content to .scratch/<feature>/PRD.md (overwrite if it already exists)
- Distinctive: line 98
Do NOT include specific file paths or code snippets.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
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.
The issue tracker and triage label vocabulary should have been provided to you — run /pd-setup if not.
Process
- Read
.scratch/<feature>/RAD.mdif it exists — it contains the outcomes of a prior brainstorming or grilling session. Use it as the primary source for the PRD rather than starting from scratch.
If no .scratch/<feature>/RAD.md exists for any feature, fall back to docs/RAD.md for backwards compatibility. If neither exists, synthesize from the current conversation context.
Map .scratch/<feature>/RAD.md sections to PRD fields:
.scratch/<feature>/RAD.md section | → PRD section | How to transform |
| 需求分析 | Problem Statement & Solution | Synthesize into user-facing problem + solution |
| 架构与方案 | Implementation Decisions | Remove file paths/line numbers; keep interfaces, types, config shapes |
| 决策记录 | Implementation Decisions | Preserve decisions and rationale as-is |
| 待办事项 | User Stories / Out of Scope | Actionable items → user stories; blocked/deferred items → out of scope |
| 需要考虑的细节 | Further Notes | Direct mapping |
- Resolve open items from RAD
After reading the RAD, inspect the ### 待办事项 section. Every item must fall into exactly one of these three categories BEFORE proceeding:
- Actionable → Will be turned into User Stories or Implementation Decisions in the PRD
- Deferred / out of scope → Will be moved to
## Out of Scopein the PRD - Unresolved / "待进一步分析" / TBD → MUST be resolved now. Ask the user for the decision, record it in the PRD. Do NOT leave "待细化" or "TBD" markers in the PRD.
If any item cannot be resolved immediately, STOP and do not generate the PRD. Tell the user which items are blocking and what decisions are needed.
After resolving the open items, synchronize the changes back to RAD.md:
- For each resolved item, update its checklist status:
- [ ]→- [x] - Append a resolution note after the item, e.g.
→ 已确认:采用XX方案,写入 PRD Implementation Decisionsor→ 已确认:归入 Out of Scope - If the item was reclassified (e.g. deferred), note the new classification
- Write the updated content back to
.scratch/<feature>/RAD.md(overwrite in-place)
- Explore the repo to understand the current state of the codebase, if you haven't already. Use the project's domain glossary vocabulary throughout the PRD, and respect any ADRs in the area you're touching.
- Sketch out the major modules you will need to build or modify to complete the implementation. Actively look for opportunities to extract deep modules that can be tested in isolation.
A deep module (as opposed to a shallow module) is one which encapsulates a lot of functionality in a simple, testable interface which rarely changes.
Check with the user that these modules match their expectations. Check with the user which modules they want tests written for.
- Write the PRD using the template below.
- Save the PRD to
.scratch/<feature>/PRD.md:- If
.scratch/<feature>/does not exist, create it - Write the full PRD content to
.scratch/<feature>/PRD.md(overwrite if it already exists) - This file serves as the local canonical source of the PRD
- If
- Publish the PRD to the project issue tracker. Apply the
ready-for-agenttriage label - no need for additional triage.
Once the PRD is saved and published, guide the user to the next step:
- If the PRD needs to be broken into independently-grabbable issues → run
/pd-to-issues(splits the PRD into vertical tracer-bullet slices, each a complete end-to-end issue that an AFK agent can pick up) - If key design decisions need validation before committing → run
/pd-prototype(builds a throwaway prototype to verify the riskiest assumptions)
<prd-template>Problem Statement
The problem that the user is facing, from the user's perspective.
Solution
The solution to the problem, from the user's perspective.
User Stories
A LONG, numbered list of user stories. Each user story should be in the format of:
- As an
<actor>, I want a<feature>, so that<benefit>
<user-story-example>
1. As a mobile bank customer, I want to see balance on my accounts, so that I can make better informed decisions about my spending
</user-story-example>This list of user stories should be extremely extensive and cover all aspects of the feature.
Implementation Decisions
A list of implementation decisions that were made. This can include:
- The modules that will be built/modified
- The interfaces of those modules that will be modified
- Technical clarifications from the developer
- Architectural decisions
- Schema changes
- API contracts
- Specific interactions
Do NOT include specific file paths or code snippets. 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, reducer, schema, type shape), inline it within the relevant decision and note briefly that it came from a prototype. Trim to the decision-rich parts — not a working demo, just the important bits.
Testing Decisions
A list of testing decisions that were made. Include:
- A description of what makes a good test (only test external behavior, not implementation details)
- Which modules will be tested
- Prior art for the tests (i.e. similar types of tests in the codebase)
Out of Scope
A description of the things that are out of scope for this PRD.
Further Notes
Any further notes about the feature.
</prd-template>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.

