typescript-expert
Installation
SKILL.md
TypeScript Expert
Use the project's installed TypeScript version and runtime/toolchain constraints as the source of truth. This guidance was checked against TypeScript 7.0.2, the stable latest release on 2026-08-29. When “latest” matters, verify the current stable tag and official release notes instead of relying on this date.
Canonical sources:
- TypeScript Handbook
- TSConfig Reference
- Official TypeScript releases
- Official TypeScript release blog
Working Method
- Inspect
package.json, the lockfile, all applicabletsconfig*.jsonfiles andextendschains before recommending code or configuration. - Determine the actual compiler used by the failing command. Framework checkers such as
vue-tsc,svelte-check, Angular, Astro, and MDX tooling may embed or constrain a different TypeScript version. - Reproduce the diagnostic with the project's existing script and local dependency. Do not silently download or substitute the newest compiler.
- Fix the earliest root cause with the smallest runtime-preserving change. Re-run the same command; use a focused compile or type test only as additional evidence.
- Report the compiler version, command, result, and any remaining baseline or compatibility limitation.