typescript-audit
Installation
SKILL.md
/typescript-audit
Audit a TypeScript project's type discipline against an opinionated baseline organised in four layers — compiler configuration, type quality in source, type system usage, type safety at boundaries — preceded by a diagnostic snapshot. Then offer to generate an implementation plan for the gaps.
The default mental model is TypeScript and React. Layers 1, 2, 3 apply to any TypeScript codebase; layer 4's IO-boundary checks lean toward frontends and full-stack applications, but most checks apply equally to backend TypeScript.
How this differs from neighbouring audits
| Concern | Owner |
|---|---|
Whether tsc --noEmit runs at every lifecycle stage |
/quality-gates-audit |
@typescript-eslint plugin coverage and rule selection |
/linting-audit |
incremental and project references for build performance |
/bundle-build-audit |
useUnknownInCatchVariables as it affects catch typing |
/error-handling-audit |
| Whether the compiler is configured strictly | /typescript-audit |
Quality of types written in source (any, assertions, @ts-ignore) |
/typescript-audit |
| Type system usage (discriminated unions, branded types, utility types) | /typescript-audit |
| Type safety at IO boundaries (runtime validation of network/form/storage data) | /typescript-audit |