build-fix

Fix build and TypeScript errors with minimal code changes.

38.5k|3.5k|Updated Jan 9, 2026
One-click install
npx skills add https://github.com/Yeachan-Heo/oh-my-claudecode --skill build-fix-yeachan-heo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-fix
Source: https://github.com/Yeachan-Heo/oh-my-claudecode/tree/main/skills/build-fix
Command: npx skills add https://github.com/Yeachan-Heo/oh-my-claudecode --skill build-fix-yeachan-heo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you fix build and TypeScript compilation errors quickly with minimal code changes, avoiding unnecessary refactors and keeping feature parity.

Core Features & Use Cases

  • Error collection: Run type checks and build to gather failures across a project.
  • Targeted fixes: Add missing type annotations, null checks, fix imports/exports, resolve module resolution, and address lint blockers preventing the build.
  • Minimal-diff strategy: Only changes required to make the build pass, with no architectural rewrites.
  • Verification: Re-run checks after each fix to ensure no new errors are introduced and the build remains stable.

Quick Start

Use the build-fix skill when you see compilation failures or TypeScript errors and want non-invasive fixes that restore a green build.

Frequently Asked Questions about build-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix TypeScript compilation errors without large refactors?

Fix TypeScript compilation errors by applying targeted changes like adding missing type annotations, null checks, and import resolutions. This approach uses a minimal-diff strategy to restore your build without unnecessary architectural rewrites.

Can I use this to automatically fix lint errors blocking my build?

Yes, you can automatically fix lint errors blocking your build. The tool collects failures from common linters and applies targeted fixes to resolve blockers, ensuring the build remains stable without invasive changes.

Does this build fix approach work with tools other than tsc?

Yes, this build fix approach works with tools other than tsc. It collects errors from common checkers including mypy, cargo check, and go vet, applying targeted fixes and verifying stability by re-running the checks.

What is the best way to resolve module resolution errors and type-check failures?

The best way to resolve module resolution errors and type-check failures is to apply targeted fixes directly to imports and exports. This method verifies stability by re-running checks until the build passes without new errors.

When should I avoid using an auto-fix tool for compilation failures?

You should avoid using an auto-fix tool for compilation failures when your project requires architectural rewrites rather than minimal diffs. This tool strictly applies non-invasive fixes to maintain feature parity without large refactors.