validate

Installation
SKILL.md

Type safety chain: error check and fix

Run the six-layer validation bottom-up. Fix any failures at the failing layer only, then re-validate until all layers pass.

1. Run error check

  • Full chain: pnpm validate:all — checks layers 1 → 6, stops at first failure.
  • Single layer:
    pnpm db:check | pnpm contracts:check | pnpm services:check | pnpm routes:check | pnpm hooks:check | pnpm ui:check

Each script prints JSON (status, message, missing, invalid); exit 0 = success, 1 = failure. Success = LOCKED (L1, L2, L3, L5) or VALIDATED (L4, L6). Failure = UNLOCKED.

2. Fix errors (until 0 errors)

  1. Run pnpm validate:all.
  2. If a layer fails: fix only at that layer (never change a lower layer to satisfy an upper one). Use the script’s message and missing/invalid to see what’s wrong.
  3. Re-run from the fixed layer: run that layer’s command, then each higher layer (or pnpm validate:all again).
  4. Repeat until pnpm validate:all exits 0 and every layer reports LOCKED or VALIDATED.
Installs
1
GitHub Stars
1
First Seen
Jun 4, 2026
validate — joshuashepherd/my-skills