What problem does it solve?
This Skill eliminates drifting, brittle TypeScript code by enforcing a strict "zero-fat" standard so types, names, and structure express intent rather than comments or defensive holes. It prevents silent failures, inconsistent configuration, and fragile relative imports that make refactors and reviews costly.
Core Features & Use Cases
- Opinionated code standards: Prohibits comments and JSDoc for business intent, bans any usage, forbids try-catch in business logic, and disallows hardcoded values and relative imports.
- Tooling alignment: Targets Bun runtime, Biome linting, and tsc --strict type checking with Zod validation at system boundaries to guarantee runtime safety.
- Use Case: Run this protocol during code generation or PR review to ensure new or refactored TypeScript functions follow strict typing, centralized config, and schema validation before merging.
Quick Start
Run the TypeScript Zero-Fat review whenever generating or editing TypeScript in the repository to enforce no comments, no any, no try-catch in business logic, absolute imports, and centralized configuration usage.