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.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
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.
中文简介正在准备中。当前显示原文说明。