writing-typescript
Installation
SKILL.md
TypeScript Development
Scope
- Use for
.tsand.tsx, Node.js services, React apps, typed APIs, and TypeScript design advice. - Do not use for Go, Python, plain HTML/CSS/JS, or server-rendered templates.
- Follow the repository's TypeScript version, tsconfig, package manager, framework, test runner, and lint rules.
- Do not add dependencies or switch frameworks unless the project already uses them or the user approves.
Reference Reads
- Read only the references needed for the task.
- Read
references/principles.mdfor non-trivial TypeScript changes or reviews. - Read
references/patterns.mdfor data models, validation, async flow, or module boundaries. - Read
references/react.mdfor.tsx, hooks, component state, forms, performance, or React tests. - Read
references/testing.mdbefore adding or changing TypeScript tests.