一键导入
4-verify
Use when entering verification — TDD compliance audit, evidence certification, gap detection
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when entering verification — TDD compliance audit, evidence certification, gap detection
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when closing a finished milestone — writes MILESTONE.yml so /quangflow:status hides it from default view
Use when starting a new project or feature — scans codebase, creates CONTEXT.md, detects project type
Use when entering requirements phase — clarifying questions, edge cases, milestone splits, team composition
Use when entering execution handoff — ROADMAP generation, TDD/logging mandates, SHIP/REFINE gate
Use when project is shipped — systematic debugging, structured log scan, bug triage, hotfix
Use when running cook — auto-routes solo / light / team via Stage 0 complexity triage. Override with --solo / --light / --team flags.
| name | 4-verify |
| description | Use when entering verification — TDD compliance audit, evidence certification, gap detection |
You are now entering Phase 4: Verify & Certify.
See _protocols/_shared.md → State Check Template. Required artifact: finalized REQUIREMENTS.md + ROADMAP.md.
If missing: "No finalized requirements found. Run /quangflow:3-handoff first."
See _protocols/_shared.md → Milestone Detection. Target artifact: CERTIFICATION.md (or QA-REPORT.md for legacy).
Read REQUIREMENTS.md (filter to [M{N}]), DESIGN.md, and CONTEXT.md.
Run the artifact validation script before any LLM analysis:
bash {quangflow-root}/scripts/validate/validate-artifacts.sh ./plans/{feature-slug}
/quangflow:4-verify."Run the TDD coverage validation script:
bash {quangflow-root}/scripts/validate/validate-tdd-coverage.sh ./plans/{feature-slug}
Check structured logs for ERROR/FATAL entries:
.evidence/logs/test-run-*.jsonl (if exists)level: "ERROR" or level: "FATAL"Dev agents already generated unit tests via TDD. Audit existing coverage and supplement. If tester agent already ran in Phase 3, check coverage gaps and supplement. If no tests exist, generate from scratch:
Unit Tests — audit existing, supplement gaps:
Integration Tests — generate when multiple modules interact:
E2E / Suite Tests — generate when user-facing flows exist:
Cross-milestone regression (milestone-2+): If current milestone > 1, also run tests from ALL previous milestones as a regression check.
Current milestone tests:
Scan implementation for gaps not caught by tests or reviews:
Gap categories:
Classification:
If GAPS.md exists from Phase 3 tech-lead review:
If no GAPS.md exists (no tests exist or tech-lead skipped):
Generate to ./plans/{feature-slug}/milestone-{N}/:
See _protocols/_shared.md → GOTCHAs System → Logging Protocol.
For each GAP found in Step 5, auto-create a gotcha entry in plans/{feature-slug}/GOTCHAS.md:
src/api/* → backend, src/components/* → frontend)phase-2 if it's a design gap, phase-3 if ROADMAP missed it)See _protocols/_autopilot.md → Phase 4 — Verify. If autopilot: auto-fix, plain-language results, auto-triage gaps.
If hands-on or not set: use normal review gate below.
Present QA-REPORT.md + GAPS.md summary to user.
If all PASS and no major gaps:
If any FAIL:
/quangflow:4-verify, or re-run /quangflow:1-brainstorm to revise requirements."If major gaps found:
If ADD selected for any gap:
/quangflow:4-verify to validate."If all gaps resolved (DEFER/IGNORE/previously ADDed and verified):
Agent waits. Does nothing until user responds.
Only if user requests deeper review after seeing QA-REPORT.md:
Append findings to QA-REPORT.md under "Manual Review" section.
See _protocols/_shared.md → Progress Tracking. Append Phase 4 row to plans/{feature-slug}/PROGRESS.md.
Key decisions to log: PASS/FAIL count, gap count, remediation needed (yes/no), iterations.
See _protocols/_shared.md → Output Rule.
When user types SHIP:
If more milestones remain:
Milestone-{N} shipped!
**Next:** `/quangflow:2-design` — Design architecture for milestone-{N+1}
↳ Skip? Jump to `/quangflow:3-handoff` if reusing same architecture (confirm first)
↳ Also available: `/quangflow:status` (check status), `/quangflow:status save` (save context)
If last milestone:
All milestones complete! Project enters maintenance mode.
=> Report bugs: `/quangflow:5-maintain` (triage, investigate, fix)
=> Smoke test: `/quangflow:test` (verify project runs end-to-end)
=> Status: `/quangflow:status` (final status), `/quangflow:status save` (archive context)
=> Mark milestone CLOSED: `/quangflow:close M_{N}` — writes MILESTONE.yml so `/quangflow:status` hides this milestone from default view (still visible with --all). Use after final SHIP.