gt:typescript-error-fixer
Installation
SKILL.md
TypeScript Error Fixer
Fix all TypeScript compilation errors systematically using a 4-phase workflow. Zero tolerance for any types.
Phase 1: Discovery
- Detect the package manager (check for
package-lock.json,yarn.lock,bun.lockb,pnpm-lock.yaml). - Run the TypeScript compiler with a 1-2 minute timeout, redirecting output to a log file:
Filter to specific directories:tsgo --noEmit 2>&1 | tee tsc-<YYYY-MM-DD-HHmmss>.logtsgo --noEmit | rg "src/" - Parse the log: extract every error with its file path, line number, error code, and message.
- Group errors by file and produce a structured error report.
Phase 2: Planning
- Analyze dependencies -- fixing a type definition file may resolve cascading errors elsewhere. Identify these first.
- Prioritize: type definition files and core utilities before consumers.
Related skills
More from genesiscz/genesistools
genesis-tools:github
|
18genesis-tools:codebase-analysis
Deep codebase analysis without cluttering main session
16gt:analyze-har
|
2gt:claude-history
Find or reference a past Claude Code conversation — fixes, decisions, or discussions from earlier sessions ("you helped me fix", "we debugged", "I remember asking"). Locate sessions by topic, file, or date. Not for codebase/git/Slack history.
2gt:github
|
1debugging-master
|
1