Stats
Actions
Tags
From sdd-kit
Audit one sdd-kit package PRD scope after impl. Reads PRD + impl evidence + diff, then records APPROVED / APPROVED_WITH_NOTES / NEEDS_REWORK / BRAINSTORM_DRIFT through sdd-arbor. Does not edit code or requirements.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdd-kit:reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
使用语言:中文。
使用语言:中文。 Review 检查 impl 的 DONE 声明是否真正满足 package PRD。它不是普通 code review、PR approval、自动修复器或自动修复面板。
prd.md、task.json、required_checks、checks、impl evidence、actual git diff。context/review.jsonl、相关 .wiki 页面;wiki 只作 orientation。以下字段必须用于对账,不能只读自然语言:
| 字段 | 用途 |
|---|---|
required_checks / checks / impl_result.checks / impl_result.check_coverage | 对账 required_check 是否有本次交付引用的 passed evidence;automated 承重命令只认 run-check、exit_code 和输出文件,commands 只是 legacy note |
acceptance / acceptance_coverage[S-NNN] | 对照 PRD 每个 slice 完成标志,逐条找代码位置、测试位置或 check evidence;不能只回引 acceptance 文本本身 |
concerns / phase_history | 计算 review 追加妥协与 impl 自报差距,并确认 impl 跑了几次 / 是否被退回过 |
## Slices 每个 slice 的 acceptance、边界、承重命令拆成原子条目。impl_result.checks / check_coverage,automated 必须有 run-check + exit_code=0 + 可读输出,manual/blocked/not_run 必须有具体 reason/evidence;必要时可复跑且不能吞失败。impl_result.concerns 长度差。references/anti-patterns.md。按顺序,首条命中即判定:
run-check exit_code=0 → NEEDS_REWORK结论:<verdict>。<一句话总结>
### 完成标志对账
| Slice | 完成标志(从 PRD 拷) | 实现位置 | 测试 / check evidence | 缺口 |
|---|---|---|---|---|
| S-001 | <PRD 原文> | `<file>:<line>` | `chk_001` / `<test file>:<line>` | 无 / <具体缺口> |
### Required checks 对账
| Required check | Kind | Evidence | 结果 | 缺口 |
|---|---|---|---|---|
| `req_S001_001` | test | `chk_001` stdout_path=`checks/chk_001.stdout` | passed | 无 / <具体缺口> |
### Concerns 对账
| 类型 | impl 自报 | review 追加 |
|---|---|---|
| Mock / Fake 替代真实持久化 | 0 | <数量+证据> |
| required_check 缺 evidence | 0 | <数量+req id> |
| 承重命令未跑 | 0 | <数量+具体 command_hint> |
| Negative-path 缺测 | 0 | <数量+具体边界> |
| Mega-test 假装多断言 | 0 | <数量+test 文件> |
| Dead file(写了没接) | 0 | <数量+文件路径> |
### 通过检查
- <具体确认通过的关键点>
### 下一步
- <按 verdict 的 follow-up 指引>
sdd-arbor record-review <package> --state <verdict> --summary "..." --evidence "..." --note "..." 更新 lifecycle 并追加 review log。NEEDS_REWORK 回 impl;BRAINSTORM_DRIFT 回 brainstorm;APPROVED 不能只是「LGTM」。npx claudepluginhub smy14520/claude-plugins --plugin sdd-kitGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.