Quality Gates (Parallel Execution)

SkillAI & models

Parallel quality gate orchestration — @validator and @tester run simultaneously after @builder, with mandatory decision matrix for pass/fail routing

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Quality Gates (Parallel Execution) skill

What this skill tells your AI

The instructions your AI receives, as published by cubetribe/claudecode_godmode-on in skills/quality-gates/SKILL.md and read by ahel’s review.

After @builder completes, BOTH quality gates run simultaneously.

Parallel Execution Pattern

                    @builder completes
                           │
           ┌───────────────┴───────────────┐
           ▼                               ▼
    ┌─────────────┐                 ┌─────────────┐
    │ @validator  │                 │  @tester    │
    │ Code Quality│                 │ UX Quality  │
    ├─────────────┤                 ├─────────────┤
    │ ✓ TypeScript│                 │ ✓ E2E Tests │
    │ ✓ Unit Tests│                 │ ✓ Screenshots│
    │ ✓ Security  │                 │ ✓ A11y      │
    │ ✓ Consumers │                 │ ✓ Perf      │
    └──────┬──────┘                 └──────┬──────┘
           │                               │
           └───────────────┬───────────────┘
                      SYNC POINT
                           │
                   Apply Decision Matrix

Decision Matrix (MANDATORY)

Both agents MUST complete before applying this matrix:

@validator@testerNEXT ACTION
✅ APPROVED✅ APPROVEDPROCEED to @scribe
✅ APPROVED🔴 BLOCKEDRETURN to @builder (with @tester feedback)
🔴 BLOCKED✅ APPROVEDRETURN to @builder (with @validator feedback)
🔴 BLOCKED🔴 BLOCKEDRETURN to @builder (with MERGED feedback from both)

Rules:

  • You MUST wait for BOTH agents before deciding
  • @scribe can ONLY be called when BOTH gates are APPROVED
  • If ANY gate is BLOCKED → back to @builder with specific feedback
  • Maximum 3 retry cycles before escalation to user

@validator Checks (Code Quality)

CheckToolBlocking?
TypeScript compilationnpx tsc --noEmitYES
Unit tests passnpm testYES
No security vulnerabilitiesStatic analysisYES
Consumer impact verifiedType-check consumersYES if API change
Code style / lintingnpm run lintNO (warning only)

Minimum output: 400 characters Required sections: Summary, Checks Performed, Issues Found, Verdict

@tester Checks (UX Quality)

CheckToolBlocking?
E2E tests passPlaywright MCPYES
Screenshots at 3 viewportsPlaywright MCPYES
Console errors capturedBrowser consoleYES (errors only)
WCAG 2.1 AA compliancea11y checksYES
Core Web VitalsLCP, CLS, INP, FCPNO (warning if poor)

Screenshot viewports:

  • Mobile: 375px
  • Tablet: 768px
  • Desktop: 1920px

Minimum output: 800 characters Required sections: Summary, Screenshots Table, Console Errors, Performance Metrics, Verdict

Execution with Worktree Isolation

For conflict-free parallel execution, use isolation: worktree (native Claude Code subagent frontmatter — already set in validator.md/tester.md; no repo tooling required):

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.

Performance

ModeDurationImprovement
Sequential8–12 minbaseline
Parallel5–7 min40% faster
Parallel + Worktree5–7 min40% faster + zero conflicts

Fail-Safe (Graceful Degradation)

If an agent crashes (MCP failure, timeout):

  1. Full Report — Normal operation, all checks pass
  2. Partial Report — Some checks completed, others failed/timed out
  3. Failure Report — Agent crashed, structured error output

Failure report includes: error type, suggested action (retry/escalate/skip), completion percentage.

Agent Return Contract

Each agent writes a full report to reports/vX.Y.Z/sprint-NN/<NN>-<agent>-report.md (canonical numbering: docs/templates/REPORT_TEMPLATES.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.

Signals

GitHub stars
51
Forks
8
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
quality-gates-cubetribe
Source
github.com/cubetribe/claudecode_godmode-on