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.
日本語の概要は準備中です。原文の説明を表示しています。
Write RULES.md, the project standards the AI must follow, with registry-verified dependency versions and permanent rule IDs.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
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:
TECHNOLOGY STACK DEFINITION:
npm view <pkg> version, pip index versions <pkg>, or the registry's latest endpoint). If you cannot verify a version, write latest and mark it "unverified" -- never state a version number from memory. Your training data is older than the registry, and a hallucinated version propagates into the dependency spec and surfaces as a confusing install or build error several steps later, far from its causeTECHNICAL PREFERENCES:
DEVELOPMENT STANDARDS:
IMPLEMENTATION PRIORITIES:
GENERAL GUIDELINES:
RULE IDS:
- **SEC-3**: rule text (ARCH-1, API-2, SEC-3, TEST-1, ...)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.
trace-check.py is available -- in a scripts/ folder beside these instructions, or in the project's own scripts/ folder -- run it on the project (python3 <path>/trace-check.py .) and fix every FAIL it reports. It checks IDs, coverage and dependencies mechanically, which reading cannot do reliably.まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
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.
日本語の概要は準備中です。原文の説明を表示しています。
Document an existing codebase as PRD.md, FEATURES.md and RULES.md, so new work is planned against the code as it is. Use instead of create-prd when the code already exists.
日本語の概要は準備中です。原文の説明を表示しています。
Turn PRD.md into FEATURES.md: permanent feature IDs, MoSCoW priorities, acceptance criteria and the PRD requirement each feature comes from.
日本語の概要は準備中です。原文の説明を表示しています。
Break the PRD into sequenced implementation RFCs under RFCs/ with an RFCS.md index, then cold-read each RFC for gaps.
日本語の概要は準備中です。原文の説明を表示しています。
Implement one RFC: check its predecessors, present a plan for approval, write the code, then demonstrate every acceptance criterion.
日本語の概要は準備中です。原文の説明を表示しています。
Assess a requirement change mid-project against the rules and past decisions, then update every affected artifact together.
日本語の概要は準備中です。原文の説明を表示しています。