validate-plan

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Validate Plan

验证计划

Overview

概述

Comprehensive validation workflow for development implementation plans. This skill systematically analyzes plans against DRY (Don't Repeat Yourself), YAGNI (You Aren't Gonna Need It), and TDD (Test-Driven Development) principles while performing codebase-aware gap analysis to prevent implementation disasters.
Use when:
  • Reviewing implementation plans created by the Pocket planning workflow or another source
  • Validating development plans before execution
  • Checking plans for DRY/YAGNI/TDD compliance
  • Preventing over-engineering and scope creep
  • Ensuring test-first approach in development workflow
Triggers:
/validate-plan
or "Validate this implementation plan"

用于开发实施计划的全面验证工作流。该 skill 会依据 DRY(Don't Repeat Yourself)、YAGNI(You Aren't Gonna Need It)和 TDD(Test-Driven Development)原则系统分析计划,并结合代码库上下文执行差距分析,从而避免实施灾难。
适用场景:
  • 审查由 Pocket 规划工作流或其他来源创建的实施计划
  • 在执行前验证开发计划
  • 检查计划是否符合 DRY、YAGNI 和 TDD 原则
  • 防止过度设计和范围蔓延
  • 确保开发工作流采用测试优先的方法
触发方式:
/validate-plan
或“验证此实施计划”

Validation Workflow

验证工作流

Step 1: Plan Discovery

第 1 步:计划发现

Accept either a plan file path or plan text supplied directly in the request. When invoked as a non-interactive reviewer (including the hotfix reviewer dispatch), use the supplied inline plan and do not ask questions or request a file path. If neither a path nor plan text is available in an interactive session, ask the user which plan to review.
For a file path:
  1. Load plan file
  2. Extract metadata: feature name, tech stack, hypothesis
  3. Identify all tasks and their structure
For inline plan text, perform the same analysis from the supplied content without looking for or editing a plan file.
接受请求中直接提供的计划文件路径或计划文本。以非交互式审查者身份调用时(包括 hotfix 审查者分派),使用请求中内联提供的计划,不提问,也不请求文件路径。在交互式会话中,如果路径和计划文本均不可用,则询问用户要审查哪个计划。
对于文件路径:
  1. 加载计划文件
  2. 提取元数据:功能名称、技术栈、假设
  3. 识别所有任务及其结构
对于内联计划文本,基于所提供的内容执行相同分析,不查找或编辑计划文件。

Step 2: Codebase Analysis

第 2 步:代码库分析

Scan existing codebase for:
  • Existing implementations of similar functionality
  • Reusable components, utilities, patterns
  • Project structure and conventions
  • Test patterns and frameworks
  • Previous implementations that could be referenced
Key questions:
  • What functionality already exists that could be reused?
  • What patterns are established in the codebase?
  • Where should new files be placed?
  • What testing approach is already used?
扫描现有代码库,查找:
  • 类似功能的现有实现
  • 可复用的组件、工具和模式
  • 项目结构和约定
  • 测试模式和框架
  • 可供参考的既有实现
关键问题:
  • 已有哪些功能可以直接复用?
  • 代码库中已建立了哪些模式?
  • 新文件应放置在什么位置?
  • 当前采用了哪种测试方法?

Step 3: DRY Validation

第 3 步:DRY 验证

Checklist for Don't Repeat Yourself:
CheckDescriptionFinding Level
Functionality CheckDoes the plan propose implementing functionality that already exists?CRITICAL
Code ReuseAre there existing utilities/components that could be reused?CRITICAL
AbstractionDoes the plan duplicate similar patterns without abstraction?WARNING
Library ChoiceIs the plan using the same libraries already in the project?INFO
Common DRY violations to detect:
  • Creating new validation logic when validation utilities exist
  • Reimplementing API clients when shared clients exist
  • Duplicating UI components instead of extending existing ones
  • Writing new auth logic when auth system exists
Don't Repeat Yourself 检查清单:
检查项描述发现级别
功能检查计划是否提议实现已经存在的功能?CRITICAL
代码复用是否存在可复用的现有工具或组件?CRITICAL
抽象计划是否在缺乏抽象的情况下重复相似模式?WARNING
库选择计划是否使用项目中已有的同类库?INFO
需要识别的常见 DRY 违规:
  • 已存在验证工具,却创建新的验证逻辑
  • 已存在共享客户端,却重新实现 API 客户端
  • 复制 UI 组件,而不是扩展现有组件
  • 已存在 auth 系统,却编写新的 auth 逻辑

Step 4: YAGNI Validation

第 4 步:YAGNI 验证

Checklist for You Aren't Gonna Need It:
CheckDescriptionFinding Level
Over-abstractionDoes the plan create abstractions without concrete use cases?WARNING
Future-proofingAre there features planned for hypothetical future needs?WARNING
ComplexityIs the solution more complex than the problem requires?CRITICAL
Scope CreepAre there tasks outside the core requirement?WARNING
Common YAGNI violations to detect:
  • Creating plugin architectures when no plugins are planned
  • Adding configuration options that won't be changed
  • Building admin interfaces before user features are proven
  • Optimizing for scale before product-market fit
You Aren't Gonna Need It 检查清单:
检查项描述发现级别
过度抽象计划是否在没有具体用例的情况下创建抽象?WARNING
面向未来设计是否为假设性的未来需求规划功能?WARNING
复杂度解决方案是否比问题本身所需的更复杂?CRITICAL
范围蔓延是否存在脱离核心需求的任务?WARNING
需要识别的常见 YAGNI 违规:
  • 尚未计划任何插件,却创建插件架构
  • 添加不会被修改的配置选项
  • 用户功能尚未得到验证,就构建管理界面
  • 在实现产品市场契合之前就进行规模优化

Step 5: TDD Validation

第 5 步:TDD 验证

Checklist for Test-Driven Development:
CheckDescriptionFinding Level
Test-FirstAre tests written BEFORE implementation?CRITICAL
Red-GreenDoes each task follow red-green-refactor cycle?CRITICAL
Test CommandsAre exact test commands specified with expected output?WARNING
CoverageIs there a clear testing strategy for each component?WARNING
CommitsAre commits tied to test milestones?INFO
TDD Anti-patterns to detect:
  • "Write tests" as a separate task at the end
  • Implementation without corresponding test steps
  • Vague test instructions without expected outcomes
  • Missing edge case testing
Test-Driven Development 检查清单:
检查项描述发现级别
测试优先测试是否在实现之前编写?CRITICAL
红-绿循环每个任务是否遵循 red-green-refactor 循环?CRITICAL
测试命令是否指定了确切的测试命令和预期输出?WARNING
覆盖率每个组件是否都有明确的测试策略?WARNING
提交提交是否与测试里程碑相对应?INFO
需要识别的 TDD 反模式:
  • 将“编写测试”作为最后一项单独任务
  • 实现代码却没有对应的测试步骤
  • 测试指令含糊,未说明预期结果
  • 缺少边界用例测试

Step 6: Gap Analysis

第 6 步:差距分析

Technical Specification Gaps:
  • Missing exact file paths
  • Unclear acceptance criteria
  • Vague implementation details
  • Missing error handling specifications
  • No rollback/contingency plans
Architecture Gaps:
  • Wrong file locations (violating project structure)
  • Missing integration patterns
  • No database schema changes specified
  • Missing API contract details
Disaster Prevention:
  • Breaking changes not identified
  • Missing security considerations
  • No performance requirements
  • Missing dependency analysis
技术规格差距:
  • 缺少准确的文件路径
  • 验收标准不明确
  • 实现细节含糊
  • 缺少错误处理规范
  • 没有回滚或应急方案
架构差距:
  • 文件位置错误,违反项目结构
  • 缺少集成模式
  • 未指定数据库 schema 变更
  • 缺少 API 契约细节
灾难预防:
  • 未识别破坏性变更
  • 缺少安全方面的考量
  • 没有性能要求
  • 缺少依赖项分析

Step 7: Generate Validation Report

第 7 步:生成验证报告

Assign an overall grade using this rubric:
GradeCriteria
ANo critical issues or warnings; any findings are informational only.
BNo critical issues and one or two warnings.
CNo critical issues and three or more warnings.
DExactly one critical issue.
FTwo or more critical issues, or a critical security/safety issue that makes execution unsafe.
A critical finding always makes the verdict BLOCKED, regardless of the grade. With no critical findings, the verdict is APPROVED; warnings may still need an explicit exception or plan change before execution.
Report Structure:
markdown
undefined
按照以下评分标准确定总体等级:
等级标准
A没有严重问题或警告;所有发现均仅为信息类建议。
B没有严重问题,且存在一到两个警告。
C没有严重问题,且存在三个或更多警告。
D恰好存在一个严重问题。
F存在两个或更多严重问题,或存在使执行过程不安全的严重安全或安全性问题。
只要存在严重发现,无论等级如何,结论均为 BLOCKED。没有严重发现时,结论为 APPROVED;警告仍可能需要在执行前获得明确豁免或修改计划。
报告结构:
markdown
undefined

Plan Validation Report: [Feature Name]

Plan Validation Report: [Feature Name]

Executive Summary

Executive Summary

  • Critical Issues: [N] blockers must be fixed
  • Warnings: [N] improvements recommended
  • Info: [N] suggestions for enhancement
  • Overall Grade: [A-F]
  • VERDICT: [APPROVED or BLOCKED]
  • Critical Issues: [N] blockers must be fixed
  • Warnings: [N] improvements recommended
  • Info: [N] suggestions for enhancement
  • Overall Grade: [A-F]
  • VERDICT: [APPROVED or BLOCKED]

DRY Analysis

DRY Analysis

[Findings with specific recommendations]
[Findings with specific recommendations]

YAGNI Analysis

YAGNI Analysis

[Findings with specific recommendations]
[Findings with specific recommendations]

TDD Analysis

TDD Analysis

[Findings with specific recommendations]
[Findings with specific recommendations]

Gap Analysis

Gap Analysis

[Missing requirements and potential disasters]
[Missing requirements and potential disasters]

Codebase Context

Codebase Context

[Reusable components, patterns found]
[Reusable components, patterns found]

Findings

Findings

CRITICAL

CRITICAL

  • [Blockers, or "None"]
  • [Blockers, or "None"]

WARNING

WARNING

  • [Recommended fixes, or "None"]
  • [Recommended fixes, or "None"]

INFO

INFO

  • [Optional suggestions, or "None"]
  • [Optional suggestions, or "None"]

Verdict

Verdict

Emit exactly one verdict line:
VERDICT: APPROVED
when there are no critical findings, or
VERDICT: BLOCKED
when one or more critical findings remain.
undefined
Emit exactly one verdict line:
VERDICT: APPROVED
when there are no critical findings, or
VERDICT: BLOCKED
when one or more critical findings remain.
undefined

Step 8: Optional Plan Changes (Interactive Mode Only)

第 8 步:可选的计划修改(仅限交互模式)

Validation is read-only by default. Never rewrite a plan automatically, make edits merely to make them "look natural," or continue directly to execution after changing a plan.
This step is available only when the user is interacting directly. For an inline plan or subagent review, skip this step and return the report without asking questions or modifying files.
Present findings to user:
🎯 **PLAN VALIDATION COMPLETE**

Found [N] critical issues, [N] warnings, [N] info suggestions.
默认情况下,验证是只读的。绝不自动重写计划,不得仅为了让计划“看起来自然”而进行编辑,也不得在修改计划后直接继续执行。
仅当用户直接交互时提供此步骤。对于内联计划或 subagent 审查,跳过此步骤,不提出问题,也不修改文件,直接返回报告。
向用户展示发现:
🎯 **PLAN VALIDATION COMPLETE**

Found [N] critical issues, [N] warnings, [N] info suggestions.

🚨 CRITICAL (Must Fix)

🚨 CRITICAL (Must Fix)

  1. [Issue with specific location in plan]
  2. [Issue with recommendation]
  1. [Issue with specific location in plan]
  2. [Issue with recommendation]

⚡ WARNINGS (Should Fix)

⚡ WARNINGS (Should Fix)

  1. [Warning with explanation]
  1. [Warning with explanation]

✨ INFO (Nice to Have)

✨ INFO (Nice to Have)

  1. [Suggestion]
IMPROVEMENT OPTIONS:
  • all - Select all proposed changes for review
  • critical - Select critical fixes for review
  • select - Select specific findings for review
  • none - Keep plan unchanged
  • details - Show more details

After the user selects changes, show the proposed unified diff and wait for the user's explicit approval before writing to the plan file. Preserve the surrounding format and structure. Do not save changes to an inline plan unless the user provides a destination and explicitly approves the diff.

If an approved Pocket plan is changed, set its existing approval/status marker to unapproved using the plan's established format. If it has no such marker, add a clear note that validation edits require another `pocket-planning` Spec Reviewer review before the plan can be treated as approved. Do not proceed to structuring or development; return the changed plan to `pocket-planning` for review, including its recovery checkpoint limits.

If the user declines or has not approved the diff, leave the source plan unchanged.

---
  1. [Suggestion]
IMPROVEMENT OPTIONS:
  • all - Select all proposed changes for review
  • critical - Select critical fixes for review
  • select - Select specific findings for review
  • none - Keep plan unchanged
  • details - Show more details

用户选择更改后,显示拟议的统一 diff,并等待用户明确批准,然后才能写入计划文件。保留周围的格式和结构。除非用户提供目标路径并明确批准该 diff,否则不得将更改保存到内联计划。

如果已批准的 Pocket 计划被修改,则使用该计划既定格式,将其现有的 approval/status 标记设为 unapproved。如果不存在此类标记,则添加一条清晰说明:验证编辑必须再次经过 `pocket-planning` Spec Reviewer 审查,之后才能视为已批准。不得继续进入 structuring 或 development;应将变更后的计划交回 `pocket-planning` 审查,并包含其 recovery checkpoint 限制。

如果用户拒绝修改或尚未批准该 diff,则保持源计划不变。

---

Validation Principles

验证原则

DRY - Don't Repeat Yourself

DRY - Don't Repeat Yourself

Principle: Every piece of knowledge must have a single, unambiguous representation.
Validation Approach:
  • Search codebase for similar functionality
  • Identify reuse opportunities
  • Flag duplicate logic patterns
  • Check for existing abstractions
Questions to Ask:
  1. Is this functionality already implemented elsewhere?
  2. Can this use existing utilities/components?
  3. Should this be a shared abstraction?
  4. Is this the right place for this logic?
原则: 每项知识都必须具有单一且无歧义的表示。
验证方式:
  • 在代码库中搜索类似功能
  • 识别复用机会
  • 标记重复逻辑模式
  • 检查现有抽象
需要提出的问题:
  1. 此功能是否已在其他地方实现?
  2. 能否使用现有的工具或组件?
  3. 是否应创建共享抽象?
  4. 这段逻辑是否应放在当前位置?

YAGNI - You Aren't Gonna Need It

YAGNI - You Aren't Gonna Need It

Principle: Don't implement functionality until it's actually needed.
Validation Approach:
  • Check for speculative features
  • Identify over-engineering
  • Flag premature optimization
  • Detect scope creep
Questions to Ask:
  1. Is this feature required for the current scope?
  2. Is this abstraction solving a real problem?
  3. Will this configuration ever be changed?
  4. Is this optimization necessary now?
原则: 在真正需要之前,不要实现某项功能。
验证方式:
  • 检查推测性功能
  • 识别过度设计
  • 标记过早优化
  • 检测范围蔓延
需要提出的问题:
  1. 此功能是否为当前范围所必需?
  2. 此抽象是否正在解决真实问题?
  3. 此配置未来是否会发生变更?
  4. 此优化现在是否必要?

TDD - Test-Driven Development

TDD - Test-Driven Development

Principle: Write tests before implementation; red-green-refactor cycle.
Validation Approach:
  • Verify test-first approach
  • Check for red-green-refactor steps
  • Validate test coverage
  • Ensure commit granularity
Questions to Ask:
  1. Is the test written before the implementation?
  2. Does the plan specify expected test failures?
  3. Are test commands exact with expected output?
  4. Are commits at test milestones?

原则: 先编写测试,再编写实现;遵循 red-green-refactor 循环。
验证方式:
  • 验证测试优先的方法
  • 检查 red-green-refactor 步骤
  • 验证测试覆盖率
  • 确保合理的提交粒度
需要提出的问题:
  1. 测试是否在实现之前编写?
  2. 计划是否指定了预期的测试失败结果?
  3. 测试命令是否准确,并包含预期输出?
  4. 提交是否对应测试里程碑?

Example Usage

使用示例

Input: Plan to Validate

输入:待验证的计划

markdown
undefined
markdown
undefined

User Authentication Implementation Plan

User Authentication Implementation Plan

Goal: Add user login functionality
Goal: Add user login functionality

Task 1: Create Login Component

Task 1: Create Login Component

Files:
  • Create:
    src/components/LoginForm.tsx
Step 1: Write test
typescript
// Test login form renders
describe('LoginForm', () => {
  it('renders email and password inputs', () => {
    render(<LoginForm />);
    expect(screen.getByLabelText('Email')).toBeInTheDocument();
    expect(screen.getByLabelText('Password')).toBeInTheDocument();
  });
});
Step 2: Run test to verify failure
bash
npm test LoginForm.test.tsx
Expected: FAIL - component not found
Step 3: Implement minimal component
tsx
export function LoginForm() {
  return (
    <form>
      <input name="email" />
      <input name="password" type="password" />
    </form>
  );
}
Step 4: Run test to verify pass
bash
npm test -- LoginForm.test.tsx
Expected: PASS
Step 5: Commit
bash
git add src/components/LoginForm.tsx test/LoginForm.test.tsx
git commit -m "feat: add LoginForm component with tests"
undefined
Files:
  • Create:
    src/components/LoginForm.tsx
Step 1: Write test
typescript
// Test login form renders
describe('LoginForm', () => {
  it('renders email and password inputs', () => {
    render(<LoginForm />);
    expect(screen.getByLabelText('Email')).toBeInTheDocument();
    expect(screen.getByLabelText('Password')).toBeInTheDocument();
  });
});
Step 2: Run test to verify failure
bash
npm test LoginForm.test.tsx
Expected: FAIL - component not found
Step 3: Implement minimal component
tsx
export function LoginForm() {
  return (
    <form>
      <input name="email" />
      <input name="password" type="password" />
    </form>
  );
}
Step 4: Run test to verify pass
bash
npm test -- LoginForm.test.tsx
Expected: PASS
Step 5: Commit
bash
git add src/components/LoginForm.tsx test/LoginForm.test.tsx
git commit -m "feat: add LoginForm component with tests"
undefined

Output: Validation Report

输出:验证报告

markdown
undefined
markdown
undefined

Plan Validation Report: User Authentication

Plan Validation Report: User Authentication

Executive Summary

Executive Summary

  • Critical Issues: 0
  • Warnings: 1
  • Info: 1
  • Overall Grade: B
  • VERDICT: APPROVED
  • Critical Issues: 0
  • Warnings: 1
  • Info: 1
  • Overall Grade: B
  • VERDICT: APPROVED

DRY Analysis

DRY Analysis

  • No duplicate functionality detected
  • Consider using existing
    Input
    component from
    src/components/ui/
  • No duplicate functionality detected
  • Consider using existing
    Input
    component from
    src/components/ui/

YAGNI Analysis

YAGNI Analysis

  • Clean implementation, no over-engineering detected
  • Clean implementation, no over-engineering detected

TDD Analysis

TDD Analysis

  • Follows red-green-refactor cycle
  • The test command is specific and the expected result is PASS
  • Minor: Add edge case test for invalid email format
  • Follows red-green-refactor cycle
  • The test command is specific and the expected result is PASS
  • Minor: Add edge case test for invalid email format

Codebase Context

Codebase Context

  • Existing
    src/components/ui/Input.tsx
    can be reused
  • Auth utilities exist in
    src/lib/auth.ts
  • Form validation pattern in
    src/hooks/useForm.ts
  • Existing
    src/components/ui/Input.tsx
    can be reused
  • Auth utilities exist in
    src/lib/auth.ts
  • Form validation pattern in
    src/hooks/useForm.ts

Recommendations

Recommendations

  1. INFO: Reuse
    Input
    component for consistency
  2. WARNING: Add an error handling test case
The grade is B because this example contains one warning and no critical issues.

---
  1. INFO: Reuse
    Input
    component for consistency
  2. WARNING: Add an error handling test case
The grade is B because this example contains one warning and no critical issues.

---

Common Anti-Patterns to Detect

需要识别的常见反模式

Plan Structure Issues

计划结构问题

  1. Missing acceptance criteria
    • ❌ "Implement the feature"
    • ✅ "Feature accepts X input and returns Y output"
  2. Vague test instructions
    • ❌ "Write tests"
    • ✅ "Write test: when input is invalid, show error message"
  3. Missing file paths
    • ❌ "Create component"
    • ✅ "Create:
      src/components/UserProfile.tsx
      "
  4. Implementation without tests
    • ❌ Write code → Test later
    • ✅ Write failing test → Make it pass → Refactor
  1. 缺少验收标准
    • ❌ “实现该功能”
    • ✅ “该功能接受 X 输入并返回 Y 输出”
  2. 测试指令含糊
    • ❌ “编写测试”
    • ✅ “编写测试:输入无效时,显示错误消息”
  3. 缺少文件路径
    • ❌ “创建组件”
    • ✅ “创建:
      src/components/UserProfile.tsx
      ”
  4. 实现代码但没有测试
    • ❌ 编写代码 → 稍后测试
    • ✅ 编写失败的测试 → 使其通过 → 重构

DRY Violations

DRY 违规

  1. Reinventing utilities
    • ❌ Create new
      formatDate()
      when
      date-fns
      is available
    • ✅ Use existing library
  2. Duplicate API logic
    • ❌ New fetch wrapper per component
    • ✅ Use shared API client
  1. 重新实现已有工具
    • ❌ 已可使用
      date-fns
      ,却创建新的
      formatDate()
    • ✅ 使用现有库
  2. 重复 API 逻辑
    • ❌ 为每个组件创建新的 fetch 包装器
    • ✅ 使用共享 API 客户端

YAGNI Violations

YAGNI 违规

  1. Premature abstraction
    • ❌ "Create plugin system for future extensions"
    • ✅ Implement direct solution first
  2. Over-configuration
    • ❌ "Add 10 config options"
    • ✅ Hardcode defaults, expose when needed
  1. 过早抽象
    • ❌ “为未来扩展创建插件系统”
    • ✅ 先实现直接方案
  2. 过度配置
    • ❌ “添加 10 个配置选项”
    • ✅ 硬编码默认值,在需要时再开放

TDD Violations

TDD 违规

  1. Testing after implementation
    • ❌ Task 1: Implement → Task 5: Add tests
    • ✅ Each task: Test → Implement → Commit
  2. Missing red phase
    • ❌ "Write test and run it"
    • ✅ "Run test, verify it FAILS with expected error"

  1. 实现后再测试
    • ❌ 任务 1:实现 → 任务 5:添加测试
    • ✅ 每个任务:测试 → 实现 → 提交
  2. 缺少 red 阶段
    • ❌ “编写测试并运行”
    • ✅ “运行测试,验证其按预期错误失败”

Integration with Workflows

工作流集成

With pocket-planning

与 pocket-planning 集成

After
pocket-planning
creates a plan:
  1. User runs
    /validate-plan
  2. Load the generated plan
  3. Perform comprehensive validation
  4. Report findings without changing the plan
  5. If the user approves proposed edits, show the diff and wait for approval before saving
  6. Return any changed Pocket plan to
    pocket-planning
    for a new Spec Reviewer review
pocket-planning
创建计划后:
  1. 用户运行
    /validate-plan
  2. 加载生成的计划
  3. 执行全面验证
  4. 报告发现,但不修改计划
  5. 如果用户批准拟议的编辑,则显示 diff,并等待批准后再保存
  6. 将任何已修改的 Pocket 计划交回
    pocket-planning
    ,请求新的 Spec Reviewer 审查

With pocket-structuring and pocket-development

与 pocket-structuring 和 pocket-development 集成

After approval is confirmed by
pocket-planning
, the Pocket pipeline continues through
pocket-structuring
and
pocket-development
. A validation report alone does not approve a plan. Validated plans have:
  • Clear, testable steps
  • Exact file paths
  • Verified DRY/YAGNI/TDD compliance
  • Lower risk of implementation issues

pocket-planning
确认批准后,Pocket 流水线将继续进入
pocket-structuring
和
pocket-development
。单独的验证报告并不代表计划获得批准。通过验证的计划具备:
  • 清晰且可测试的步骤
  • 准确的文件路径
  • 已核验符合 DRY、YAGNI 和 TDD 原则
  • 更低的实施问题风险

Resources

资源

references/

references/

  • references/dry-principles.md
    - Detailed DRY guidelines
  • references/yagni-checklist.md
    - YAGNI detection patterns
  • references/tdd-patterns.md
    - TDD workflow patterns
  • references/gap-analysis-guide.md
    - Comprehensive gap analysis framework
  • references/dry-principles.md
    - 详细的 DRY 指南
  • references/yagni-checklist.md
    - YAGNI 识别模式
  • references/tdd-patterns.md
    - TDD 工作流模式
  • references/gap-analysis-guide.md
    - 全面的差距分析框架