typescript-common-practice
Installation
SKILL.md
House skill. This is the TypeScript language baseline that complements software-engineering. It does not replace typescript-type-safety, typescript-async, typescript-testing, javascript-runtime, browser-runtime, or framework-specific skills.
When to load
Load for TypeScript source changes: application code, libraries, CLIs, plugins, build tooling, and typed tests. Do not load for read-only inspection unless TypeScript conventions are themselves the subject.
Load narrower skills only when their concern is material. A synchronous pure refactor does not need the async skill; a type-only change does not automatically need browser-runtime.
Start from the repository contract
Before changing code, inspect the local TypeScript contract:
- tsconfig files and project references;
- package manager and scripts;
- runtime and module mode;
- lint/format configuration;
- test runner and test environment;
- generated-code boundaries.