/aide:build-fixfrom aide
Fixes build, lint, and type errors in JS/TS projects. Runs checks, categorizes errors by priority, and applies systematic fixes with minimal changes.
Ships in aide. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Recommended model tier: balanced (sonnet) - this skill performs straightforward operations
Rapidly fix all build, type, and lint errors with minimal changes.
Before starting, ensure you have:
Run all checks and capture output:
# Run in sequence, capture all output
npm run build 2>&1 | head -100
npm run lint 2>&1 | head -100
npx tsc --noEmit 2>&1 | head -100
If commands fail to run:
npm install if dependencies are missingnpm ci for clean install if lock file existsProcess errors in this order:
Group similar errors:
Use MCP tools to find definitions and patterns:
# Find type definitions
mcp__plugin_aide_aide__code_search query="InterfaceName" kind="interface"
# Find function signatures
mcp__plugin_aide_aide__code_search query="functionName" kind="function"
# Get symbols in a file
mcp__plugin_aide_aide__code_symbols file="path/to/file.ts"
# Check project conventions
mcp__plugin_aide_aide__decision_get topic="coding-style"
Fix in batches by category:
_# Run full verification
npm run build && npm run lint && npx tsc --noEmit
Verification criteria:
# Run tests to ensure fixes didn't break functionality
npm test
| Failure | Action |
|---|---|
npm run build fails to start | Run npm install first |
| Circular dependency error | Check import structure, may need refactoring |
| Type error in third-party lib | Check @types package version, update if needed |
| Cannot resolve module | Check tsconfig.json paths, baseUrl settings |
| ESLint config error | Check .eslintrc, ensure plugins installed |
| Fix introduces new errors | Revert and try alternative approach |
| Error | Fix |
|---|---|
| Cannot find module | Add import statement |
| Type 'X' not assignable | Add type annotation or use type assertion |
| 'X' is declared but never used | Remove or prefix with _ |
| Missing return type | Add explicit return type |
| Unexpected any | Add proper type annotation |
| Property does not exist | Check interface, add property or fix typo |
| Argument of type X not assignable | Check function signature, cast if needed |
mcp__plugin_aide_aide__code_search - Find type definitions, function signaturesmcp__plugin_aide_aide__code_symbols - List all symbols in a filemcp__plugin_aide_aide__decision_get - Check project coding decisionsReport all fixes made:
## Build Fix Report
### Errors Fixed
- `src/foo.ts:10` - Added missing import for `Bar`
- `src/foo.ts:25` - Fixed type: `string` -> `string | null`
- `src/bar.ts:5` - Removed unused variable `temp`
### Verification
- Build: PASS
- Lint: PASS
- Types: PASS
- Tests: PASS
### Notes
[Any observations or remaining warnings]
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jmylchreest/aide --plugin aide26 skills in this plugin
/assess-findingsTriage static analysis findings, grade them against recorded decisions, and accept noise or irrelevant items/autopilotFull autonomous execution - keeps working until all tasks are verified complete/code-searchLocate definitions, investigate callers and change impact, explore file structure, and read selected source/context-usageAnalyze current session context and token usage from OpenCode SQLite databaseOther plugins' skills for the same job