Standards Packs
A Standards Pack is a named selection of a library’s rules, each enforced by a deterministic check or an agent check. Each package uses one.
- Deterministic check
- Code decides, with the same answer every run.
- Agent check
- An agent reviews the change against the rule.
lightsout
fractal
Keeps the repo the same shape at every level, so any file's place is predictable and a duplicate is found by searching for its name.
- ~3.6k tokens
- 21 deterministic checks
- 5 agent checks
code-style
Makes code read the same whoever wrote it: one way to write a function, a class, a named value and a unit test.
- ~4k tokens
- 11 deterministic checks
- 11 agent checks
standards
For a package with no framework pack of its own: one shape at every level, written in one style.
- ~7.7k tokens
- 32 deterministic checks
- 16 agent checks
react
The rules written for React: an app laid out by feature, size caps for hooks and components, and one way to write a component test.
- ~1.4k tokens
- 5 deterministic checks
- 2 agent checks
tanstack-start
The rules written for TanStack Start: the React and base rules, the framework's own files left to it, and the folders it adds for routes, server functions and queries.
Applies only to packages that depend on @tanstack/react-start.
- ~9.5k tokens
- 36 deterministic checks
- 20 agent checks
Your team’s pack
Write a library of your own rules, then build a pack from your rules and these.