10 / constitution

Write the rules once.

md
/speckit.constitution

# Engineering principles
- Data fetching uses TanStack Query. Never bare fetch.
- Forms use React Hook Form + Zod. Validate on blur.
- Tests describe behavior, not implementation.
- No new top-level deps without an ADR.

# Style
- TypeScript strict. No 'any'.
- Tailwind tokens only. No raw hex or rgb.

# Safety
- User-visible errors route through toast(). Never alert().
One file at .specify/memory/constitution.md. Inherited by every feature, read by every command.
Back to portfolio11 / 21