write-prd
Skill1 starsChanged 8 months agoMITView on GitHub
Create a PRD through user interview, codebase exploration, and module design, then save it as a local file. Use when user wants to write a PRD, create a product requirements document, or plan a new feature.
17 other projects use a version of this, 4 of them edited.
Adopted by
Most recently taken up by
- tam159/next-roletheir own version, first seen Oct 4, 2026
- kdy1/kdy1-scriptstheir own version, first seen Oct 4, 2026
- joshflippance/ai-product-workflowtheir own version, first seen Sep 21, 2026
- kaiitunnz/claude-skillstheir own version, first seen Sep 8, 2026
- cyrasafia/zl-skillstheir own version, first seen Sep 8, 2026
- RizwanZafaris/product-manager-OStheir own version, first seen Sep 3, 2026
Used with
Projects with it also use tdd.
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.
AWSSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 4
- Code-Shock/claude-skills★ 545% same
- RhyG/skills★ 293% same
- atalariq/skills★ 146% same
- niftymonkey/skills★ 157% same
Wrote their own version · 13
- konglong87/superPM★ 71same name
- tam159/next-role★ 62same name
- digoal/skills★ 39same name
- kdy1/kdy1-scripts★ 9same name
- Sir-chawakorn/sanook-cli★ 9same name
- RizwanZafaris/product-manager-OS★ 4same name
- evgenii-studitskikh/Claude-Code-SaaS-Studio★ 1same name
- kaiitunnz/claude-skills★ 1same name
- theDRElabs/opencode-config★ 1same name
- aranticlabs/agentic-engineering★ 0same name
3 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 repository9 other files it gives its agents.
- skill-creatorSkill
- find-buggy-commitSkill
- git-commitSkill
- npm-security-best-practicesSkill
- root-cause-tracingSkill
- systematic-debuggingSkill
- systems-thinkerSkill
- testingSkill
- zero-tech-debtSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
3
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 8
Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions.
- Distinctive: line 18
Check with the user that these modules match their expectations.
- Very specific: line 24
Create the .prds/ directory if it does not exist.
- Distinctive: line 66
Do NOT include specific file paths or code snippets.
“Common” is measured: kept by at least 6 in 10 of the 14 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
This skill will be invoked when the user wants to create a PRD. You may skip steps if you don't consider them necessary.
- Ask the user for a long, detailed description of the problem they want to solve and any potential ideas for solutions.
- Explore the repo to verify their assertions and understand the current state of the codebase.
- Interview the user relentlessly about every aspect of this plan until you reach a shared understanding. Walk down each branch of the design tree, resolving dependencies between decisions one-by-one.
- 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.
Once you have a complete understanding of the problem and solution, use the template below to write the PRD. Save it to the
.prds/directory at the root of the repository using the naming convention<YYYY-MM-DD>-<slug>.md, where:<YYYY-MM-DD>is today's date<slug>is derived from the PRD title: lowercase, words separated by hyphens, no special characters
Create the
.prds/directory if it does not exist. Populate the frontmatterauthorfield by runninggit config user.name.
<prd-template>
---
title: <PRD title>
date: <YYYY-MM-DD>
status: draft
author: <author name from git config>
---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.
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.

