build-fix

Diagnose and fix build and TypeScript errors with minimal code changes.

1|Updated Apr 30, 2026
One-click install
npx skills add https://github.com/hafidzlvm/opencode --skill build-fix-hafidzlvm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: build-fix
Source: https://github.com/hafidzlvm/opencode/tree/main/.dsh/skills/build-fix
Command: npx skills add https://github.com/hafidzlvm/opencode --skill build-fix-hafidzlvm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Build failures and TypeScript compilation errors interrupt development flow and often require tedious manual inspection of error output to locate and resolve root causes. ## Core Features & Use Cases - Build Error Resolution: Analyze compiler and bundler error output to identify the source of build failures. - TypeScript Error Fixing: Resolve type errors, mismatched signatures, and missing type declarations with minimal edits. - Use Case: After running a build that fails with dozens of TypeScript errors, invoke this Skill to get targeted, minimal fixes instead of rewriting large portions of code. ## Quick Start Run the build-fix command and paste your build or TypeScript error output to receive minimal-change fixes.

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 quickly?▼

Provide the compiler error output to this Skill, which analyzes the reported type errors and produces minimal, targeted code changes. It focuses on resolving root causes rather than suppressing errors with broad type assertions.

How to resolve build failures without large refactors?▼

This Skill applies a minimal-change philosophy: it identifies the smallest edit that resolves each build or TypeScript error. This avoids cascading changes and keeps diffs reviewable.

Can I pass custom arguments to the build-fix command?▼

Yes, any text provided alongside the /build-fix invocation is treated as arguments and incorporated into the fix instructions. Use it to point at specific files, errors, or constraints.

What are the limitations of automated build error fixing?▼

Automated fixes work best for type mismatches, missing imports, and configuration issues. Architectural problems or errors requiring domain knowledge about intended behavior may still need manual developer judgment.