build-fix

Fix TypeScript build and compilation errors with minimal changes.

20|6|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/realsigridjin/oh-my-codex --skill build-fix-realsigridjin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-fix
Source: https://github.com/realsigridjin/oh-my-codex/tree/main/skills/build-fix
Command: npx skills add https://github.com/realsigridjin/oh-my-codex --skill build-fix-realsigridjin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill resolves build, compilation, and TypeScript errors without introducing unnecessary refactoring or architectural changes.

Core Features & Use Cases

  • Error Collection: Runs the project's type checker or build command and categorizes failures by type and severity.
  • Minimal Fixes: Addresses missing annotations, nullability issues, import problems, module resolution errors, and blocking lint failures.
  • Verification: Checks the build after each change and confirms that no new errors were introduced.
  • Use Case: When a TypeScript project fails its build before release, use this Skill to identify each error, apply narrowly scoped fixes, and verify a passing build.

Quick Start

Ask the build-fix skill to resolve all current build and TypeScript errors with the smallest possible 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?

To fix TypeScript compilation errors without refactoring, apply minimal targeted changes to resolve missing annotations, nullability, and import issues. This approach preserves your existing architecture by addressing only the blocking errors while verifying a successful build after each individual modification.

What's the best way to resolve module resolution and type checking failures in a TypeScript project?

The best way to resolve module resolution and type checking failures is to collect errors from your build command, categorize them by severity, and apply one minimal fix at a time. This method verifies the build after each change to ensure no new errors are introduced.

Can I use this approach to fix blocking lint errors that cause build failures?

Yes, you can fix blocking lint errors that cause build failures by applying narrowly scoped corrections to the specific linting violations. The process runs your project's build or type-check command, identifies the blocking failures, and applies minimal fixes while verifying the build remains green.

Does this method work for codebases using build tools other than the standard TypeScript compiler?

Yes, this method works for codebases using build tools other than the standard TypeScript compiler. It applies to any projects utilizing type checkers or build tools, resolving import problems, nullability issues, and module resolution errors by running the project's specific build command and applying minimal fixes.

Why should I apply one minimal fix at a time when resolving build errors?

You should apply one minimal fix at a time when resolving build errors to verify a successful build after each change without introducing new errors. This incremental approach ensures that every modification directly addresses a specific compilation or type checking failure while preserving unrelated code.

What types of TypeScript errors can be resolved with minimal targeted fixes?

TypeScript errors that can be resolved with minimal targeted fixes include missing type annotations, nullability issues, import problems, module resolution errors, and blocking lint failures. The process collects errors from your type checker and applies narrowly scoped corrections to get your build green.