/dev-core:build-fixfrom Dev Core
Fixes failing builds and type errors with minimal changes until green. Detects build system, groups errors by file, and fixes one at a time with rollback safety.
Ships in Dev Core. 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.
None: SKILL.md is the whole skill.
Incrementally fix build and type errors with minimal, safe changes.
Identify the project's build tool and run the build:
| Indicator | Build Command |
|---|---|
package.json with build script | npm run build or pnpm build |
tsconfig.json (TypeScript only) | npx tsc --noEmit |
Cargo.toml | cargo build 2>&1 |
pom.xml | mvn compile |
build.gradle | ./gradlew compileJava |
go.mod | go build ./... |
pyproject.toml | python -m compileall -q . or mypy . |
For each error:
Stop and ask the user if:
npm install, cargo add, etc.)A build-fix run touches many files quickly. Capture a return point before the first Edit — not after the third failed attempt:
git status --short — is the tree already dirty? Someone else's uncommitted work will get mixed into yoursgit stash push -u -m "pre-build-fix" or commit a WIP snapshot. Clean tree → record git rev-parse --short HEADcp <file> <file>.bak-build-fixRevert path: git checkout -- <specific files> or git stash pop. Never git checkout -- . — it discards every uncommitted change in the tree, including work unrelated to this build (the bash-guard blocks that form for exactly this reason).
Show results:
| Situation | Action |
|---|---|
| Missing module/import | Check if package is installed; suggest install command |
| Type mismatch | Read both type definitions; fix the narrower type |
| Circular dependency | Identify cycle with import graph; suggest extraction |
| Version conflict | Check package.json / Cargo.toml for version constraints |
| Build tool misconfiguration | Read config file; compare with working defaults |
Fix one error at a time for safety. Prefer minimal diffs over refactoring.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub jhamidun/claude-code-config-pack --plugin dev-core17 skills in this plugin
/api-documentationДокументация API из кода: OpenAPI/Swagger, Postman, REST/GraphQL/gRPC. Триггеры: «задокументируй API». НЕ: кодбаза→openwiki; чужие репо→deepwiki./apple-developerПодпись Developer ID и нотаризация macOS dmg без Mac (Windows+CI, notarytool). Триггеры: «подпиши dmg», «Gatekeeper блокирует», «повреждено на маке»./autocad-comЧертежи из кода: DXF/SVG/PDF без CAD (ГОСТ-лист, штамп, альбом) и живой AutoCAD/nanoCAD по COM. Симптомы: «нужен DWG, а не картинка», «RPC недоступен», штамп с чужим адресом.Other plugins' skills for the same job