| name | typescript-audit |
| description | Use when reviewing TypeScript code quality — run ESLint, check types, verify tests, flag common issues. Trigger on "audit", "typescript audit", "lint", "check TypeScript code". |
TypeScript Audit
Quick quality check for TypeScript projects. Run the automated tools, flag what they miss.
Steps
1. Run automated checks
npx eslint .
npx tsc --noEmit
npx vitest run
Fix any failures before proceeding.
2. Manual review checklist
After automated tools pass, check these (tools can't catch them):
Types:
Error handling:
Express patterns:
Code quality:
Security:
3. Report
For each finding: file, line, what's wrong, suggested fix, priority (High/Medium/Low).
Group by: automated tool failures first, then manual findings.