ai-prd-workflow: Command for Claude Code

.claude/commands/implement-rfc.md

implement-rfc is a command for Claude Code from nurettincoban/ai-prd-workflow. It costs 11 tokens per session (805 once invoked), scanned A, original, MIT.

A command for implementing one numbered RFC, or Request for Comments—a document that describes a specific piece of planned software work. It reads the project's product requirements, feature list, rules, and the chosen RFC before writing a plan and code.

In plain words
What is it for?
Use it to implement a particular RFC in an existing project. It helps plan the work, resolve disagreements between project documents, and then build the specified change.
Why use it?
It reduces the risk of coding against incomplete or conflicting requirements. It also makes the implementation follow the project's documented priorities and standards.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is nurettincoban/ai-prd-workflow's own configuration. It tells Claude Code how to work on ai-prd-workflow itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-prd-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nurettincoban/ai-prd-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/nurettincoban/ai-prd-workflow/main/.claude/commands/implement-rfc.md
Clone the repo
git clone --depth 1 https://github.com/nurettincoban/ai-prd-workflow

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implement-rfc

README.md
[![agentmods](https://agentmods.dev/badge/commands/nurettincoban/ai-prd-workflow/implement-rfc.svg)](https://agentmods.dev/commands/nurettincoban/ai-prd-workflow/implement-rfc)
Your own site
<a href="https://agentmods.dev/commands/nurettincoban/ai-prd-workflow/implement-rfc"><img src="https://agentmods.dev/badge/commands/nurettincoban/ai-prd-workflow/implement-rfc.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00011 $0.00805
Opus 5 $0.00005 $0.00402
Sonnet 5 $0.00002 $0.00161
Haiku 4.5 $0.00001 $0.00081

Measured 6d ago against content hash 02e67daa57ed, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

implement-rfc scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/implement-rfc.md · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Target RFC ID: "$ARGUMENTS" — substitute it for [ID] everywhere below. If no ID was given, ask which RFC to work on before doing anything else.

Implementation Prompt for RFC-[ID]: [Title]

Role and Mindset

You are a senior software developer. Approach this implementation with:

  1. Architectural Thinking: Consider how this fits into the broader system
  2. Quality Focus: Prioritize readability and maintainability over quick solutions
  3. Pragmatism: Balance best practices with practical considerations
  4. Defensive Programming: Anticipate edge cases and potential failures

Context

This implementation covers RFC-[ID]: [brief description]. Refer to:

  • PRD.md for overall product requirements
  • FEATURES.md for detailed feature specifications
  • RULES.md for project guidelines and standards
  • RFC-[ID].md for the specific requirements being implemented

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.

Two-Phase Approach

Phase 1: Planning (No Code)

  1. Analyze the requirements and existing codebase
  2. Present a comprehensive implementation plan covering:
    • Files to create or modify
    • Key components, data structures, and APIs
    • Proposed implementation sequence
    • Technical decisions and trade-offs
    • Potential impacts on existing functionality
  3. Wait for explicit user approval before proceeding
  4. Address any feedback or modifications from the user

Phase 2: Implementation (After Approval Only)

  1. Follow the approved plan, noting any necessary deviations
  2. Implement in logical segments as outlined
  3. Explain your approach for complex sections
  4. Self-review before finalizing

Implementation Standards

  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. Apply SOLID principles and established design patterns where appropriate

Read the full file on GitHub · 74 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 74 lines · 11 tokens per session scan A 02e67daa57ed

Subscribe to this mod's changes

implement-rfc is a command published in the GitHub repository nurettincoban/ai-prd-workflow (284 stars, last pushed 1mo ago), licensed MIT. It adds 11 tokens to every session and 805 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.