RFC-driven development for AI coding agents: idea or existing codebase → verified PRD → features → rules → sequenced RFCs → reviewed code. Agent Skills for Claude Code, Codex, Copilot, Cursor, Gemini CLI, OpenCode, Devin.
# Add to your Claude Code skills
git clone https://github.com/nurettincoban/ai-prd-workflowGuides for using ai agents skills like ai-prd-workflow.
ai-prd-workflow is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nurettincoban. RFC-driven development for AI coding agents: idea or existing codebase → verified PRD → features → rules → sequenced RFCs → reviewed code. Agent Skills for Claude Code, Codex, Copilot, Cursor, Gemini CLI, OpenCode, Devin. It has 317 GitHub stars.
ai-prd-workflow's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/nurettincoban/ai-prd-workflow" and add it to your Claude Code skills directory (see the Installation section above).
ai-prd-workflow is primarily written in Python. It is open-source under nurettincoban on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh ai-prd-workflow against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
Idea or existing code → verified PRD → features → rules → sequenced RFCs → reviewed, tested code
🌐 Website · See a real run · Quick start · How it works · Why · Evidence · Install options
English · 简体中文 · Türkçe · 日本語 · 한국어 · Español
AI coding agents write code well. They are worse at deciding what to build, remembering yesterday's decisions, and noticing when two documents disagree. This workflow handles that part. It takes an idea — or a codebase that already exists — to a reviewed product spec (PRD), prioritized features, project rules, and small implementation specs (RFCs) in dependency order. Then it implements and reviews them one at a time.
Every step writes a markdown file that the next step reads, so decisions outlive the chat session. A script checks that the files still agree with each other. No CLI to learn, no framework to adopt, no lock-in: the commands are plain prompts, installed as skills for Claude Code, Codex, Copilot, Cursor, Gemini CLI, OpenCode and Devin.
We took the spec of a small URL shortener that our own v2.0 prompts had produced. It looks finished. We ran the commands on it, and three of the things they caught before any code existed were:
| What was there | What the workflow did |
|---|---|
| "Redirect short URL to original URL via HTTP 301" | /verify-prd: browsers cache a 301, so repeat clicks are never counted and deleted links keep redirecting. The fixed spec redirects with 302, and RFC-003 tests "never 301". |
| No user accounts, and anyone can "delete a short URL" | /verify-prd: anyone can delete anyone's link. Nobody was there to decide, so it wrote a proposed fix as an open question marked (assumption), not as a decision. |
| RFC-002 claims features F5, F6 and F11 | /workflow-status: its acceptance criteria only test the API, so the analytics page and chart those features require had nothing to make anyone build them. Every ID was cited, so a script could not see it. |
10 of 10 problems we had listed by hand, found by /verify-prd without seeing the list. (A plain agent asked to review the same PRD found them too: eval results.) 11 of 13 cross-document problems, found by the current /workflow-status in each of three runs, graded blind. The 3.1.0 prompt found 8, 9 and 8, and the new checks were written against what it missed on this same plan, so read that as a regression check, not a held-out score. 12 RFCs and 203 planned tests, generated by the 3.1.0 commands, each RFC read cold by a second model, with the readers started by hand. About an hour of agent time on Claude Opus 5.5, and nobody answered the commands' questions. Browse the whole run →
In Claude Code, install the plugin:
/plugin marketplace add nurettincoban/ai-prd-workflow
/plugin install prd-workflow@ai-prd-workflow
[!IMPORTANT] Restart Claude Code now. A running session does not see new skills, so the first command fails with
Unknown skill— which looks like a broken install but is only a stale session.
Then start the interview. It takes about ten minutes, and /verify-prd tells you within a few more whether this is for you:
/prd-workflow:create-prd
/prd-workflow:verify-prd
Install the skills into your project:
cd your-project
curl -fsSL https://raw.githubusercontent.com/nurettincoban/ai-prd-workflow/main/install.sh | bash -s -- .
Restart your tool after installing, for the same reason. In Codex, type $create-prd instead of /create-prd. In a chat assistant (ChatGPT, Claude.ai, …), copy a prompt from the command table and paste it in.
The full sequence, shown with the short names that install.sh gives the commands. With the plugin, each one carries the prefix: /prd-workflow:extract-features.
/create-prd # interview → PRD.md (existing code? use /document-existing instead)
/verify-prd # gaps and contradictions → improved PRD.md + PRD-REVIEW.md
/extract-features # → FEATURES.md
/generate-rules # → RULES.md
/generate-rfcs # → RFCs/ + RFCS.md, in dependency order
/test-strategy # → TEST-STRATEGY.md, before any test is written
/implement-rfc 001 # plan → your approval → code → proof that it works
/review-rfc 001 # review in a fresh context → reviews/REVIEW-RFC-001.md
Run /workflow-status whenever you are unsure what comes next, and /manage-changes when requirements change.
Not every project needs every step. The interview records the project's size, and the commands that write documents are told to scale to it: about ten rules and one to three RFCs for a weekend tool. No example shows that yet: the todo-cli run's rules and RFCs were written before this change, and it shows what happens without it (56 rules for 478 lines). To add one feature to a codebase you already have, run /document-existing once, then /manage-changes for the feature, /generate-rfcs (it extends the existing plan) and /implement-rfc. /test-strategy is optional when the RFC's criteria already say how to test them.
Or try it on the example. The before/ folder looks complete, and it is not. Copy it, so the original stays for comparison:
git clone https://github.com/nurettincoban/ai-prd-workflow.git
cp -r ai-prd-workflow/examples/url-shortener/before linksnip
ai-prd-workflow/install.sh linksnip
Open linksnip in your AI tool, run /workflow-status or /verify-prd (install.sh installs project skills, so there is no prefix), and compare the result with the problems we found by hand and with what our run produced.
flowchart TB
subgraph define ["1 · Define what to build"]
direction LR
idea([💡 New idea]) --> create["/create-prd"] --> verify["/verify-prd"]
code([🗂️ Existing code]) --> document["/document-existing"] --> verify
end
subgraph plan ["2 · Plan how to build it"]
direction LR
features["/extract-features"] --> rules["/generate-rules"] --> rfcs["/generate-rfcs"] --> tests["/test-strategy"]
end
subgraph build ["3 · Build it, one RFC at a time"]
direction LR
implement["/implement-rfc"] --> review["/review-rfc"]
review -.->|next RFC| implement
end
subgraph anytime ["Anytime"]
direction LR
changes["/manage-changes"] ~~~ status["/workflow-status"]
end
define --> plan --> build
build ~~~ anytime
| Command | What it does | Writes | Prompt |
|---|---|---|---|
/create-prd |
Interviews you about the idea, a few questions at a time | PRD.md |
view |
/document-existing |
Reads an existing codebase, then asks what the code cannot tell it | PRD.md, FEATURES.md, RULES.md |
view |
/verify-prd |
Finds gaps, contradictions, and claims that cannot be built as written | PRD.md, PRD-REVIEW.md |
view |
/extract-features |
Turns requirements into features with permanent IDs and MoSCoW priorities | FEATURES.md |
view |
/generate-rules |
Sets the standards the agent must follow, with dependency versions checked against the registry | RULES.md |
view |
/generate-rfcs |
Splits the work into small RFCs in dependency order, then checks each one for gaps with a fresh reader | RFCs/, RFCS.md |
view |
/test-strategy |
Plans the tests for each RFC before they are written | TEST-STRATEGY.md |
view |
/implement-rfc <id> |
Plans, waits for your approval, writes the code, then runs the build and tests to prove each criterion | code, RFC status | view |
/review-rfc <id> |
Reviews the code against the RFC, the rules, and the test plan, in a fresh context | reviews/ |
view |
/manage-changes |
Checks a change against past decisions and rules, then updates every affected file together | changes/ |
view |
/workflow-status |
Reports what is done, what has drifted, and what to do next | — | view |
A few rules hold it together: