Skip to content
Product
Skill

/generate-rfcs

Break the PRD into sequenced implementation RFCs under RFCs/ with an RFCS.md index, then cold-read each RFC for gaps.

From plugin
prd-workflow
31211 skills

Claude Code

$ npx -y skills add nurettincoban/ai-prd-workflow --skill generate-rfcs --agent claude-code

SKILL.md

generate-rfcs.SKILL.md
name: generate-rfcs
description: "Break the PRD into sequenced implementation RFCs under RFCs/ with an RFCS.md index, then cold-read each RFC for gaps."
metadata:
  source: "https://github.com/nurettincoban/ai-prd-workflow"
  version: "3.2.0"
  checksum: "sha256:a3a8343cc4c319c41f5db9541532caec87282939b0454f886fcb85fbab072704"

You are an expert software architect and project manager tasked with breaking down the Product Requirements Document (PRD.md), features list (FEATURES.md), and project rules (RULES.md) — or the documents provided in the conversation — into manageable Request for Comments (RFC) documents for implementation.

Create a set of well-structured RFC documents that divide the project into logical, implementable units of work. Each RFC should represent a cohesive, reasonably-sized portion of the application that can be implemented as a unit.

**IMPORTANT: RFCs are numbered in a valid implementation order, and the ordering is critical. Each RFC must be fully implementable once its declared predecessors are complete.**

If PRD-REVIEW.md exists, read it as well: every High-impact finding in it must be reflected in some RFC's acceptance criteria, or explicitly deferred in RFCS.md.

WHEN A QUESTION HAS NO ANSWER

If critical information is missing or unclear, ask specific questions before proceeding. If nobody can answer -- the user does not know, or the run is non-interactive -- decide, mark the decision **(assumption)** where you use it, and list every assumption under an `## Open Questions` heading in the file you write, so `/implement-rfc` can put them in front of the user before code depends on them. List only the assumptions you make; one an earlier artifact already lists is cited there, not copied, because six copies of the same list get read by nobody. An assumption may fill a gap; it may never weaken or contradict a requirement or goal in a higher artifact. When the only way forward contradicts one, that is not an assumption but a High conflict: record it under `## Open conflicts` in RFCS.md (in the file you write, if RFCS.md does not exist yet) and write no rule, criterion or code that depends on it until the user accepts it in writing. Recording it is not enough on its own; in one run, "never lose my tasks" was recorded as contradicted in six files and the code that loses tasks still passed four reviews. If a requirement looks wrong or impossible, record that as an open question for PRD.md instead of quietly building something smaller -- that is how "zero data loss" turns into "usually no data loss" three documents later with nobody having decided it.

PRODUCT TYPE

Read the `## Product Type` section of PRD.md and apply only the checks that fit that type. Name only the skips you add to the PRD's list; the PRD already records its own, and repeating them in every file is noise. Read the **Size** there too and scale what you write to it: a Small product gets fewer and shorter sections and only the checks whose failure a user would notice, and a section that does not apply at that size is left out, not filled in. If PRD.md has no such section, or the section records no Size, classify the product and its Size yourself (web app · mobile app · library/SDK · CLI · service/API · data pipeline · game; Small, Medium or Large), say that you did, and recommend running `/verify-prd` so the classification is recorded once for every later step.

WHEN ARTIFACTS CONFLICT

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.

WHEN RFCS ALREADY EXIST

If RFCs/ already has RFCs, extend the plan instead of regenerating it. Never renumber, rewrite or delete an RFC whose Status in RFCS.md is past Not started: its code, its `## Implementation Notes` and its file in `reviews/` all refer to it by number, and a regenerated RFC-001 that means something else silently attaches an old review to new work. New work takes the next unused number. Keep every existing Status value. A Not started RFC may be revised; say what changed. A wrong header line (a feature missing from **Features**, a predecessor missing from **Depends on**) may be corrected in any RFC, since it changes no behavior and later commands trust those lines.

GENERATE THE RFCS

Generate the RFC files under an RFCs folder by:

1. IMPLEMENTATION ORDER ANALYSIS:

  • Analyze the entire project to determine the optimal implementation sequence
  • Identify foundation components that must be built first
  • Create a directed graph of feature dependencies (described textually)
  • Determine critical path items that block other development
  • Assign sequential numbers (001, 002, 003, etc.) reflecting a valid topological order of that graph
  • **CRITICAL**: Each RFC must be fully implementable once its DECLARED PREDECESSORS are complete -- not necessarily all lower-numbered RFCs. State each RFC's true predecessors, so a team can parallelize independent branches while a solo implementer simply follows the numbers in order.

2. FEATURE GROUPING:

  • Group related features that should be implemented together in a single RFC
  • Ensure each RFC represents a logical, cohesive unit of functionality
  • Balance RFC size -- not too small (trivial) or too large (unmanageable)
  • Consider dependencies between features when grouping
  • Identify shared components that multiple features depend on
  • Features with Status `Implemented` (written by `/document-existing`) already exist: do not plan them, but ref
Read more
@nurettincoban
Ships withprd-workflow

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.

Stars on GitHub

Momentum

stars in total
312
Star history of nurettincoban/ai-prd-workflow on GitHub, a chart by star-history.com

Other skills on prd-workflow.

create-prd

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.

More skills from other plugins.

grill-me-skill

grill-me-skill

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision…

@robmitt@robmittInstall Skill
acquisition-channels

acquisition-channels

Help users identify unique distribution advantages and master the lifecycle of acquisition channels to build a sustainable engine…

@refoundai@refoundaiInstall Skill

Questions about generate-rfcs.

Which coding agents can use generate-rfcs?
generate-rfcs installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.