원클릭으로
build-fix
Fix build, lint, and type errors
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fix build, lint, and type errors
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Explore codebase structure, entry points, tech stack, hotspots, and call graphs
Search code symbols, find function calls, and analyze codebase
Run the instinct parser catalogue against this session's observe events to surface candidate patterns for promotion to memories. Two-pass: gather candidates, judge intent, write proposals.
Parallel agents with SDLC pipeline per story
Inspect a running swarm — show the agent tree, current tools, halts/pauses, and recent task/message activity for the orchestrator's own swarm.
Systematic debugging workflow for tracking down bugs and issues
| name | build-fix |
| description | Fix build, lint, and type errors |
| triggers | ["fix build","fix the build","build is broken","lint errors","type errors","fix errors"] |
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]