Install
Works with Claude Code. Read the repository before you give any tool access to your data.
npx agentmarket install skill/eroslifestyle-build-fix-fa2921
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/build-fix
Tools it pre-approves 7
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Write,Edit,Glob,Grep,Bash,Task
What's inside
- Skill name
build-fix- Description
- Diagnose and fix build errors automatically. Use /build-fix when compilation or build fails.
- License
- MIT
- Allowed tools
- Read,, Write,, Edit,, Glob,, Grep,, Bash,, Task
- Instructions
- 147 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Files (1)
- SKILL.md
SKILL.md (first lines)
# Build Fix Skill - Automated Build Error Resolution
## Purpose
Detect the project's build system, run the build, parse errors,
and automatically fix them in an iterative loop until the build succeeds.
## Trigger
User invokes `/build-fix [command]` or orchestrator delegates build-fix tasks.
- `[command]`: optional override for build command (e.g., `npm run build`)
- If omitted, auto-detects build system
## Algorithm
### Step 1: DETECT Build System
Detect in priority order via Glob/Read:
| File | Build Command |
|------|---------------|
| `package.json` (scripts.build) | `npm run build` or `yarn build` |
| `Makefile` | `make` |
| `pyproject.toml` (build-system) | `python -m build` or `pip install -e .` |
| `Cargo.toml` | `cargo build` |
| `go.mod` | `go build ./...` |
| `CMakeLists.txt` | `cmake --build build/` |
| `build.gradle` | `./gradlew build` |
| `pom.xml` | `mvn compile` |
If none found, ask user for build command.
### Step 2: RUN Build (Iteration Loop)
```
iteration = 0
MAX_ITERATIONS = 3
while iteration < MAX_ITERATIONS:
iteration += 1
1. RUN build command via Bash (capture stdout + stderr)
2. IF build succeeds -> REPORT SUCCESS, exit loop
3. PARSE errors from output (see Error Parsing below)
4. For each error (all independent fixes in parallel):
a. READ the file at error location
b. DETERMINE fix type
c. APPLY fix via Edit
5. Continue loop (re-run build)
IF iteration == MAX_ITERATIONS and still failing:
REPORT remaining errors to user
```
### Step 3: REPORT Results
## Error Parsing Patterns
### TypeScript/JavaScript
```
Pattern: ^(.+)\((\d+),(\d+)\): error (TS\d+): (.+)$
^(.+):(\d+):(\d+): error: (.+)$
Extract: file, line, column, error_code, message
```
### Python
```
Pattern: ^ File "(.+)", line (\d+)
^(\w+Error): (.+)$
^SyntaxError: (.+) \((.+), line (\d+)\)
Extract: file, line, error_type, message
```
### Rust
```
Pattern: ^error\[E(\d+)\]: (.+)
^\s+--> (.+):(\d+):(\d+)
Extract: error_code, message, file, line, column
```
### Go
```
Pattern: ^(.+):(\d+):(\d+): (.+)$
Extract: file, line, column, message
```
### Generic (fallback)
```
Pattern: ^(.+):(\d+).*(?:error|Error|ERROR).*: (.+)$
Extract: file, line, message
```
## Common Fix Strategies
| Error Type | Fix Strategy |
|------------|-------------|
| Missing import | Add the import statement |
| Type mismatch | Adjust type annotation or cast |
| Undefined variable | Check for typo, add declaration |
| Missing module | Check package.json/requirements.txt, suggest install |
| Syntax error | Read context, fix syntax |
| Missing return | Add return statement |
| Unused variable | Remove or prefix with underscore |
| Missing dependency | Run install command |
| Missing file | Check if renamed/moved, update import path |
## Output Format
```markdown
# Build Fix Report
## Build System
- Detected: <system name>
- Command: `<build command>`
## Iterations
### Iteration 1
- Errors found: <N>From eroslifestyle/Claude-Orchestrator-Plugin, MIT.
More from eroslifestyle/Claude-Orchestrator-Plugin
- 0.432score
debugging
eroslifestyle
When to use this skill for systematic debugging including root cause analysis, error tracing, performance profiling, and memory leak detection
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
learn
eroslifestyle
Capture a learning pattern from the current session with confidence scoring.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
evolve
eroslifestyle
Aggregate high-confidence instincts into reusable skills.
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
code-review
eroslifestyle
When to use this skill for automated code quality analysis and review
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
git-workflow
eroslifestyle
When to use this skill for advanced Git operations and workflow management
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
go-patterns
eroslifestyle
Go best practices, idioms, and patterns.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
prompt-engineering-patterns
eroslifestyle
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
python-patterns
eroslifestyle
Python best practices, idioms, and patterns.
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
plan
eroslifestyle
Decompose a feature request into a detailed implementation plan with task breakdown, dependencies, and risk assessment.
SkillDFreshness: D★ 1Claude Code - 0.426score
checkpoint
eroslifestyle
Save a named checkpoint of current session progress.
SkillDFreshness: D★ 1Claude Code +9 - 0.426score
refactor-clean
eroslifestyle
Clean up dead code, unused imports, and improve code organization.
SkillDFreshness: D★ 1Claude Code - 0.426score
metrics
eroslifestyle
Display detailed session metrics and agent performance.
SkillDFreshness: D★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 3, 2026 (7 months ago)
- Last release
- Mar 3, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from eroslifestyle
- 0.432score
evolve
eroslifestyle
Aggregate high-confidence instincts into reusable skills.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
learn
eroslifestyle
Capture a learning pattern from the current session with confidence scoring.
SkillDFreshness: D★ 1Claude Code +9 - 0.432score
debugging
eroslifestyle
When to use this skill for systematic debugging including root cause analysis, error tracing, performance profiling, and memory leak detection
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
git-workflow
eroslifestyle
When to use this skill for advanced Git operations and workflow management
SkillDFreshness: D★ 1Claude Code +9 - 0.431score
code-review
eroslifestyle
When to use this skill for automated code quality analysis and review
SkillDFreshness: D★ 1Claude Code +9 - 0.429score
prompt-engineering-patterns
eroslifestyle
Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability.
SkillDFreshness: D★ 1Claude Code +9
Cite this page
build-fix skill. Agent Mart. https://agentmart.dev/skills/eroslifestyle-build-fix-fa2921 (last updated 2026-10-24)