Agent Skill
2/7/2026fix-types
Fix TypeScript errors
H
hechar788
0GitHub Stars
1Views
npx skills add hechar788/Claude-Configuration
SKILL.md
| Name | fix-types |
| Description | Fix TypeScript errors |
name: fix-types description: Fix TypeScript errors user-invocable: true allowed-tools: Bash(npx tsc *), Read, Edit
Fix TypeScript Errors
Check for Errors
npx tsc --noEmit
Instructions
Review the TypeScript errors above and fix each one:
- Identify the root cause - Understand why the type error is occurring
- Fix with minimal changes - Don't over-engineer; make the smallest change that correctly resolves the issue
- Verify the fix compiles - After fixing, re-run the type check
Guidelines
- Prefer fixing the actual type issue over using
anyor@ts-ignore - If a type assertion is needed, use
aswith a specific type rather thanas any - Consider whether the error reveals a real bug vs. a type definition gap
- Update interfaces/types if the shape has legitimately changed
Verification
After fixing all errors, run the type check again to confirm:
npx tsc --noEmit
Continue until there are no type errors remaining.
Skills Info
Original Name:fix-typesAuthor:hechar788
Download