Build fix

From MeroZemory/oh-my-droid · View interactive version

Build fix is an AI agent skill from the GitHub repository MeroZemory/oh-my-droid. Fix build and TypeScript errors with minimal changes

How to use this skill

Skill file

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:

What It Does

Delegates to the build-fixer agent (Sonnet model) to:

  1. Collect Errors
  1. Fix Strategically
  1. Minimal Diff Strategy
  1. Verify

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:

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

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.