create-prd
Interview the user about a product idea and write PRD.md. Use at the start of a new project, before features, rules or RFCs exist.
Implement one RFC: check its predecessors, present a plan for approval, write the code, then demonstrate every acceptance criterion.
Claude Code
$ npx -y skills add nurettincoban/ai-prd-workflow --skill implement-rfc --agent claude-code
Codex
$ npx skills add nurettincoban/ai-prd-workflow --skill implement-rfc -a codex -y
Cursor
$ npx skills add nurettincoban/ai-prd-workflow --skill implement-rfc -a cursor -y
Gemini CLI
$ npx skills add nurettincoban/ai-prd-workflow --skill implement-rfc -a gemini-cli -y
GitHub Copilot
$ npx skills add nurettincoban/ai-prd-workflow --skill implement-rfc -a github-copilot -y
OpenCode
$ npx skills add nurettincoban/ai-prd-workflow --skill implement-rfc -a opencode -y
Windsurf
$ npx skills add nurettincoban/ai-prd-workflow --skill implement-rfc -a windsurf -y
name: implement-rfc description: "Implement one RFC: check its predecessors, present a plan for approval, write the code, then demonstrate every acceptance criterion." argument-hint: "<rfc-id>" metadata: source: "https://github.com/nurettincoban/ai-prd-workflow" version: "3.2.0" checksum: "sha256:f4d5a8a201cd1108178bfa01b2eb1932ce93a42f667b3bbf34fad721c019ca3b"
Target RFC ID: "$ARGUMENTS" -- if that still reads as a literal placeholder, use the RFC ID from my message instead. Substitute it for [ID] everywhere below. If no ID was given, ask which RFC to work on before doing anything else.
This implementation covers RFC-[ID]. Refer to:
Order of authority: PRD.md > FEATURES.md > RULES.md > RFCs > generated plans. Where this prompt's generic guidance conflicts with RULES.md, RULES.md wins -- it was written for this project and this prompt was not. Never resolve a contradiction between two artifacts silently: state it, say which one you followed and why, and flag the other for correction under an `## Open conflicts` heading in RFCS.md (in the file you write, if RFCS.md does not exist yet). `/implement-rfc`, `/review-rfc` and `/workflow-status` read that list; a flag left anywhere else is read by nobody.
1. Check the RFC's declared predecessors. Each must have Status Implemented or Reviewed in RFCS.md; Changes requested and Spec changed do not count, because the interface may still change. If any falls short, stop and tell me which one -- code built on a missing predecessor is written against an interface nobody has built. Continue only if I explicitly tell you to 2. Analyze the requirements and existing codebase 3. Present a comprehensive implementation plan covering:
4. Wait for explicit user approval before proceeding 5. Address any feedback or modifications from the user
If nobody can approve -- the run is non-interactive -- write the plan into `## Implementation Notes` and proceed only if no open High conflict touches this RFC; otherwise stop and report it. Record in the notes that the plan was not approved, so the reviewer and `/workflow-status` can see it.
Set this RFC's Status in RFCS.md to In progress when you start. 1. Follow the approved plan. Record every deviation from the RFC or the plan in the RFC file itself, under a final `## Implementation Notes` section: what changed, why, and whether I approved it. The reviewer works in a fresh session from the files alone -- a deviation explained only in chat is indistinguishable from a bug 2. Implement in logical segments as outlined 3. Explain your approach for complex sections 4. Self-review before finalizing
1. Follow all conventions in RULES.md 2. Do not create workarounds. If you encounter a challenge: a. Explain the challenge clearly b. Propose a proper architectural solution c. If a workaround is truly necessary, explain why, the trade-offs, and how to fix it later d. Flag workarounds with `WORKAROUND: [explanation]` in comments e. Never implement a workaround without user approval 3. Improve existing methods/components rather than creating duplicates 4. Test what can go wrong, not only what the criteria list. A criterion such as "fsync is called before the rename" is met by a test that checks the call order, and that test still passes when the data written before the fsync is empty. For each property a user relies on (no data lost, no partial file, the right exit code), break the code on purpose and check that a test fails
Only implement features in this RFC. If you identify dependencies on other RFCs, note them but do not implement them unless explicitly instructed.
1. All code changes necessary to implement the RFC 2. Necessary tests per the project's testing standards 3. Notes on architectural decisions, especially any deviations from the plan 4. **STATUS** -- set this RFC's Status in RFCS.md to Implemented once the verification below passes; leave it In progress, and say why, if it does not. This applies to a fix round after Changes requested too: Implemented means "waiting for review", and only `/review-rfc` sets Reviewed. In a fix round, fix every blocking issue in the last review round and every follow-up marked **(blocking)** against this RFC, and mark each follow-up you fixed `[CLOSED in <round>]` in RFCS.md: nobody else closes them, and a list that only grows
Idea or existing code → verified PRD → features → rules → sequenced RFCs → reviewed, tested code AI coding agents write code well. They are worse at deciding what to build, remembering yesterday's decisions, and noticing when two documents disagree.
Interview the user about a product idea and write PRD.md. Use at the start of a new project, before features, rules or RFCs exist.
Document an existing codebase as PRD.md, FEATURES.md and RULES.md, so new work is planned against the code as it is. Use instead…
Turn PRD.md into FEATURES.md: permanent feature IDs, MoSCoW priorities, acceptance criteria and the PRD requirement each feature…
Break the PRD into sequenced implementation RFCs under RFCs/ with an RFCS.md index, then cold-read each RFC for gaps.
Write RULES.md, the project standards the AI must follow, with registry-verified dependency versions and permanent rule IDs.
Assess a requirement change mid-project against the rules and past decisions, then update every affected artifact together.
Your board of directors. Puts a business idea in front of a three-member board, each a sub-agent reading the idea through one…
Manage Codex Taskboard issues and taskctl setup when the request names Codex Taskboard, e-taskboard, or taskctl, or the…
Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision…
Help users identify unique distribution advantages and master the lifecycle of acquisition channels to build a sustainable engine…