prd
Skill19 starsChanged 11 days agoMITView on GitHub
Use to write, rewrite, or iterate on a PRD, design doc, technical proposal, or architecture write-up that other people will read and decide on. Trigger on "write a PRD", "create a design doc", "prepare a plan/proposal for X", "write this up for the team/my manager", "make the doc simpler", "add a diagram/LLD", "update the design doc", "send this proposal to <person>", or when a Slack/Jira ask must become a reviewable proposal. Also trigger when the user says a doc is hard to read, too long, too many tables, or gives them no confidence in the implementation. Produces a short, plain-language doc built around one live worked example, with diagrams, verified claims, and a summarized Decisions log. When in doubt, use this skill.
136 other projects use a version of this.
Adopted by
Most recently taken up by
- goeroeku/aicrewtheir own version, first seen Nov 29, 2026
- weltonclima/claude-skillstheir own version, first seen Nov 29, 2026
- ZeroOnehub/aipm-skill-packtheir own version, first seen Nov 29, 2026
- jellydn/my-ai-toolstheir own version, first seen Nov 29, 2026
- modeled-information-format/mif-docs-plugintheir own version, first seen Nov 25, 2026
- grezxune/ai-toolstheir own version, first seen Nov 23, 2026
Used with
Projects with it also use modern-go, usecase 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.
jidechaoSkillmodern-go
Modernize Go code by applying version-appropriate idioms and APIs (gofix-style transformations). Scans go.mod for the Go version, then transforms Go source files to use modern patterns—from Go 1.0 through 1.26+. Use when the user says "现代化","现代Go语言", "地道的", "idiomatic", "modernize", "modern-go", "update Go code", "gofix", or wants to upgrade Go idioms.
Also in 3 projects that use this
gabriellstSkillusecase
Create an application use case. Use when implementing business operations like CreateOrder, ProcessPayment, CancelBooking. Use this skill for any command/mutation that orchestrates domain logic, whether simple CRUD or complex multi-step transactions with sagas. Dispatch hub — routes to typescript/go variants by file extension.
Also in 3 projects that use this
ulises-jeremiasSkilltrd
WHAT — Draft and review a Technical Requirements Document (TRD) using the template, typically
Also in 3 projects that use this
SireJeffSkillcontext-optimize
Context Optimization - Orchestrate RPI workflow TODO generation with interactive scoping
Also in 3 projects that use this
jidechaoSkillloop-it
Automated issue loop with checkpoint/resume: fetch open GitHub issues → dependency-aware topological sort → implement each issue end-to-end → review with /review-it → document with /note-it → ship with /ship-it → repeat. Persists state to .loop-state.json for crash recovery. Triggers on: loop-it, loop issues, auto implement, 批量实现, 循环实现, 实现所有issue, 恢复循环, resume loop.
Also in 3 projects that use this
snarktankSkillralph
Convert PRDs to prd.json format for the Ralph autonomous agent system. Use when you have an existing PRD and need to convert it to Ralph's JSON format. Triggers on: convert this prd, turn this into ralph format, create prd.json from this, ralph json.
Also in 17 projects that use this
- +2 more from jidechao
Other versions136 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 136
- github/awesome-copilot★ 42ksame name
- snarktank/ralph★ 22ksame name
- SethGammon/Citadel★ 927same name
- smallnest/autoresearch★ 571same name
- snarktank/compound-product★ 542same name
- CatCatUncle/openworkbuddy★ 448same name
- smallnest/goal-workflow★ 283same name
- OffchainLabs/arbitrum-docs★ 253same name
- julianromli/ai-skills★ 244same name
- Joonghyun-Lee-Frieren/oh-my-antigravity★ 229same name
126 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.
- debuggingSkill
- observabilitySkill
- performanceSkill
- reliabilitySkill
- shortsSkill
- skill-writerSkill
- software-engineerSkill
- testingSkill
- token-optimizerSkill
- tutorialSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. 0 are common, 20 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 110 edited versions we read keep these.
20
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 16
Write proposals that a busy reader understands in ten minutes and can decide on.
- Distinctive: line 49
Stop and ask: when the design depends on a fact you could not verify and cannot mark as an assumption, such as a compliance rule, a …
- Distinctive: line 53
Restate the ask: Write the problem in at most 3 bullets and the decision the reader must make.
- Distinctive: line 55
Challenge before agreeing: If the user proposed an approach, list its real strengths and real weaknesses, and propose a better option if …
- Distinctive: line 62
Write the plan: Use at most 5 steps, then one "To undo" line.
- Very specific: line 63
Collapse the reviewer details: Put schema/DDL, alternatives and "what was checked, and how" in <details>.
- Distinctive: line 64
Render and check: Check desktop, a 390px phone width and dark mode.
- Distinctive: line 86
IF a table explains a concept (pros/cons, terms, choices) THEN rewrite it as bullets or a diagram, BECAUSE the user reads concept tables as …
- Distinctive: line 87
IF a term would need explaining (flatten, ingest, payload, idempotent, partition) THEN replace it with plain words or define it in the same …
- Distinctive: line 88
IF the design adds work to a hot path (request handler, run executor) THEN say so explicitly and offer an option that moves it off that …
- Distinctive: line 89
IF two services share a database, queue or cluster THEN state the shared resource and the measured headroom, or say "not measured", BECAUSE …
- Distinctive: line 90
IF sensitive fields are filtered THEN default to an allow-list (store only named fields), BECAUSE a deny-list silently passes new fields.
- Distinctive: line 91
IF the user iterated on one topic several times THEN record one decision with the final position, BECAUSE the log is for outcomes, not …
- Distinctive: line 92
IF a revision changes a recommendation THEN state the change once, in the affected section, BECAUSE silent reversals destroy trust.
- Distinctive: line 93
IF the doc exceeds ~30 KB or ~12 screens on desktop THEN cut or collapse, BECAUSE length was the original complaint.
- Distinctive: line 135
Never explain concepts in tables → use bullets or a diagram.
- Distinctive: line 136
Never write "how it works" as prose only → draw lanes and number the steps.
- Distinctive: line 137
Never present 3 designs as equals in the body → pick one.
- Distinctive: line 138
Never log the assistant's recommendations as the user's decisions → keep "Made by you" honest.
- Distinctive: line 139
Never state that something exists or is absent in a live system without a date and method → or mark it unverified.
- Distinctive: line 140
Never send or share on the user's behalf → create drafts and ask before granting access.
“Common” is measured: kept by at least 6 in 10 of the 110 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
Nexus PRD Writer
Write proposals that a busy reader understands in ten minutes and can decide on. One live example carries the design; everything else supports it.
| Field | Value |
| Category | engineering |
| Required tools | Code search (fff/grep), Read, Bash; web search for cloud/vendor claims; a renderer (Playwright) for HTML; the user's doc store or chat-message tools when publishing |
| Required context | The ask (link or text), the code/infra it touches, the user's decisions so far |
| Expected inputs | A request thread, rough notes, an earlier draft, or "update the doc" feedback |
| Expected outputs | One self-contained HTML doc (default) or Markdown, plus a short chat summary |
Philosophy
- Problem: design docs fail by being long, abstract and table-heavy. Readers finish them unable to picture what runs where, so they have "zero confidence" and stop reading.
- Why it matters: a doc exists to get a decision. If the reader cannot follow one request end to end, they cannot judge it.
- Principles:
- Show, then tell. One concrete example, followed step by step with real-looking data, beats any number of concept tables.
- Every moving part has an address. For each step, say which process or service does it, whether that code is new or existing, and what it costs the systems around it.
- Claims carry evidence. File:line, command and date, or "not verified". A confident wrong claim costs more than an admitted gap.
Context Acquisition
Collect before writing. Stop and ask only for items you cannot find.
| Signal | How to collect |
| The original ask, verbatim | Read the thread/ticket/link; quote one sentence of it |
| What exists today | Search the code for the tables, endpoints and jobs involved; read the top hits |
| Where each new piece would run | Find the entry point (main, worker, handler) of every service the design touches |
| Shared resources | Check infra code for shared databases, queues and connection limits |
| Retention and limits | Read config for TTLs, size caps, batch sizes; check live config when a claim depends on it |
| The user's decisions | Re-read the conversation; list only what the user actually decided |
| Destination | Ask once if unknown: HTML in the user's doc store (default) or Markdown in the repo |
Stop and ask when the design depends on a fact you could not verify and cannot mark as an assumption, such as a compliance rule, a production setting you lack access to, or who the reader is.
Workflow
- Restate the ask. Write the problem in at most 3 bullets and the decision the reader must make. Failure signal: you cannot name the decision.
- Verify the ground. For each fact the design rests on, record its source (
path:line, command and date). Mark unverified facts as such. Failure signal: a claim about a live system with no date. - Challenge before agreeing. If the user proposed an approach, list its real strengths and real weaknesses, and propose a better option if one exists. Never rubber-stamp it. Output: the alternatives, each with a one-line reason it was not chosen.
- Pick one design to present. The doc shows one design. The others go in a collapsed "Other designs we considered" section.
- Draw the picture. Make one flow diagram of the whole idea, split into "when X happens" and "when someone uses it", with new parts highlighted. Add a sequence diagram for any flow with more than 3 hops. Inline SVG, theme-aware.
- Write the live example. Use one realistic scenario, labeled as invented data, as numbered steps 0…N. Each step names the actor, shows the actual payload or request, and shows the resulting rows or response. Include what is dropped or not stored. End with what the user sees.
- Add one interactive box when data shape matters, e.g. "edit this input and see what gets stored". Skip it when there is no data transformation.
- Answer the reader's fears in bullets. Cover these sections: Will it slow anything down? (one bullet per touched system, with "not measured" where true), If something breaks, and Data safety when PII/PHI is involved.
- Write the Decisions section. Use two lists: Made by you (dated, one line each, with several iterations on one topic merged into one entry) and Still open (each with an owner or the next step). Your own recommendations are never listed as the user's decisions.
- Write the plan. Use at most 5 steps, then one "To undo" line.
- Collapse the reviewer details. Put schema/DDL, alternatives and "what was checked, and how" in
<details>. - Render and check. Check desktop, a 390px phone width and dark mode. There must be no horizontal overflow and no JS errors, and every diagram must be screenshot and looked at. Failure signal: overlapping SVG labels.
- Publish and hand off. Upload as a new revision of the same asset rather than a new link. Before anyone is sent the link, check they have access. Draft messages; do not send unless asked.
Doc Skeleton (HTML default)
Header: kicker (project · version N · date · status), title (2–4 words), one-line lede, inline nav
1 The problem 3 bullets + the decision needed
2 The idea in one picture flow SVG + one-line caption
3 Live example numbered steps 0…N with payloads, rows, request, response; optional try-it box
4 Will it slow anything down? bullets per system
5 If something breaks bullets
6 Data safety bullets (only if sensitive data)
7 Decisions Made by you · Still open
8 Plan ≤5 steps + undo
9 Details for reviewers <details>: schema · other designs · what was checkedTarget length: under 30 KB of HTML, and readable in 10 minutes. A full worked reference is in examples/step-search.md.
Heuristics
- IF a table explains a concept (pros/cons, terms, choices) THEN rewrite it as bullets or a diagram, BECAUSE the user reads concept tables as noise. Keep tables only for actual data rows and schemas.
- IF a term would need explaining (flatten, ingest, payload, idempotent, partition) THEN replace it with plain words or define it in the same sentence, BECAUSE the doc must read without a glossary.
- IF the design adds work to a hot path (request handler, run executor) THEN say so explicitly and offer an option that moves it off that path, BECAUSE "will it slow X" is the first question reviewers ask.
- IF two services share a database, queue or cluster THEN state the shared resource and the measured headroom, or say "not measured", BECAUSE "independent" is false when capacity is shared.
- IF sensitive fields are filtered THEN default to an allow-list (store only named fields), BECAUSE a deny-list silently passes new fields.
- IF the user iterated on one topic several times THEN record one decision with the final position, BECAUSE the log is for outcomes, not history.
- IF a revision changes a recommendation THEN state the change once, in the affected section, BECAUSE silent reversals destroy trust. Do not add a running changelog to the body.
- IF the doc exceeds ~30 KB or ~12 screens on desktop THEN cut or collapse, BECAUSE length was the original complaint.
Failure Modes
| Failure mode | Trigger | Mitigation |
| Text-only design | The flow is described in prose, with no diagram | Step 5 is mandatory, and every hop gets a lane |
| Reader can't place the code | A step says "the API does X" without naming the process | Every step names the service and process, and says whether it is new or existing |
| Overclaimed safety | "Never affects runs" when capacity is shared | Heuristic on shared resources; date and method on infra claims |
| Agreeing with the user's idea | The user proposes an approach and the doc adopts it untested | Step 3 critique, with alternatives in the doc |
| Decision log bloat | Every chat turn is logged as a decision | Merge per topic; user decisions only |
| Recipient can't open the doc | Owner-only link sent | Check access before drafting the message |
| Broken render | SVG labels overlap, or the page scrolls sideways on phone | Step 12 screenshots |
Validation
- The problem fits in 3 bullets and names the decision needed
- One flow diagram plus a sequence diagram for any flow over 3 hops
- The live example has numbered steps, real-looking payloads and resulting rows, and shows what is not stored
- Every new component says where it runs and whether it is new or existing
- Every touched system has a "slow it down?" bullet
- Concept tables: zero. Data/schema tables only.
- Decisions separate the user's decisions (dated, merged) from open items
- Every infra or live-system claim has a source and date, or is marked unverified
- Rendered on desktop, phone and dark; 0 overflow; 0 JS errors
- Confidence stated: High (all load-bearing claims verified), Medium (some measured gaps), Low (key facts unverified)
Output Contract
| Field | Required | Description |
| findings | yes | The doc itself: path and published link or revision |
| evidence | yes | The "what was checked, and how" list inside the doc |
| confidence | yes | High/Medium/Low with the reason, in the chat summary |
| risks | yes | The open decisions and unmeasured costs, in the doc and summarized in chat |
| recommendations | yes | The single chosen design, with alternatives collapsed |
| next_actions | yes | Plan steps, plus what the user must answer next |
The chat summary is crisp: what changed, link, the 1–2 calls that were yours rather than the user's, and one question if needed.
Anti-Patterns
- Never explain concepts in tables → use bullets or a diagram; reserve tables for data.
- Never write "how it works" as prose only → draw lanes and number the steps.
- Never present 3 designs as equals in the body → pick one; collapse the rest with reasons.
- Never log the assistant's recommendations as the user's decisions → keep "Made by you" honest.
- Never state that something exists or is absent in a live system without a date and method → or mark it unverified.
- Never send or share on the user's behalf → create drafts and ask before granting access.
See anti-patterns/common-mistakes.md, checklists/execution-checklist.md and validation/output-validation.md.
Example (abridged)
Input: "Read this Slack thread and prepare a plan. Filter runs by a step's result, e.g. active_malignancy = true. Don't query Hatchet." Followed later by "I can't visualize the implementation, zero confidence. Too many tables."
Output: an HTML doc titled "Step Search", about 27 KB, with these sections:
- The problem: only branches are saved, for 14 days; step outputs live in the engine for 30 days and can be read one run at a time.
- One picture: run finishes → run id on queue → copier reads the engine once → two tables; search reads only the tables.
- Live example: "Lung nodule follow-up". The author picks 4 fields, the run returns JSON including
patient_name, and the copier keeps the 4 fields. The two tables are shown with actual rows, then the search request, SQL, and "37 match · 3 not copied yet". - Decisions, made by you: "Searches never query the engine (11-19)"; "Copying is queue-based and separate from runs and the API (11-20)". Still open: compliance sign-off, engine read cost, picked-only fields, branch-only alternative.
- Details: collapsed DDL, alternatives (executor push, engine polling, copier in-process), and a checked-claims list with file:line and dates.
Full reference: examples/step-search.md.
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.

