build-fix

Resolve TypeScript compilation errors with minimal code edits.

28|5|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/MeroZemory/oh-my-droid --skill build-fix-merozemory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-fix
Source: https://github.com/MeroZemory/oh-my-droid/tree/main/skills/build-fix
Command: npx skills add https://github.com/MeroZemory/oh-my-droid --skill build-fix-merozemory

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill isolates the pain of broken builds and TypeScript errors by guiding the build-fixer agent to get the compiler green without touching unrelated code.

Core Features & Use Cases

  • Error collection: Run npx tsc --noEmit or npm run build, capture all diagnostics, and categorize them before fixing.
  • Minimal change strategy: Resolve issues one at a time by adding missing annotations, fixing imports, and correcting module resolutions without refactoring.
  • Verification and reporting: Rerun the compiler after each change and summarize each error fixed, the files touched, and the final build status.
  • Use case: When npm run build fails during a deployment, leverage this Skill to patch only the failing TypeScript files so the release proceeds on schedule.

Quick Start

Ask autopilot to fix the build by describing the failing TypeScript errors and requesting only minimal changes.

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 refactoring unrelated code?

Resolve failing TypeScript builds by capturing npm run build diagnostics, categorizing errors, and applying minimal changes like adding missing type annotations or correcting imports, then re-verifying the compiler exit status.

How do I resolve failing Node builds during a deployment?

Resolve failing Node builds by running npx tsc --noEmit, collecting all diagnostics, and patching only the failing TypeScript files with minimal impact changes. This ensures the build passes and the deployment proceeds without unnecessary refactoring.

What is the best way to automate TypeScript build error resolution?

Automate TypeScript build error resolution by categorizing tsc diagnostics, applying minimal changes one at a time, and re-running the compiler after each fix to verify the exit status and document the results.

Can I use minimal code tweaks to correct tsc module resolution errors?

Yes, you can correct tsc module resolution errors with minimal code tweaks by fixing imports and adding missing annotations one at a time, then re-verifying the compiler exit status to ensure the build passes.

What are the limitations of fixing builds with only minimal TypeScript changes?

Fixing builds with minimal TypeScript changes limits scope to adding annotations, fixing imports, and correcting module resolutions without refactoring unrelated code, meaning deep structural issues may remain unresolved even when the compiler exits green.