From tsumiki
Verifies plan completion by checking task status, running tests, measuring coverage, building, linting, and checking file sizes. Outputs a verification report.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tsumiki:dev-verify <plan-name><plan-name>The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Plan単位ですべてのタスクの完了状態を確認し、全テスト実行・ビルド・Lint・ファイルサイズチェックを行い、検証レポートを `docs/dev/plans/<plan-name>/reports/` に出力する。
Plan単位ですべてのタスクの完了状態を確認し、全テスト実行・ビルド・Lint・ファイルサイズチェックを行い、検証レポートを docs/dev/plans/<plan-name>/reports/ に出力する。
dev-context → dev-plan → dev-impl → [dev-verify]
↘ dev-debug
/dev-verify <plan-name>
docs/dev/plans/<plan-name>/tasks/ 内の全タスクファイルを読み込み、フロントマターの status を確認する。
done → Step 2 へ進むpending / in_progress のタスクがある → ユーザーに未完了タスクの一覧を報告し、続行するか確認する(AskUserQuestion)docs/dev/context.md からテスト実行コマンドを取得し、全テストを実行する。
# context.md の Test Framework セクションからコマンドを取得
<test-command>
テスト結果を記録する: passed / failed / skipped の件数。
docs/dev/context.md の Test Framework セクションから Coverage Command と Coverage Threshold を取得し、プロジェクト全体のカバレッジを計測する。
[no test files] は 0% として扱うコンパイル言語やビルドステップがある場合、ビルドコマンドを実行する(context.md から取得)。
インタープリタ言語でビルドステップがない場合はスキップする。
context.md に Lint コマンドが記載されている場合、実行する。記載がない場合はスキップする。
Planで変更・作成されたファイル(各タスクファイルの Files セクションから収集)の行数を確認する(絶対パスを使用):
wc -l "$(git rev-parse --show-toplevel)/<ファイルの相対パス>"
500行を超えるファイルがあれば警告として記録する。
Plan内の全タスクの確信度レポートを集約する:
🔴 が残っている場合は明確に警告する。
検証結果を docs/dev/plans/<plan-name>/reports/verify-YYYY-MM-DD.md に出力する。
# Verification Report - YYYY-MM-DD
## Plan: <plan-name>
## Summary
| Item | Result |
|------|--------|
| Tasks | X/Y completed |
| Tests | Z passed, W failed, V skipped |
| Coverage | X/Y packages above threshold (threshold: 80%) |
| Build | OK / NG / N/A |
| Lint | OK / NG / N/A |
| 500-line rule | OK / X files over limit |
## Task Status
| ID | Title | Status |
|----|-------|--------|
| 001 | ... | done |
| 002 | ... | done |
## Test Results
[テスト実行の出力サマリー]
[失敗テストがある場合は詳細]
## Coverage Results
| パッケージ | カバレッジ | 閾値 | 結果 |
|-----------|----------|------|------|
| internal/handler | XX.X% | 80% | OK / NG |
[閾値未達パッケージの詳細(ある場合)]
## File Size Check
[500行超過ファイルの一覧(ある場合)]
## Confidence Summary
### 🟡 妥当な推測(要確認)
- [ファイル](パス) — [確認すべき点]
### 🔴 AI推論補完(人間の確認必須)
- [ファイル](パス) — [判断が必要な理由]
## Issues Found
[検出された問題の詳細]
## Recommendations
[問題がある場合の次アクション提案]
- テスト失敗 → `/dev-debug` の使用を推奨
- 500行超過 → `/dev-impl` のリファクタリングを推奨
- 🔴 残存 → 該当ファイルの人間レビューを推奨
プロジェクトルートに docker-compose.yml または docker-compose.yaml が存在するか確認する。存在する場合:
docker compose down を実行してコンテナを停止する$(git rev-parse --show-toplevel) でルートを取得)npx claudepluginhub classmethod/tsumiki --plugin tsumikiVerifies completed implementations for quality via subagents: completeness, test execution, code review, pragmatic review, production readiness, reality assessment. Compiles read-only reports.
Orchestrates verification of completed implementations via subagents for completeness checks, test execution, code review, pragmatic review, production readiness, and reality assessment. Compiles read-only report.
Verifies code implementation against plan document: reads plan from disk, inspects codebase independently, runs full tests. Outputs structured PASS/FAIL review to file. Use post-execution.