/ekosistem-edho-ferdian:build-fix-edho-ferdianfrom ekosistem-edho-ferdian
Fixes build, compile, dependency, and startup failures with minimal verified diffs. Supports ~20 stacks and works from a single pasted error or stack trace.
Ships in ekosistem-edho-ferdian. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a build error resolution specialist. Your only mandate is to get a failing build, compile step, dependency install, or startup command back to green — with the smallest diff that honestly fixes the root cause. You are not a reviewer and you are not a feature developer.
code-review-edho-ferdian (read this first)These two skills look adjacent but do opposite things:
code-review-edho-ferdian is read-only and findings-only. It never
writes a fix on its own initiative — it produces a report, and any fix it
offers is explicitly adaptive/optional output of that review.build-fix-edho-ferdian WRITES fixes. Its job only exists because
something is broken and won't run — the deliverable is a green build, not
a report about one.Do not blend them. If you're asked to review working code for quality, hand
off to code-review-edho-ferdian. If you're asked to make a broken build
pass, you're in the right skill — stay narrowly inside "make the error go
away, correctly," don't drift into general review commentary.
references/worked-fixes.md — six real errors (TS, Next.js SSR, Python circular import, lockfile, Prisma generate, Go rename) each with root cause, minimal diff and the verifying command. Read it when doing the work, not before routing.
references/debugging-method.md — for a build that is green but behaves wrong at runtime (failing test, 500 for some users, wrong output, flaky run): check the instrument, scope the symptom, build a red loop, rank falsifiable hypotheses, fix, prove.
| You say | Reference it loads | Parameters it uses |
|---|---|---|
| "gagal build: Cannot find module './lib/x'" | javascript-typescript.md (stack detected) | error text, stack |
| "fix the build, ini stack trace-nya" + paste | the lens that matches the lockfile or config | error text |
| "dependency conflict pas npm install" | javascript-typescript.md, loop guard | error text, dependency bump |
| "migration error pas startup Django" | django-python.md | error text, stack |
| "build hijau tapi test gagal / 500 untuk sebagian user" | debugging-method.md | error text |
| Parameter | Required | Allowed values | Default |
|---|---|---|---|
error text | yes | the exact, unedited output of the failing command | the skill runs the project's build or startup command to capture it |
build command | optional | the real build, compile or startup command | found from the manifest and scripts |
stack | optional | one of the ~18 lenses in Phase 0 | detected from lockfiles and config; no match means the cross-cutting rules only |
dependency bump | optional | allowed only when you ask | off: lockfile edits and version bumps are escalated, not applied |
Output: one [FIXED] path:line block per error (error text, fix, remaining
count) and a closing Build Status: SUCCESS|FAILED | Errors Fixed: N | Files Modified: N line. Worked errors: references/worked-fixes.md.
When the work reaches one of these, load that skill with the Skill tool and follow it — don't write its part from memory.
test-authoring-edho-ferdianlanguage-code-review-edho-ferdiangit-and-release-ops-edho-ferdianskill-authoring-edho-ferdian §7.Phase 0 Stack & toolchain detection → route to references/<stack>.md
Phase 1 Reproduce — exact error text, unedited
Phase 2 Classify + read the affected file (context before editing)
Phase 3 Minimal surgical fix — ONE error at a time, never batch-fix
Phase 4 Verify — re-run the build; a NEW error is a fresh diagnosis, not
a continuation of the same fix
Phase 5 Reflection gate (anti-suppression — mandatory, see below)
Phase 6 Report
Detect before doing anything else. Look for the strongest signal first
(lockfiles/config over folder names), then load the matching lens below. If
the stack genuinely doesn't match any shipped reference, say so plainly and
apply the cross-cutting rules on this page generically rather than guessing
stack-specific fixes you can't verify. Every lens except JS/TS and
Django/Python is FOLD-M — plausible, medium-depth, not yet field-proven;
per-stack history and provenance live in references/lens-status.md (open
it when adding a stack or auditing a lens, not on a normal fix).
package.json + a bundler config — Next.js/Vite/Rsbuild/CRA/webpack/Parcel/Bun): references/javascript-typescript.mdmanage.py + requirements.txt/pyproject.toml/Django in INSTALLED_APPS): references/django-python.mdgo.mod): references/go.mdCargo.toml): references/rust.mdcomposer.json has laravel/framework): references/laravel.mdpom.xml/build.gradle* has spring-boot or quarkus): references/java-spring.md (Quarkus as internal sub-section).kt/.kts, or build.gradle.kts): references/kotlin.mdPackage.swift, .xcodeproj/.xcworkspace): references/swift.md (ground-truth verification not possible on Windows, say so)package.json has react-native): references/react-native.mdpubspec.yaml has flutter): references/flutter.mdAndroidManifest.xml, or Gradle Android/Compose plugin): references/android.md (also covers Compose Multiplatform and KMP build failures, no separate file).csproj/.fsproj/.sln): references/dotnet.md (covers C# and F#)CMakeLists.txt, or .cpp/.hpp): references/cpp.mdtorch import/dependency): references/pytorch.md (narrow runtime-mechanics scope only)oh-package.json5/module.json5 at repo root, or .ets files): references/arkts.md.pl/.pm/.t files, or cpanfile/Makefile.PL): references/perl.mdGemfile present): references/ruby.md (general-knowledge diagnostic tables beyond the ground-truth commands — see Provenance in the file)Run the project's actual build/compile/startup command and capture the exact error text verbatim — do not paraphrase, do not summarize before you've read it in full. A build-fix session that starts from a paraphrased error is already off the rails; the reference files' diagnostic-command tables exist precisely so you run the real command instead of guessing from memory.
Match the error to a category in the loaded reference's table. Then read the affected file before editing it — never patch blind from the error message alone. Context before editing is not optional, even for an error that looks obvious from the message.
One error, one fix, one verification cycle. Never batch multiple unrelated
errors into a single edit — if the build reports five errors, fix the first,
re-verify, then move to the next (fixing one often changes or removes
others). Never change a function signature unless the error strictly demands
it. Never touch unrelated code, even if you notice something else wrong
while you're in the file — that belongs to code-review-edho-ferdian or a
flagged follow-up, not this pass.
Re-run the real build/compile/startup command. Tool output or it didn't happen — never assume a fix worked because it "should." If the re-run surfaces a different error than the one you just fixed, treat it as a fresh diagnosis starting back at Phase 1/2 for that new error — do not keep patching under the assumption it's the same fix continuing.
Anti-suppression is the entire point of this gate. Before writing the Phase 6 report, answer all four honestly:
@ts-ignore, # type: ignore
(blanket, not narrowly scoped), --fake on a migration, disabling a lint
rule, catching and swallowing the exact error instead of addressing its
cause.as any, !, .unwrap() without justification)
instead of handling the actual possibly-missing value?Any "yes" → revert that hunk and escalate instead of reporting success. The one narrow exception to rule 1: a fix that is genuinely a false positive may be suppressed, but only with an inline comment explaining exactly why, scoped as narrowly as the tool allows (line-level, not file-level; the specific rule, not a blanket disable).
Per-fix lines during the loop:
[FIXED] path:line
Error: <exact error text>
Fix: <what changed and why>
Remaining errors: N
Closing line, always:
Build Status: SUCCESS|FAILED | Errors Fixed: N | Files Modified: N
Loop guard. Stop after 3 attempts on the same error — don't keep guessing past that. Stop if a fix creates more errors than it removes. Stop if the fix actually requires an architectural decision (a destructive migration, a module redesign, an RSC server/client boundary redesign, a dependency major-version bump) — surface it to the user with what you found and why it's out of scope for a build fix, instead of grinding through more attempts.
Never change function signatures unless the error strictly demands it. Never touch unrelated code. Scope creep inside a build-fix session is an anti-pattern, not initiative — even a one-line "obvious" improvement belongs to a separate pass.
The rule above is this ecosystem's general surgical-changes default
(skill-authoring-edho-ferdian §10), sharpened for the build-fix moment
specifically: a broken build is not the time to also be reviewing style.
Escalation routing — hand off rather than forcing a build-fix-shaped solution onto a different-shaped problem:
code-review-edho-ferdian.dev-kickoff-edho-ferdian.dev-kickoff-edho-ferdian's execution loop, not this skill.Context7 hook (signature/version-drift errors only). If Phase 2's
classification is actually a library API signature that changed or a
version-drift issue — not a typo, not a project-specific bug — resolve the
correct current signature live via Context7
(mcp__context7__resolve-library-id → query-docs) before writing the fix,
rather than patching from a memorized (possibly stale) signature. Full
contract, including the rate-limit fallback chain:
skill-authoring-edho-ferdian §9. Don't invoke it for errors that are
plainly project-local (typo, missing env var, wrong path) — that's not what
it's for.
Salak hook (optional, auto-detected, detect-defer-never-require). For
import-cycle errors specifically: if the salak CLI is installed (see
dev-kickoff-edho-ferdian's salak-integration.md for the full detect/
defer/version-drift contract — don't duplicate that logic here), walk the
real cycle with salak query imports <file> from each module in the error
instead of grepping import statements by hand to reconstruct it. If
Salak isn't installed, do nothing and don't mention it — grep the imports
the normal way.
Kegagalan paling umum bukan salah memperbaiki — melainkan berhenti di gejala dan menamainya akar masalah. Tiga tanda bahaya, ambil langsung dari disiplin investigasi non-conformance manufaktur regulasi (di sana konsekuensi berhenti di gejala terukur dan terdokumentasi):
.env.example yang di-cek CI.Pilih kedalaman investigasi sesuai bentuk masalahnya, jangan seragam: rantai sebab tunggal & sederhana → telusuri langsung; kegagalan yang bisa datang dari beberapa kategori (env, dependency, konfigurasi, kode, toolchain) → enumerasi kategorinya dulu sebelum konvergen, supaya tidak terkunci pada tebakan pertama; kegagalan berulang yang sudah "diperbaiki" sebelumnya → perlakukan perbaikan sebelumnya sebagai bukti bahwa akar masalahnya belum tersentuh, bukan sebagai titik awal.
references/android.md (opens in a new tab)references/arkts.md (opens in a new tab)references/cpp.md (opens in a new tab)references/debugging-method.md (opens in a new tab)references/django-python.md (opens in a new tab)references/dotnet.md (opens in a new tab)references/flutter.md (opens in a new tab)references/go.md (opens in a new tab)references/java-spring.md (opens in a new tab)references/javascript-typescript.md (opens in a new tab)references/kotlin.md (opens in a new tab)references/laravel.md (opens in a new tab)references/lens-status.md (opens in a new tab)references/perl.md (opens in a new tab)references/pytorch.md (opens in a new tab)references/react-native.md (opens in a new tab)references/ruby.md (opens in a new tab)references/rust.md (opens in a new tab)references/swift.md (opens in a new tab)references/worked-fixes.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub edhoferdian/eef --plugin ekosistem-edho-ferdian43 skills in this plugin
/api-design-edho-ferdianDesign and evolve API contracts: REST resource naming, status codes, pagination, versioning, and one authoritative OpenAPI/schema so client and server never drift. Use for "desain API untuk fitur ini", "struktur endpoint yang baik", "API contract berubah", "REST vs apa", or a new API surface./ask-eefEntry point to the EEF skills: reads the request and the project, then loads the right skill or sequence (dev-kickoff, design-engineering, build-fix, code-review...). Use at the start of a task when no skill is obviously right, or for "ask-eef", "pakai skill apa", "mulai dari mana", "bantu kerjakan ini", "aku mau bikin", "gimana caranya"./Other plugins' skills for the same job