Determines PR readiness with a six-phase verification loop (Build → Type → Lint → Test → Security → Diff).
要約: 6フェーズの総合検証でPRレディネスを判定。quick/fullモードとStop Hook監査をサポート。
WHEN /verify 実行
DO 6フェーズを順次実行
| # | フェーズ | コマンド | 失敗時 |
|---|---------|---------|--------|
| 1 | Build | npm run build | 即停止・修正 |
| 2 | Type | npx tsc --noEmit | 重大エラー修正 |
| 3 | Lint | npm run lint | 報告(--fix可) |
| 4 | Test | npm test | 報告 |
| 5 | Security | npm audit | 報告 |
| 6 | Diff | git diff --stat | レビュー |
WHEN /verify quick 実行
DO 最小セットを実行
test:unit)╔════════════════════════════════════════════╗
║ VERIFICATION REPORT ║
╠════════════════════════════════════════════╣
║ Build: [PASS] ✅ ║
║ Types: [PASS] ✅ (0 errors) ║
║ Lint: [PASS] ⚠️ (3 warnings) ║
║ Tests: [PASS] ✅ (42/42, 85%) ║
║ Security: [PASS] ✅ (0 critical) ║
║ Diff: [INFO] 📝 (5 files, +120 -45) ║
╠════════════════════════════════════════════╣
║ Overall: [READY] ✅ for PR ║
╚════════════════════════════════════════════╝
NOT READY時:
Issues to Fix:
1. src/user.ts:45 - Type error TS2322
2. tests/api.test.ts - 2 failed tests
WHEN 長時間セッション(15分以上)または大きな変更後
DO 自動検証を提案
💡 検証を実行しますか?
最後の検証から15分経過しました。
WHEN セッション終了
DO 編集ファイルに対して監査
| チェック | 対象 | アクション |
|---------|------|----------|
| console.log | .ts, .tsx, .js | 警告 |
| debugger | .ts, .tsx, .js | 警告 |
| TODO/FIXME | 全ファイル | リスト化 |
| 未コミット | Git管理 | コミット提案 |
検出コマンド:
grep -rn "console.log\|debugger" --include="*.ts" --include="*.tsx" src/
grep -rn "TODO\|FIXME" --include="*.ts" src/
git status --short
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer