lint-build-fixer
Installation
SKILL.md
Lint and Build Fixer
This skill provides a systematic workflow for resolving TypeScript and ESLint errors in a project.
Workflow
1. Discovery
Analyze package.json to identify relevant scripts:
- Build/Type-check: Look for
build,type-check,tsc,check-types. - Lint: Look for
lint,eslint.
2. TypeScript/Build Fixes (Priority 1)
Fix all TypeScript or build-related errors before addressing linting.
- Identify Errors: Run the identified build or type-check command (e.g.,
npm run type-check). Alternatively, use IDE/editor TypeScript diagnostics. - Iterative Fix: Address errors one by one or in small batches.
- Verify: Re-run the build/type-check command to ensure all errors are resolved.
- Commit: Use
git commit -m "fixing the build"once the build is green.