Full quality gate: build, lint, format, typecheck, unit tests, Minter integrity, visual verification, and E2E tests. Run after implementing a feature.
Run this after implementing a feature. It checks everything — from fast static checks to full E2E.
If any step fails, fix the issue and re-run from step 1. Loop until ALL pass.
pnpm check
This runs build, lint, format check, typecheck, and unit tests in one command.
If the failure is a formatting issue, run pnpm format to auto-fix, then re-run pnpm check.
minter ci
If minter.lock is stale, run minter lock first.
If the feature has UI changes:
/preview if not already runningSkip this step for backend-only changes.
pnpm test:e2e
Runs Playwright against the live /preview environment. If /preview is not running, run it first.
Step 1 (quality gate)
→ Any failure? Fix → re-run from step 1
→ Pass?
Step 2 (minter)
→ Stale lock? `minter lock` → re-run
→ Pass?
Step 3 (visual)
→ Doesn't look right? Fix → re-run from step 1
Step 4 (E2E)
→ Any failure? Fix → re-run from step 1
→ All pass? Done.
If the same issue persists after 2-3 attempts, follow the "When Stuck" protocol from CLAUDE.md.