build-fix

Fix build and TypeScript errors with minimal code changes.

2|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/chanhee-kang/oh-my-gemini --skill build-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-fix
Source: https://github.com/chanhee-kang/oh-my-gemini/tree/main/skills/build-fix
Command: npx skills add https://github.com/chanhee-kang/oh-my-gemini --skill build-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill fixes build and TypeScript errors quickly with minimal code changes to get the project building again.

Core Features & Use Cases

  • Targeted fixes: Adds missing type annotations, null checks, and fixes import/export statements to unblock builds.
  • Deterministic workflow: Collects errors, applies minimal diffs, and re-runs type checks until the build passes.
  • Use Case: When a TS project reports compile errors, this skill applies focused fixes so you can ship without major rewrites.

Quick Start

Use the build-fix skill to resolve a failing TypeScript project with minimal edits.

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 build errors without refactoring the entire project?

To fix TypeScript build errors without refactoring, apply minimal code changes such as adding missing type annotations, null checks, and correcting import/export statements to unblock the compile pipeline.

What's the best way to resolve import resolution failures in a TypeScript build pipeline?

The best way to resolve import resolution failures is by applying targeted fixes to import and export statements, ensuring modules are correctly linked without requiring major code rewrites.

Can I use automated error-fixing to pass type checks in a failing TS project?

Yes, an automated error-fixing workflow can pass type checks by collecting compile errors, applying minimal diffs, and re-running the type checker until the build succeeds.

Does fixing a failing TypeScript build require modifying the build pipeline configuration?

Fixing a failing TypeScript build does not require modifying the pipeline configuration, as targeted edits to the source code like adding null checks and type annotations are sufficient.

Why does my TypeScript project report compile errors after a minor code change?

TypeScript projects report compile errors after minor changes due to missing type annotations, unhandled null values, or broken import statements that violate strict type checking rules.

When should I avoid using minimal diffs to fix build errors?

You should avoid using minimal diffs to fix build errors when the root cause is an architectural flaw or widespread type inaccuracy that requires a comprehensive refactoring strategy.