build-fix
Fix build and TypeScript errors with minimal changes
от MeroZemory★ 30 звёзд на GitHub
Установить build-fix в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Build Fix Skill
Fix build and TypeScript errors quickly with minimal code changes. Get the build green without refactoring.
When to Use
This skill activates when:
- User says "fix the build", "build is broken"
- TypeScript compilation fails
npm run buildortscreports errors- User requests "minimal fixes" for errors
What It Does
Delegates to the build-fixer agent (Sonnet model) to:
Collect Errors
- Run
npx tsc --noEmitto get all TypeScript errors - Or run
npm run buildto get build failures - Categorize errors by type and severity
- Run
Fix Strategically
- Add type annotations where missing
- Add null checks where needed
- Fix import/export statements
- Resolve module resolution issues
- Fix linter errors blocking build
Minimal Diff Strategy
- NO refactoring of unrelated code
- NO architectural changes
- NO performance optimizations
- ONLY what's needed to make build pass
Verify
- Run
npx tsc --noEmitafter each fix - Ensure no new errors introduced
- Stop when build passes
- Run
Agent Delegation
Task(
subagent_type="oh-my-droid:build-fixer",
model="claude-sonnet-4-5-20250929",
prompt="BUILD FIX TASK
Fix all build and TypeScript errors with minimal changes.
Requirements:
- Run tsc/build to collect errors
- Fix errors one at a time
- Verify each fix doesn't introduce new errors
- NO refactoring, NO architectural changes
- Stop when build passes
Output: Build error resolution report with:
- List of errors fixed
- Lines changed per fix
- Final build status"
)
Stop Conditions
The build-fixer agent stops when:
npx tsc --noEmitexits with code 0npm run buildcompletes successfully- No new errors introduced
Output Format
BUILD FIX REPORT
================
Errors Fixed: 12
Files Modified: 8
Lines Changed: 47
Fixes Applied:
1. src/utils/validation.ts:15 - Added return type annotation
2. src/components/Header.tsx:42 - Added null check for props.user
3. src/api/client.ts:89 - Fixed import path for axios
...
Final Build Status: ✓ PASSING
Verification: npx tsc --noEmit (exit code 0)
Best Practices
- One fix at a time - Easier to verify and debug
- Minimal changes - Don't refactor while fixing
- Document why - Comment non-obvious fixes
- Test after - Ensure tests still pass
Use with Other Skills
Combine with other skills for comprehensive fixing:
With Ultrawork:
/ultrawork fix all build errors
Spawns multiple build-fixer agents in parallel for different files.
With Ralph:
/ralph fix the build
Keeps trying until build passes, even if it takes multiple iterations.
With Pipeline:
/pipeline debug "build is failing"
Uses: explore → architect → build-fixer workflow.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл build-fix?
Fix build and TypeScript errors with minimal changes
Как установить скилл build-fix?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-fix запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…