00-workflow

A project rule set describing a four-stage workflow: design, planning, implementation, and testing. It is written in Chinese and defines documents, roles, entry conditions, exit conditions, and status labels for each stage.

In plain words
What is it for?
It is for organizing product requirements, implementation plans, code and unit tests, and final testing through defined project phases.
Why use it?
It helps a team know what must be prepared before coding and what evidence is needed before moving to the next stage.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/yoruto/prd-kit/00-workflow
Clone the repo
git clone --depth 1 https://github.com/Yoruto/prd-kit

Made for: Cursor.

Per session 762 This file is loaded in full into every session.
When invoked 762 The same file — it is already loaded in full.
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 $0.00762 $0.00762
Opus 5 $0.00381 $0.00381
Sonnet 5 $0.00152 $0.00152
Haiku 4.5 $0.00076 $0.00076

Measured yesterday against content hash 29984a8cb77d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

00-workflow 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 yesterday.

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.

.cursor/rules/00-workflow.mdc · 58 lines

What it actually says

项目协作主流程

四阶段模型

┌─────────────┐    ┌─────────────┐    ┌─────────────┐    ┌─────────────┐
│  1. 设计阶段  │ → │  2. 规划阶段  │ → │  3. 实现阶段  │ → │  4. 测试阶段  │
│  10-design  │    │ 15-planning │    │ 20-impl     │    │ 30-testing  │
└─────────────┘    └─────────────┘    └─────────────┘    └─────────────┘
      ↓                  ↓                  ↓                  ↓
   设计/PRD          实施计划            代码产出           测试通过

各阶段核心产出

阶段 核心产出 负责人角色
设计 设计文档 + PRD 产品经理
规划 实施计划(任务拆解 + 依赖排序) 架构师
实现 代码 + 单元测试 开发工程师
测试 测试报告 + 发布包 QA / 开发

阶段准入准出

阶段 准入条件 准出标准 状态标记
设计 项目启动 设计评审通过 design: stable
规划 PRD active 实施计划确认 plan: ready
实现 plan: ready 代码完成 + 自测通过 impl: done
测试 impl: done 所有测试通过 test: passed

阶段衔接检查点

  • 设计 → 规划:确认 PRD 状态为 active,技术方案清晰
  • 规划 → 实现:确认实施计划 plan: ready,关键路径已识别
  • 实现 → 测试:确认代码已提交,单元测试已编写

各阶段详细规则

阶段 规则文件 触发条件 角色
设计 10-design.mdc docs/design/**/*.md, docs/prd/**/*.md 产品经理
规划 15-planning.mdc docs/plan/**/*.md, docs/prd/active/**/*.md 架构师
实现 20-implementation.mdc 代码文件, alwaysApply 开发工程师
测试 30-testing.mdc **/*.test.*, **/*.spec.*, tests/** QA

阶段角色说明

  • 产品经理(10-design):关注用户需求、产品价值、功能范围
  • 架构师(15-planning):关注系统拆解、依赖关系、技术风险、实施顺序
  • 开发工程师(20-implementation):关注代码质量、功能实现、单元测试
  • QA(30-testing):关注测试覆盖、缺陷发现、发布质量
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. yesterday First seen · 58 lines · 762 tokens per session scan A 29984a8cb77d

Subscribe to this mod's changes

00-workflow is a cursor rule published in the GitHub repository Yoruto/prd-kit (2 stars, last pushed 4mo ago), licensed MIT. It adds 762 tokens to every session, about $0.0038 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-31.