From cc-godmode
Orchestrates parallel code quality (@validator) and UX quality (@tester) gates, then applies a decision matrix to route pass/fail results. Use after a build step to enforce release readiness.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cc-godmode:quality-gatesThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
After @builder completes, BOTH quality gates run **simultaneously**.
After @builder completes, BOTH quality gates run simultaneously.
@builder completes
│
┌───────────────┴───────────────┐
▼ ▼
┌─────────────┐ ┌─────────────┐
│ @validator │ │ @tester │
│ Code Quality│ │ UX Quality │
├─────────────┤ ├─────────────┤
│ ✓ TypeScript│ │ ✓ E2E Tests │
│ ✓ Unit Tests│ │ ✓ Screenshots│
│ ✓ Security │ │ ✓ A11y │
│ ✓ Consumers │ │ ✓ Perf │
└──────┬──────┘ └──────┬──────┘
│ │
└───────────────┬───────────────┘
SYNC POINT
│
Apply Decision Matrix
Both agents MUST complete before applying this matrix:
| @validator | @tester | NEXT ACTION |
|---|---|---|
| ✅ APPROVED | ✅ APPROVED | PROCEED to @scribe |
| ✅ APPROVED | 🔴 BLOCKED | RETURN to @builder (with @tester feedback) |
| 🔴 BLOCKED | ✅ APPROVED | RETURN to @builder (with @validator feedback) |
| 🔴 BLOCKED | 🔴 BLOCKED | RETURN to @builder (with MERGED feedback from both) |
Rules:
| Check | Tool | Blocking? |
|---|---|---|
| TypeScript compilation | npx tsc --noEmit | YES |
| Unit tests pass | npm test | YES |
| No security vulnerabilities | Static analysis | YES |
| Consumer impact verified | Type-check consumers | YES if API change |
| Code style / linting | npm run lint | NO (warning only) |
Minimum output: 400 characters Required sections: Summary, Checks Performed, Issues Found, Verdict
| Check | Tool | Blocking? |
|---|---|---|
| E2E tests pass | Playwright MCP | YES |
| Screenshots at 3 viewports | Playwright MCP | YES |
| Console errors captured | Browser console | YES (errors only) |
| WCAG 2.1 AA compliance | a11y checks | YES |
| Core Web Vitals | LCP, CLS, INP, FCP | NO (warning if poor) |
Screenshot viewports:
Minimum output: 800 characters Required sections: Summary, Screenshots Table, Console Errors, Performance Metrics, Verdict
For conflict-free parallel execution, use isolation: worktree:
Task tool → subagent_type: "validator", isolation: "worktree"
Task tool → subagent_type: "tester", isolation: "worktree"
Both agents get their own git worktree — no file conflicts possible.
| Mode | Duration | Improvement |
|---|---|---|
| Sequential | 8–12 min | baseline |
| Parallel | 5–7 min | 40% faster |
| Parallel + Worktree | 5–7 min | 40% faster + zero conflicts |
If an agent crashes (MCP failure, timeout):
Failure report includes: error type, suggested action (retry/escalate/skip), completion percentage.
Each agent writes a full report to reports/vX.X.X/NN-<agent>-report.md. The return message to the Orchestrator is the structured verdict only — separate from the on-disk report.
STATUS: APPROVED | BLOCKED | DONE
- finding 1 (one line max)
- finding 2
- finding 3
report: <absolute path to full report>
Important: scripts/validate-agent-output.js enforces min-length on the file, not the return message. This contract does not change validation behavior. Min-lengths remain: architect 1000, api-guardian 800, builder 500, validator 400, tester 800, scribe 300, github-manager 200.
npx claudepluginhub cubetribe/claudecode_godmode-onDefines canonical quality check commands for typecheck, test, and lint with four variants (Baseline, Incremental, Full Gate, Per-File). Reference skill consumed by session-start, wave-executor, session-end, and session-reviewer.
Runs multi-agent verification loop post-implementation, dispatching specialized agents for review with autonomous subagent fixes and retries until unanimous approval.
Performs multi-AI validation, scoring, and review of code or documents using external AI providers. Part of the Double Diamond Deliver phase.