Develop and review TypeScript code across frontend, backend, libraries, and tooling. Use for type safety, API contracts, refactors, tsconfig, package boundaries, and tests.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Develop and review TypeScript code across frontend, backend, libraries, and tooling. Use for type safety, API contracts, refactors, tsconfig, package boundaries, and tests.
TypeScript Development
Purpose
Help engineers use TypeScript as a design tool, not only syntax checking. Favor precise domain types, stable module boundaries, and readable control flow.
Workflow
Inspect tsconfig, package manager, framework, and existing lint/test commands.
Model external input as unknown until validated.
Use discriminated unions, branded IDs, and typed results where they clarify behavior.
Avoid excessive generics and type gymnastics when plain types are clearer.
Verify with typecheck, tests, and build where available.
Checklist
strict, noUncheckedIndexedAccess, and module resolution behavior.
Runtime validation for API, env, file, and database input.