E 阶段 TDD 分级参数 — Path 决定强制级别和提交策略
Scanned 9/5/2026
Install to Claude Code
npx -y skills add WenJunDuan/Rlues --skill tdd --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Tdd?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/wenjunduan-tdd-dc679a80)More formats (shields.io, HTML) on the badges page.
---
name: tdd
description: E 阶段 TDD 分级参数 — Path 决定强制级别和提交策略
context: main
---
# TDD — Path 分级参数
## SP tdd 自动处理 RED-GREEN-REFACTOR。本 skill 只添加:
### 分级策略
| Path | TDD 级别 | 提交策略 |
|:---|:---|:---|
| A | 跳过 | 直接 commit |
| B | 推荐 (核心逻辑) | 功能完成后 commit |
| C | 强制 (全覆盖) | RED/GREEN 交替 commit |
| D | 强制 + 集成测试 | 原子 commit + PR |
### Plan 集成
E 阶段每个任务循环:
1. 读 `doing.md` 当前任务
2. 写失败测试 (RED)
3. 写最小实现 (GREEN)
4. 重构 (REFACTOR, 可选)
5. `commit-commands` plugin 格式化 commit
6. 更新 `doing.md` ☑
7. 下一个任务
### context7 集成
需要库 API 文档时: `npx ctx7 resolve <library>` 拉取最新文档到 context。
不预加载, 按需拉取。
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!