
Auto Type Checking
- 245 installs
- 655 repo stars
- Updated August 2, 2026
- spencerpauly/awesome-cursor-skills
Helps with ai & agent building tasks.
About
auto-type-checking is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.
- auto-type-checking
- AI & Agent Building
- AI-coding skill
Auto Type Checking by the numbers
- 245 all-time installs (skills.sh)
- +28 installs in the week ending Aug 5, 2026 (Skillselion tracking)
- Ranked #2,599 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/spencerpauly/awesome-cursor-skills --skill auto-type-checkingAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 245 |
|---|---|
| repo stars | ★ 655 |
| Last updated | August 2, 2026 |
| Repository | spencerpauly/awesome-cursor-skills ↗ |
What it does
Helps with ai & agent building tasks.
Files
Auto Type Checking
Catch type errors immediately after every edit instead of discovering them at build time.
Manual Workflow
After editing a TypeScript file, run:
npx tsc --noEmit 2>&1 | head -30If errors appear, fix them before moving on.
Automated with Cursor Hooks
Add to .cursor/hooks.json to run automatically after every file edit:
{
"hooks": [
{
"event": "afterFileEdit",
"script": "check-types.sh",
"pattern": "**/*.{ts,tsx}"
}
]
}Create .cursor/hooks/check-types.sh:
#!/bin/bash
# Quick type check — only reports errors, doesn't block
npx tsc --noEmit --pretty 2>&1 | head -20
exit 0 # Don't block the agent even if there are errorschmod +x .cursor/hooks/check-types.shWhat to Check
When type errors appear:
1. Missing imports: Cannot find name 'X' → add the import 2. Type mismatches: Type 'string' is not assignable to type 'number' → fix the type or the value 3. Missing properties: Property 'x' does not exist on type 'Y' → add the property to the interface or fix the access 4. Null safety: Object is possibly 'null' → add null check or optional chaining 5. Generic constraints: Type 'X' does not satisfy the constraint 'Y' → fix the generic parameter
Tips
- Use
--noEmitto type-check without producing output files - For large projects,
tsccan be slow — consider--incrementalor running only on changed files - If using path aliases, ensure
tsconfig.jsonpaths are configured correctly - For monorepos, run
tscfrom the package root, not the workspace root - Pair with
grinding-until-passfor a full "fix until clean" loop