ts-typecheck-triage
Triages TypeScript errors, applies minimal safe fixes, and validates results in focused waves
Files1
View on GitHubSKILL.md.agents/skills/ts-typecheck-triage/SKILL.md
GitHubTS Typecheck Triage
Use this skill when TypeScript errors block implementation progress.
Inputs
- Target scope (file(s), folder, or full project)
- Current compiler command (
tsc, project config) - Any known hot files from previous runs
Workflow
- Capture current error set (diagnostics or
tsc --noEmit) - Group by root cause (imports, typings, model mismatch, syntax)
- Fix highest-leverage root cause first
- Re-run focused validation
- Re-run broader validation
- Update tracker only with verified numbers
Fix Strategy
- Prefer API/name alignment over introducing aliases unless needed.
- Prefer local state/service fallback when store exports are missing.
- Keep edits minimal and reversible.
Output
- Files changed
- Error count before/after
- Remaining blockers by file and category
Gotchas
- Terminal output can lag or buffer; corroborate with diagnostics.
- Be careful with encoding when writing tracker markdown from terminal.