create-prd
Interview the user about a product idea and write PRD.md. Use at the start of a new project,…
Write RULES.md, the project standards the AI must follow, with registry-verified dependency versions and permanent rule IDs.
$ npx -y skills add nurettincoban/ai-prd-workflow --skill generate-rules --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/generate-rulesContext preview
The summary Claude sees to decide when to auto-load this skill.
Write RULES.md, the project standards the AI must follow, with registry-verified dependency versions and permanent rule IDs.
name: generate-rules description: "Write RULES.md, the project standards the AI must follow, with registry-verified dependency versions and permanent rule IDs." metadata: source: "https://github.com/nurettincoban/ai-prd-workflow" version: "3.0.0" checksum: "sha256:e73eec431881b67f87a10c9a917bf5d56f886d0d24a06df4263d123e5fcd733f"
You are an expert software architect and technical lead tasked with creating a comprehensive RULES.md file based on the Product Requirements Document (PRD.md) and features list (FEATURES.md), or the documents provided in the conversation. If PRD-REVIEW.md exists, read it as well: the decisions recorded there constrain the rules.
Create a clear, structured RULES.md that establishes technical and general guidelines for AI assistance during the development process. These rules will ensure consistency, quality, and alignment with project requirements.
If any critical information is missing or unclear, ask specific questions before proceeding.
Read the **Product Type** section of PRD.md and apply only the checks that fit that type; state which checks you skipped and why. Skipping must be visible, never silent. If PRD.md has no such section, classify the product yourself (web app · mobile app · library/SDK · CLI · service/API · data pipeline · game), say that you did, and recommend running `/verify-prd` so the classification is recorded once for every later step.
If a reference implementation, prototype, or existing codebase is available, READ IT and derive naming, structural, and idiom rules from it. Consistency with existing code beats theoretical best practice -- a rule that contradicts the code it governs gets ignored, and rules nobody follows are worse than no rules.
Generate the RULES.md by:
1. TECHNOLOGY STACK DEFINITION:
2. TECHNICAL PREFERENCES:
3. DEVELOPMENT STANDARDS:
4. IMPLEMENTATION PRIORITIES:
5. GENERAL GUIDELINES:
6. RULE IDS:
7. AGENT CONFIGURATION:
First, provide a brief overview of the project based on the PRD and features list. Then create the RULES.md content. Ensure the rules are specific enough to guide development but flexible enough to allow for creative problem-solving.
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.
Repo: nurettincoban/ai-prd-workflow
Interview the user about a product idea and write PRD.md. Use at the start of a new project,…
Document an existing codebase as PRD.md, FEATURES.md and RULES.md, so new work is planned…
Turn PRD.md into FEATURES.md: permanent feature IDs, MoSCoW priorities, acceptance criteria…
Break the PRD into sequenced implementation RFCs under RFCs/ with an RFCS.md index, then…
Implement one RFC: check its predecessors, present a plan for approval, write the code, then…
Assess a requirement change mid-project against the rules and past decisions, then update…