Token导航 LogoToken导航

Agent Skill · 研究检索

workflow-tdd-plan-plan(工作流程 TDD 计划 计划)

workflow-tdd-plan-plan 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

workflow-tdd-plan-plan 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 49,494。

总安装 649周安装 26GitHub Stars 1,908下载 210核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:workflow-tdd-plan-plan(工作流程 TDD 计划 计划)
来源仓库:https://github.com/catlog22/claude-code-workflow
仓库路径:skills/workflow-tdd-plan-plan
安装命令:
npx skills add https://github.com/catlog22/claude-code-workflow --skill workflow-tdd-plan-plan
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/catlog22/claude-code-workflow --skill workflow-tdd-plan-plan

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。支持基于关键词、任务场景或来源线索进行信息聚合与过滤,提升研究效率。通过 npx 命令从 GitHub 仓库安装,具体用法需结合原始 README 进一步确认。

安装前建议核实权限范围、维护状态及是否涉及联网、命令执行或文件操作。workflow-tdd-plan-plan 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/workflow-tdd-plan-plan

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/catlog22/claude-code-workflow --skill workflow…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

workflow-tdd-plan-plan 怎么安装?

在终端执行 npx skills add https://github.com/catlog22/claude-code-workflow --skill workflow-tdd-plan-…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

workflow-tdd-plan-plan 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

workflow-tdd-plan-plan 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

workflow-tdd-plan-plan 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

workflow-tdd-plan-plan 用的人多吗?

公开数据是累计安装 649 次,近一周安装 26 次,下载 210 次,GitHub 1,908 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

workflow-tdd-plan-plan 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 来源仓库有 1,908 星,维护活跃度相对可查。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
workflow-tdd-plan-plan

工作流程 TDD 计划 计划 · 本页

6491,908只读未明确有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

1. Architecture Overview

┌──────────────────────────────────────────────────────────────────┐
│  Workflow TDD Orchestrator (SKILL.md)                            │
│  → Route by mode: plan | verify                                  │
│  → Pure coordinator: Execute phases, parse outputs, pass context │
└──────────────────────────────────┬───────────────────────────────┘
                                │
        ┌───────────────────────┴───────────────────────┐
        ↓                                               ↓
  ┌─────────────┐                                ┌───────────┐
  │  Plan Mode  │                                │  Verify   │
  │  (default)  │                                │   Mode    │
  │ Phase 1-6   │                                │  Phase 7  │
  └──────┬──────┘                                └───────────┘
         │
   ┌─────┼─────┬─────┬─────┬─────┐
   ↓     ↓     ↓     ↓     ↓     ↓
 ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐
 │ 1 │ │ 2 │ │ 3 │ │ 4 │ │ 5 │ │ 6 │
 │Ses│ │Ctx│ │Tst│ │Con│ │Gen│ │Val│
 └───┘ └───┘ └───┘ └───┘ └─┬─┘ └───┘
                             ↓
                       ┌───────────┐
                       │ Confirm   │─── Verify ──→ Phase 7
                       │ (choice)  │─── Execute ─→ Skill("workflow-execute")
                       └───────────┘─── Review ──→ Display session status inline

2. Key Design Principles

  1. Pure Orchestrator: SKILL.md routes and coordinates only; execution detail lives in phase files
  2. Progressive Phase Loading: Read phase docs ONLY when that phase is about to execute
  3. Multi-Mode Routing: Single skill handles plan/verify via mode detection
  4. Task Attachment Model: Sub-command tasks are ATTACHED, executed sequentially, then COLLAPSED
  5. Auto-Continue: After each phase completes, automatically execute next pending phase
  6. TDD Iron Law: NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST - enforced in task structure

3. Interactive Preference Collection

Before dispatching to phase execution, collect workflow preferences via AskUserQuestion:

// ★ 统一 auto mode 检测:-y/--yes 从 $ARGUMENTS 或 ccw 传播
const autoYes = /\b(-y|--yes)\b/.test($ARGUMENTS)

if (autoYes) {
  // 自动模式:跳过所有询问,使用默认值
  workflowPreferences = { autoYes: true }
} else {
  const prefResponse = AskUserQuestion({
    questions: [
      {
        question: "是否跳过所有确认步骤(自动模式)?",
        header: "Auto Mode",
        multiSelect: false,
        options: [
          { label: "Interactive (Recommended)", description: "交互模式,包含确认步骤" },
          { label: "Auto", description: "跳过所有确认,自动执行" }
        ]
      }
    ]
  })

  workflowPreferences = {
    autoYes: prefResponse.autoMode === 'Auto'
  }
}

workflowPreferences is passed to phase execution as context variable, referenced as workflowPreferences.autoYes within phases.

4. Mode Detection

const args = $ARGUMENTS
const mode = detectMode(args)

function detectMode(args) {
  // Skill trigger determines mode
  if (skillName === 'workflow-tdd-verify') return 'verify'
  return 'plan'  // default: workflow-tdd-plan
}

5. Compact Recovery (Phase Persistence)

Multi-phase TDD planning (Phase 1-6/7) spans long conversations. Uses 双重保险: TodoWrite 跟踪 active phase 保护其不被压缩,sentinel 作为兜底。

⚠️ COMPACT DIRECTIVE: Context compression MUST check TodoWrite phase status. The phase currently marked in_progress is the active execution phase — preserve its FULL content. Only compress phases marked completed or pending.

6. Execution Flow — Plan Mode (default)

Input Parsing:
   └─ Convert user input to TDD structured format (GOAL/SCOPE/CONTEXT/TEST_FOCUS)

Phase 1: Session Discovery
   └─ Read("phases/01-session-discovery.md")
      └─ Output: sessionId (WFS-xxx)

Phase 2: Context Gathering
   └─ Read("phases/02-context-gathering.md")
      ├─ Tasks attached: Analyze structure → Identify integration → Generate package
      └─ Output: contextPath + conflictRisk

Phase 3: Test Coverage Analysis
   └─ Read("phases/03-test-coverage-analysis.md")
      ├─ Tasks attached: Detect framework → Analyze coverage → Identify gaps
      └─ Output: testContextPath

Phase 4: Conflict Resolution (conditional: conflictRisk ≥ medium)
   └─ Decision (conflictRisk check):
      ├─ conflictRisk ≥ medium → Read("phases/04-conflict-resolution.md")
      │   ├─ Tasks attached: Detect conflicts → Log analysis → Apply strategies
      │   └─ Output: conflict-resolution.json
      └─ conflictRisk < medium → Skip to Phase 5

Phase 5: TDD Task Generation
   └─ Read("phases/05-tdd-task-generation.md")
      ├─ Tasks attached: Discovery → Planning → Output
      └─ Output: IMPL_PLAN.md, IMPL-*.json, TODO_LIST.md

Phase 6: TDD Structure Validation
   └─ Read("phases/06-tdd-structure-validation.md")
      └─ Output: Validation report + Plan Confirmation Gate

Plan Confirmation (User Decision Gate):
   └─ Decision (user choice):
      ├─ "Verify TDD Compliance" (Recommended) → Route to Phase 7 (tdd-verify)
      ├─ "Start Execution" → Skill(skill="workflow-execute")
      └─ "Review Status Only" → Display session status inline

7. Execution Flow — Verify Mode

Phase 7: TDD Verification
   └─ Read("phases/07-tdd-verify.md")
      └─ Output: TDD_COMPLIANCE_REPORT.md with quality gate recommendation

8. Phase Reference Documents

Read on-demand when phase executes using Read("phases/..."):

PhaseDocumentPurposeModeCompact
1phases/01-session-discovery.mdCreate or discover TDD workflow sessionplanTodoWrite 驱动
2phases/02-context-gathering.mdGather project context and analyze codebaseplanTodoWrite 驱动
3phases/03-test-coverage-analysis.mdAnalyze test coverage and framework detectionplanTodoWrite 驱动
4phases/04-conflict-resolution.mdDetect and resolve conflicts (conditional)planTodoWrite 驱动
5phases/05-tdd-task-generation.mdGenerate TDD tasks with Red-Green-Refactor cyclesplanTodoWrite 驱动 + sentinel
6phases/06-tdd-structure-validation.mdValidate TDD structure and present confirmation gateplanTodoWrite 驱动 + sentinel
7phases/07-tdd-verify.mdFull TDD compliance verification with quality gateverifyTodoWrite 驱动

Compact Rules:

  1. TodoWrite in_progress → 保留完整内容,禁止压缩
  2. TodoWrite completed → 可压缩为摘要
  3. sentinel fallback → Phase 5/6 包含 compact sentinel;若 compact 后仅存 sentinel 而无完整 Step 协议,必须立即 Read() 恢复对应 phase 文件

9. Core Rules

  1. Start Immediately: First action is mode detection + TaskCreate initialization, second action is phase execution
  2. No Preliminary Analysis: Do not read files, analyze structure, or gather context before Phase 1
  3. Parse Every Output: Extract required data from each phase output for next phase
  4. Auto-Continue via TaskList: Check TaskList status to execute next pending phase automatically
  5. Track Progress: Update TaskCreate/TaskUpdate dynamically with task attachment/collapse pattern
  6. Task Attachment Model: Skill execute attaches sub-tasks to current workflow. Orchestrator executes these attached tasks itself, then collapses them after completion
  7. Progressive Phase Loading: Read phase docs ONLY when that phase is about to execute
  8. DO NOT STOP: Continuous multi-phase workflow. After executing all attached tasks, immediately collapse them and execute next phase
  9. TDD Context: All descriptions include "TDD:" prefix

10. TDD Compliance Requirements

The Iron Law

NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST

Enforcement Method:

  • Phase 5: implementation includes test-first steps (Red → Green → Refactor)
  • Green phase: Includes test-fix-cycle configuration (max 3 iterations)
  • Auto-revert: Triggered when max iterations reached without passing tests

Verification: Phase 6 validates Red-Green-Refactor structure in all generated tasks

TDD Compliance Checkpoint

CheckpointValidation PhaseEvidence Required
Test-first structurePhase 5implementation has 3 steps
Red phase existsPhase 6Step 1: tdd_phase: "red"
Green phase with test-fixPhase 6Step 2: tdd_phase: "green" + test-fix-cycle
Refactor phase existsPhase 6Step 3: tdd_phase: "refactor"

Core TDD Principles

Red Flags - STOP and Reassess:

  • Code written before test
  • Test passes immediately (no Red phase witnessed)
  • Cannot explain why test should fail
  • "Just this once" rationalization
  • "Tests after achieve same goals" thinking

Why Order Matters:

  • Tests written after code pass immediately → proves nothing
  • Test-first forces edge case discovery before implementation
  • Tests-after verify what was built, not what's required

11. Input Processing

Convert User Input to TDD Structured Format:

  1. Simple text → Add TDD context: User: "Build authentication system" Structured: TDD: Authentication System GOAL: Build authentication system SCOPE: Core authentication features CONTEXT: New implementation TEST_FOCUS: Authentication scenarios
  2. Detailed text → Extract components with TEST_FOCUS: User: "Add JWT authentication with email/password login and token refresh" Structured: TDD: JWT Authentication GOAL: Implement JWT-based authentication SCOPE: Email/password login, token generation, token refresh endpoints CONTEXT: JWT token-based security, refresh token rotation TEST_FOCUS: Login flow, token validation, refresh rotation, error cases
  3. File/Issue → Read and structure with TDD

12. Data Flow — Plan Mode

User Input (task description)
    ↓
[Convert to TDD Structured Format]
    ↓ Structured Description:
    ↓   TDD: [Feature Name]
    ↓   GOAL: [objective]
    ↓   SCOPE: [boundaries]
    ↓   CONTEXT: [background]
    ↓   TEST_FOCUS: [test scenarios]
    ↓
Phase 1: session:start --auto "TDD: structured-description"
    ↓ Output: sessionId
    ↓
Phase 2: context-gather --session sessionId "structured-description"
    ↓ Input: sessionId + structured description
    ↓ Output: contextPath (context-package.json) + conflictRisk
    ↓
Phase 3: test-context-gather --session sessionId
    ↓ Input: sessionId
    ↓ Output: testContextPath (test-context-package.json)
    ↓
Phase 4: conflict-resolution [conditional: conflictRisk ≥ medium]
    ↓ Input: sessionId + contextPath + conflictRisk
    ↓ Output: conflict-resolution.json
    ↓ Skip if conflictRisk is none/low → proceed directly to Phase 5
    ↓
Phase 5: task-generate-tdd --session sessionId
    ↓ Input: sessionId + all accumulated context
    ↓ Output: IMPL_PLAN.md, IMPL-*.json, TODO_LIST.md
    ↓
Phase 6: TDD Structure Validation (internal)
    ↓ Validate Red-Green-Refactor structure
    ↓ Present Plan Confirmation Gate
    ↓
Plan Confirmation (User Decision Gate):
    ├─ "Verify TDD Compliance" (Recommended) → Route to Phase 7
    ├─ "Start Execution" → Skill(skill="workflow-execute")
    └─ "Review Status Only" → Display session status inline

13. Data Flow — Verify Mode

Input: --session sessionId (or auto-detect)
    ↓
Phase 7: Session discovery → Chain validation → Coverage analysis → Report
    ↓ Output: TDD_COMPLIANCE_REPORT.md with quality gate

Session Memory Flow: Each phase receives session ID, which provides access to:

  • Previous task summaries
  • Existing context and analysis
  • Session-specific configuration

14. TodoWrite Pattern

Core Concept: Dynamic task attachment and collapse for real-time visibility into TDD workflow execution.

Implementation Note: Phase files use TodoWrite syntax to describe the conceptual tracking pattern. At runtime, these are implemented via TaskCreate/TaskUpdate/TaskList tools. Map as follows: - Initial list creation → TaskCreate for each item - Status changes → TaskUpdate({taskId, status}) - Sub-task attachment → TaskCreate + TaskUpdate({addBlockedBy}) - Sub-task collapse → TaskUpdate({status: "completed"}) + TaskUpdate({status: "deleted"}) for collapsed sub-items

Key Principles

  1. Task Attachment (when phase executed):

- Sub-tasks are attached to orchestrator's TodoWrite - Phase 3, 4, 5: Multiple sub-tasks attached - Phase 1, 2, 6: Single task (atomic) - First attached task marked as in_progress, others as pending - Orchestrator executes these attached tasks sequentially

  1. Task Collapse (after sub-tasks complete):

- Applies to Phase 3, 4, 5: Remove detailed sub-tasks from TodoWrite - Collapse to high-level phase summary - Phase 1, 2, 6: No collapse needed (single task, just mark completed) - Maintains clean orchestrator-level view

  1. Continuous Execution: After completion, automatically proceed to next pending phase

Lifecycle: Initial pending → Phase executed (tasks ATTACHED) → Sub-tasks executed sequentially → Phase completed (tasks COLLAPSED for 3/4/5, marked completed for 1/2/6) → Next phase → Repeat

Initial State (Plan Mode):

[
  {"content": "Phase 1: Session Discovery", "status": "in_progress", "activeForm": "Executing session discovery"},
  {"content": "Phase 2: Context Gathering", "status": "pending", "activeForm": "Executing context gathering"},
  {"content": "Phase 3: Test Coverage Analysis", "status": "pending", "activeForm": "Executing test coverage analysis"},
  {"content": "Phase 5: TDD Task Generation", "status": "pending", "activeForm": "Executing TDD task generation"},
  {"content": "Phase 6: TDD Structure Validation", "status": "pending", "activeForm": "Validating TDD structure"}
]

Note: Phase 4 (Conflict Resolution) is added dynamically after Phase 2 if conflictRisk ≥ medium.

Phase 3 (Tasks Attached):

[
  {"content": "Phase 1: Session Discovery", "status": "completed"},
  {"content": "Phase 2: Context Gathering", "status": "completed"},
  {"content": "Phase 3: Test Coverage Analysis", "status": "in_progress"},
  {"content": "  → Detect test framework and conventions", "status": "in_progress"},
  {"content": "  → Analyze existing test coverage", "status": "pending"},
  {"content": "  → Identify coverage gaps", "status": "pending"},
  {"content": "Phase 5: TDD Task Generation", "status": "pending"},
  {"content": "Phase 6: TDD Structure Validation", "status": "pending"}
]

Phase 3 (Collapsed):

[
  {"content": "Phase 1: Session Discovery", "status": "completed"},
  {"content": "Phase 2: Context Gathering", "status": "completed"},
  {"content": "Phase 3: Test Coverage Analysis", "status": "completed"},
  {"content": "Phase 5: TDD Task Generation", "status": "pending"},
  {"content": "Phase 6: TDD Structure Validation", "status": "pending"}
]

Phase 5 (Tasks Attached):

[
  {"content": "Phase 1: Session Discovery", "status": "completed"},
  {"content": "Phase 2: Context Gathering", "status": "completed"},
  {"content": "Phase 3: Test Coverage Analysis", "status": "completed"},
  {"content": "Phase 5: TDD Task Generation", "status": "in_progress"},
  {"content": "  → Discovery - analyze TDD requirements", "status": "in_progress"},
  {"content": "  → Planning - design Red-Green-Refactor cycles", "status": "pending"},
  {"content": "  → Output - generate IMPL tasks with internal TDD phases", "status": "pending"},
  {"content": "Phase 6: TDD Structure Validation", "status": "pending"}
]

Note: See individual Phase descriptions for detailed TodoWrite Update examples.

15. Post-Phase Updates

Memory State Check

After heavy phases (Phase 2-3), evaluate context window usage:

  • If memory usage is high (>110K tokens or approaching context limits): Skill(skill="memory-capture")
  • Memory compaction is particularly important after analysis phases

Planning Notes (Optional)

Similar to workflow-plan, a planning-notes.md can accumulate context across phases if needed. See Phase 1 for initialization.

16. Error Handling

  • Parsing Failure: If output parsing fails, retry command once, then report error
  • Validation Failure: Report which file/data is missing or invalid
  • Command Failure: Keep phase in_progress, report error to user, do not proceed
  • TDD Validation Failure: Report incomplete chains or wrong dependencies
  • Session Not Found (verify mode): Report error with available sessions list

Error Handling Quick Reference

Error TypeDetectionRecovery Action
Parsing failureEmpty/malformed outputRetry once, then report
Missing context-packageFile read errorRe-run Phase 2 (context-gathering)
Invalid task JSONjq parse errorReport malformed file path
Task count exceeds 18Count validation ≥19Request re-scope, split into multiple sessions
Missing cli_execution.idAll tasks lack IDRegenerate tasks with phase 0 user config
Test-context missingFile not foundRe-run Phase 3 (test-coverage-analysis)
Phase timeoutNo responseRetry phase, check CLI connectivity
CLI tool not availableTool not in cli-tools.jsonFall back to alternative preferred tool

TDD Warning Patterns

PatternWarning MessageRecommended Action
Task count >10High task count detectedConsider splitting into multiple sessions
Missing test-fix-cycleGreen phase lacks auto-revertAdd max_iterations: 3 to task config
Red phase missing test pathTest file path not specifiedAdd explicit test file paths
Generic task namesVague names like "Add feature"Use specific behavior descriptions
No refactor criteriaRefactor phase lacks completion criteriaDefine clear refactor scope

Non-Blocking Warning Policy

All warnings are advisory - they do not halt execution:

  1. Warnings logged to .process/tdd-warnings.log
  2. Summary displayed in Phase 6 output
  3. User decides whether to address before workflow-execute skill

17. Coordinator Checklist — Plan Mode

  • Pre-Phase: Convert user input to TDD structured format (TDD/GOAL/SCOPE/CONTEXT/TEST_FOCUS)
  • Initialize TaskCreate before any command (Phase 4 added dynamically after Phase 2)
  • Execute Phase 1 immediately with structured description
  • Parse session ID from Phase 1 output, store in memory
  • Pass session ID and structured description to Phase 2 command
  • Parse context path from Phase 2 output, store in memory
  • Extract conflictRisk from context-package.json: Determine Phase 4 execution
  • Execute Phase 3 (test coverage analysis) with sessionId
  • Parse testContextPath from Phase 3 output, store in memory
  • If conflictRisk ≥ medium: Launch Phase 4 conflict-resolution with sessionId and contextPath
  • Wait for Phase 4 to finish executing (if executed), verify conflict-resolution.json created
  • If conflictRisk is none/low: Skip Phase 4, proceed directly to Phase 5
  • Pass session ID to Phase 5 command (TDD task generation)
  • Verify all Phase 5 outputs (IMPL_PLAN.md, IMPL-*.json, TODO_LIST.md)
  • Execute Phase 6 (internal TDD structure validation)
  • Plan Confirmation Gate: Present user with choice (Verify → Phase 7 / Execute / Review Status)
  • If user selects Verify: Read("phases/07-tdd-verify.md"), execute Phase 7 in-process
  • If user selects Execute: Skill(skill="workflow-execute")
  • If user selects Review: Display session status inline
  • Auto mode (workflowPreferences.autoYes): Auto-select "Verify TDD Compliance", then auto-continue to execute if APPROVED
  • Update TaskCreate/TaskUpdate after each phase
  • After each phase, automatically continue to next phase based on TaskList status

18. Coordinator Checklist — Verify Mode

  • Detect/validate session (from --session flag or auto-detect)
  • Initialize TaskCreate with verification tasks
  • Execute Phase 7 through all sub-phases (session validation → chain validation → coverage analysis → report generation)
  • Present quality gate result and next step options

19. Related Skills

Prerequisite Skills:

  • None - TDD planning is self-contained (can optionally run brainstorm commands before)

Called by Plan Mode (6 phases):

  • /workflow:session:start - Phase 1: Create or discover TDD workflow session
  • phases/02-context-gathering.md - Phase 2: Gather project context and analyze codebase (inline)
  • phases/03-test-coverage-analysis.md - Phase 3: Analyze existing test patterns and coverage (inline)
  • phases/04-conflict-resolution.md - Phase 4: Detect and resolve conflicts (inline, conditional)
  • memory-capture skill - Phase 4: Memory optimization (if context approaching limits)
  • phases/05-tdd-task-generation.md - Phase 5: Generate TDD tasks with Red-Green-Refactor cycles (inline)

Called by Verify Mode:

  • phases/07-tdd-verify.md - Phase 7: Test coverage and cycle analysis (inline)

Follow-up Skills:

  • workflow-tdd-plan skill (tdd-verify phase) - Verify TDD compliance (can also invoke via verify mode)
  • workflow-plan skill (plan-verify phase) - Verify plan quality and dependencies
  • Display session status inline - Review TDD task breakdown
  • Skill(skill="workflow-execute") - Begin TDD implementation

<auto_mode> When workflowPreferences.autoYes is true (triggered by -y/--yes flag):

  • Skip all interactive confirmation prompts
  • Use default values for all preference questions
  • At Plan Confirmation Gate: Auto-select "Verify TDD Compliance"
  • After verification: Auto-continue to execute if quality gate returns APPROVED
  • All phases execute continuously without user intervention </auto_mode>

<success_criteria>

  • Mode correctly detected from skill trigger name (plan vs verify)
  • All 6 plan phases execute sequentially with proper data flow between them
  • Phase files loaded progressively via Read() only when phase is about to execute
  • TaskCreate/TaskUpdate tracks all phases with attachment/collapse pattern
  • TDD Iron Law enforced: every task has Red-Green-Refactor structure
  • Phase 4 (Conflict Resolution) conditionally executes based on conflictRisk level
  • Plan Confirmation Gate presents three choices after Phase 6
  • Verify mode (Phase 7) produces TDD_COMPLIANCE_REPORT.md with quality gate
  • All outputs generated: IMPL_PLAN.md, IMPL-*.json, TODO_LIST.md
  • Compact recovery preserves active phase content via TodoWrite status
  • Error handling retries once on parsing failure, reports on persistent errors </success_criteria>

平台分布

Codex

35.3%
按下载量换算74

Claude

28.66%
按下载量换算60

Cursor

19.13%
按下载量换算40

Gemini CLI

9.55%
按下载量换算20

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills