typescript-engineering
Installation
SKILL.md
This skill improves TypeScript quality across applications, packages, APIs, and tooling.
Quick Start
- Identify runtime context: Node, browser, React, Next.js, CLI, or library.
- Inspect
tsconfig, package manager, lint rules, tests, and build tooling before editing. - Prefer strict typing, small modules, and explicit boundary validation.
- Validate with the type checker and the existing test runner.
Core Rules
- Correctness first, then maintainability, then performance.
- Keep
strictmode assumptions intact. - Use types to model domain rules, but validate unknown data at runtime.
- Prefer explicit return types on exported APIs and reusable utilities.
- Avoid broad
any, assertion-heavy flows, and over-abstracted generic helpers.