← スキル一覧に戻る

completion-verifier
by munlucky
⭐ 0🍴 0📅 2026年1月25日
SKILL.md
name: completion-verifier description: Verifies implementation completion by running acceptance tests and triggers retry loop on failure. context: fork
Completion Verifier Skill
When to Use
- After each implementation phase
- Before marking task as complete
- When retry loop is triggered
Inputs
- context.md path (contains Acceptance Tests section)
- Test framework (from PROJECT.md: jest/vitest/playwright)
Procedure
- Parse Acceptance Tests section from context.md
- Extract test IDs and file paths
- Run tests:
npm test -- --testPathPattern="{test files}" - Parse results (PASS/FAIL per test)
- Update context.md status column
- Return completion status
Output
completionStatus:
total: 5
passed: 4
failed: 1
allPassed: false
failedTests:
- id: T2
type: Unit # or Integration
file: ErrorHandler.test.tsx
error: "Expected error message not shown"
failedPhase: "Phase 1" # Determines where to retry
recommendation: "Fix ErrorHandler.tsx, then re-run Phase 1"
Retry Logic
When allPassed: false:
-
Identify failed phase based on test type:
- Unit FAIL → Phase 1 (Mock implementation)
- Integration FAIL → Phase 2 (API integration)
-
Return to failed phase (NOT test writing):
- Pass
failedTestsinfo to implementation-agent - Implementation-agent fixes code only (no test rewrite)
- Pass
-
Retry limits:
- Max 2 retries per phase
- After 2 failures → Ask user for intervention
Skip Conditions
- No test framework configured → Skip with warning
- No Acceptance Tests in context.md → Skip
- Skip Conditions from testing.md apply (legacy, prototype, etc.)
Tool Call Example
# Run specific tests
npm test -- --testPathPattern="batch.test|ErrorHandler.test"
# Check coverage (optional)
npm test -- --coverage --testPathPattern="..."
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です