typescript
Installation
SKILL.md
TypeScript
Use this skill to configure, diagnose, and fix TypeScript projects. It is a workflow, not a language reference: the type system syntax is assumed knowledge, and the focus is on compiler behavior, configuration, and cryptic failures.
Helper Scripts Available:
scripts/inspect_typescript.py- Detects package manager, TypeScript installation source and normalized version, a side-by-side native compiler (TypeScript 7 alias), per-config effective flags, framework checker (vue-tsc, nuxi, svelte-check, astro), uncovered-file counts per category, exact Nuxt coverage counts, monorepo markers, linter, runner, and the recommended typecheck commandscripts/run_typecheck.py- Runs the project's typecheck script or an existing local compiler and summarizes errors by codescripts/trace_perf.py- Measures compilation via--extendedDiagnostics, flags anomalies, optionally writes a compiler trace
<skill> means the path to this local skill folder. Run helper scripts with --help when usage is unclear or before first use in a session. Prefer using helper scripts as black-box tools. Read or modify their source only when debugging the skill itself or when behavior is unclear. In a git worktree, resolve <skill> to the skill's absolute path: a relative .agents/skills/... (or .claude/skills/...) path may be gitignored and absent from the worktree checkout.