# Build Verify

> Run the full verification pipeline: TypeScript type check, ESLint, tests, then Next.js build. All four must exit 0. Report exact failures. Do not proceed to change summary until all pass.

- Skill: `sanjai52/build-verify` (Agent Skill)
- Install (CLI): `npx skillmds@latest add sanjai52/build-verify`
- Raw SKILL.md: https://api.skillmd.com/api/skills/sanjai52/build-verify/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: Sanjai52 (https://skillmd.com/u/sanjai52)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/sanjai52/build-verify

---

# Build Verification Skill

Runs after all layer verifications and security review pass.

## Pipeline — Run in This Exact Order

```bash
# 1. Type check (catches TS errors not caught by editor)
npm run typecheck
# = tsc --noEmit
# Must exit 0. Fix all type errors before proceeding.

# 2. Lint
npm run lint
# = eslint .
# Must exit 0. Fix all lint errors before proceeding.

# 3. Tests
npm run test
# Must exit 0. All tests pass. Fix failures before proceeding.

# 4. Build
npm run build
# Must exit 0. No build errors or warnings treated as errors.
```

## Output Format

On full pass:
```
BUILD VERIFICATION
──────────────────
Typecheck:  PASS
Lint:       PASS
Tests:      PASS  (X passed, 0 failed)
Build:      PASS

All steps clean. Proceeding to change summary.
```

On any failure:
```
BUILD VERIFICATION
──────────────────
Typecheck:  FAIL
  → [exact error] at [file:line]
Lint:       BLOCKED
Tests:      BLOCKED
Build:      BLOCKED

Fixing before proceeding.
```

Do not output 07-change-summary until all four steps show PASS.

