code-style
Installation
SKILL.md
Code style, TypeScript, and naming
When to use: Biome formatting, import style, strict TypeScript, naming (including React file names), or generated files. For where domain code lives, see architecture-boundaries.
Code style (Biome)
Biome config (biome.json) is the source of truth:
- Indentation: 2 spaces
- Max line width: 120
- Strings: double quotes
- Semicolons: as needed
- Ignore generated/output paths:
dist/**,coverage/**,.turbo/**,node_modules/**,**/*.gen.ts,**/models.dev.json - Prefer package-local formatting:
pnpm --filter @app/api format