/gate-check — Validate Advance Phase
Skill mới trong bộ claudekit — Phase gate validation. Kiểm tra ready advance từ design → dev, dev → QA, QA → production. Verdict: PASS (all green) / CONCERNS (risk accepted) / FAIL (blockers). Structured gating, no guessing.
Tổng quan
/gate-check quy trình checkpoint trước phase shift. Verify: required artifacts exist, quality gates pass, no critical blockers, team aligned.
Khi dùng: Design → dev (“finalized?”), dev → QA (“test coverage ≥ 80%?”), QA → prod (“security audit passed?”), any major transition.
Prefix & flags
Workflow
1
Auto-detect phase
2
Specific phase check
3
Interpret verdict
PASS: Safe to advance. CONCERNS: Risk documented, proceed or not. FAIL: Critical blockers, don’t advance.
4
If CONCERNS — document + decide
Review PDF, document risks, team agrees, proceed with awareness.
5
If FAIL — fix blockers + recheck
Fix, then:
/gate-check --phase productionVí dụ
Ready for QA ✓ PASS
Not ready for production ✗ FAIL
Ready with risks ⚠ CONCERNS
Strict mode — no gray areas
Force override (hotfix)
Required artifacts per phase
Design → Dev:- Design spec (DESIGN.md), Figma/prototype, a11y review, AC per story
- Code review (approved), test coverage ≥ 80%, perf baseline, no critical bugs, staging ready
- Security audit (CSO), test coverage ≥ 90%, canary metrics defined, rollback documented, SLAs met, docs complete
So sánh skill khác
Common pitfalls
- Run gate-check too late: Should be gate keeper, not post-mortem. Check before shift, not after.
- Skip FAIL verdict: FAIL = critical blockers. Fix first, not skip.
- Ignore CONCERNS: Yellow = risks. Document + agree, don’t silently proceed.
- Ambiguous gates: “Test coverage ≥ 80%” clear. “Good quality” not. Define gates upfront.
- Perfectionism: CONCERNS OK if risks acceptable. Don’t delay forever.
FAQ
Nếu FAIL, có thể proceed?
Nếu FAIL, có thể proceed?
Not recommended. FAIL = critical blockers. Fix or escalate for team decision.
CONCERNS = safe to proceed?
CONCERNS = safe to proceed?
Non-blocking warnings. Safe if team agrees to risks + documents them.
Auto-run in CI?
Auto-run in CI?
Yes: CI runs gate-check, reports verdict. Human reviews + decides (especially CONCERNS).
Can override FAIL verdict?
Can override FAIL verdict?
Yes:
/gate-check --override "reason". Logged for audit. Use sparingly (escape hatch).How often to run?
How often to run?
Phase transitions only. Before design → dev, dev → QA, QA → prod. Not per-commit.