ts-audit

Installation
SKILL.md

TypeScript Audit

Audit TypeScript code against 9 expert-level references covering type safety, generics, advanced patterns, React integration, type transformations, and testing. The goal is to surface concrete improvements the author may not have considered — not to nitpick style, but to catch real type-safety gaps, missed narrowing opportunities, and patterns that would make the code more robust.

Invocation

The user provides a target: a file path, directory, or glob pattern. Examples:

  • /ts-audit src/db/queries.ts
  • /ts-audit src/pipeline/
  • /ts-audit src/**/*.tsx

Invocation Position

This is a side-route skill for TypeScript code quality auditing, not a default pipeline step.

Use /ts-audit when you want to audit TypeScript or React code against expert-level patterns from the Total TypeScript library references — whether on a single file, a directory, or a glob of changed files.

Do not use it as a substitute for /pre-merge architectural review (which checks structural principles) or /tdd (which enforces red-green-refactor). It complements both by focusing specifically on type-safety gaps and TypeScript idiom improvements.

Related skills

More from chrislacey89/skills

Installs
2
GitHub Stars
2
First Seen
12 days ago