fix-ts-errors

Installation
SKILL.md

Fix TypeScript errors

I fix the types at their source and loop the workspace check until it exits 0. I do not work around them.

Workflow

Step 1: Identify Target Files

  • If the user specifies files, I use those.
  • If the user says "changed files", I run git diff --name-only HEAD for staged plus unstaged .ts and .tsx files, plus git ls-files --others --exclude-standard for untracked ones.
  • If it is unclear, I ask which files.

Step 2: Go red

I run the workspace type-check, pnpm type-check or turbo type-check, or bunx tsc --noEmit for a plain TS project. That output is the loop ground truth.

I use IDE diagnostics, the LSP tool or mcp__ide__getDiagnostics, only to localize an error the check already reported. IDE diagnostics are per-file and unreliable across workspace package boundaries, so they narrow. They never decide.

Step 3: Fix Errors

Installs
30
GitHub Stars
2
First Seen
Apr 13, 2026
fix-ts-errors — bhagyamudgal/skills