# Gate Code

> Build/type/lint quality gate for the ultraweb pipeline — proves the codebase green with commands, not claims. Runs npm run build to exit 0, npx tsc --noEmit clean under strict, ESLint via the CLI directly (next lint is REMOVED in Next 16), serves every route in dev with a clean console, audits every "use client" directive for count and placement (leaves, never layouts), greps for stack relics (middleware.ts, framer-motion, priority prop, Tailwind v3 patterns), and sweeps package.json for unused dependencies, then runs a dependency-free token-contract linter that fails on undeclared @theme tokens or any foreground/surface pair below WCAG AA. Invoke in Phase 11 of the ultraweb pipeline as the FIRST gate — nothing visual gets judged on a broken build — after any multi-file code change to an ultraweb site, or when the user says "run the code gate", "does it build", "check types and lint", "is the build clean", or "check the token contract". Writes a dated pass/fail entry with command evidence to design/QA.md.

## Facts
- Page: https://tashan.sh/capability/skill-blyatiful1-gate-code
- tashan id: skill:blyatiful1/gate-code
- Source: https://github.com/blyatiful1/ultraweb
- Type: skill
- Category: design
- tashan score: not scored (catalogued only — too little public evidence)
- Adoption: 9.0
- Upkeep: 99.0
- Freshness: 97.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: MIT
- Official: no

## Install

```sh
cp -r gate-code ~/.claude/skills/
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-08-23 by tashan (https://tashan.sh) from public evidence. Scorer s5.
