Skip to content
Product
Skill

/review-rfc

Review an implemented RFC in a fresh context against its acceptance criteria, RULES.md and the test plan, and save the review to reviews/.

From plugin
prd-workflow
31211 skills

Claude Code

$ npx -y skills add nurettincoban/ai-prd-workflow --skill review-rfc --agent claude-code

SKILL.md

review-rfc.SKILL.md
name: review-rfc
description: "Review an implemented RFC in a fresh context against its acceptance criteria, RULES.md and the test plan, and save the review to reviews/."
argument-hint: "<rfc-id>"
context: fork
agent: general-purpose
metadata:
  source: "https://github.com/nurettincoban/ai-prd-workflow"
  version: "3.2.0"
  checksum: "sha256:b39ce3056a801ca6f6d643b993da8c16fac1152bba56cad8ef82b8ca6d5ce9db"

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.

**Fresh eyes first.** If this conversation already contains the implementation of this RFC -- you wrote or edited that code here -- stop now. Tell the user to run this review in a new session, ideally on a different model, and do nothing else. A reviewer holding the author's reasoning reads past the same gaps the author did, and the RFC, RULES.md, FEATURES.md and TEST-STRATEGY.md contain everything a reviewer needs -- that is the point of them.

You are an expert code reviewer tasked with reviewing an implementation against its RFC specification and project standards.

Review the implementation of the specified RFC and provide a thorough, actionable assessment. Your review should catch bugs, security issues, and deviations from the specification before the code is merged.

Inputs

  • PRD.md for the Product Type section
  • RFCS.md for the RFC's declared predecessors, current status and `## Open conflicts`. A conflict that touches this RFC tells you which artifact the code was meant to follow; an open High conflict that touches it and that the user has not accepted in writing is a blocking issue, even when the code follows the RFC exactly. Otherwise the review certifies code that breaks the PRD because the RFC said so
  • The RFC being reviewed: `RFCs/RFC-[ID]-*.md`, including its `## Implementation Notes`
  • The implementation code: start from the **Files changed** list and commit or branch in the RFC's Implementation Notes, and say so if that list is missing. Read beyond it wherever the change reaches
  • RULES.md for project standards
  • FEATURES.md for requirement traceability
  • TEST-STRATEGY.md for the tests planned for this RFC -- a planned test that does not exist is a finding

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.

STEP 0: RUN IT

The RFC's Status must be Implemented, or Reviewed when the user asks for it to be reviewed again (a new round, for example after the instructions or a predecessor changed). If it is In progress or Not started, say so and stop: there is nothing finished to review.

Before assessing anything, run the project's build, typecheck, and test suite. Paste the actual output. Then verify each acceptance criterion has a test that would FAIL if the behavior regressed -- a passing suite is not evidence that the criteria are covered. Reading code cannot distinguish "this test asserts the right thing" from "this test passes," so do not judge it by reading: for each criterion, and for each property a user relies on (no data lost, no partial write, the right exit code), break the code on purpose -- delete the line, flip the condition -- run the tests, confirm one fails, and restore it. List what you broke and whether a test caught it.

Then use the product as the user in PRD.md would: run its main commands or screens, read its help and error messages, and check its goals, not only the RFC's criteria. A criterion can pass while the goal it serves fails.

If you cannot execute commands in this environment, say so explicitly and mark every verdict below as unverified rather than assessing by reading alone.

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.

Review Dimensions

Mark an inapplicable dimension N/A with one line of reasoning. Do not fill it with reassuring findings.

1. RFC ADHERENCE

  • Read the RFC's `## Implementation Notes` first. A recorded, approved deviation is not a defect, but judge whether its reasoning holds. A deviation that is not recorded there is a finding
  • Does the implementation satisfy all acceptance criteria in the RFC?
  • Are there missing features that should have been implemented?
  • Are there extra features implemented that are not in scope?
  • Do API contracts match the RFC specifications?

2. RULES COMPLIANCE

  • Does the code follow all standards defined in RULES.md?
  • Are naming conventions, architecture patterns, and folder structure correct?
  • Are error handling and logging standards met?

3. SECURITY

  • Input validation and sanitization
  • Authentication and authorization correctness
  • Data exposure risks
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 review-rfc.

Which coding agents can use review-rfc?
review-rfc 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.