From Dev Core
Incrementally fixes build and type errors by detecting build system, parsing errors, and applying minimal safe changes one error at a time.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dev-core:build-fixThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Incrementally fix build and type errors with minimal, safe changes.
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.)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.
npx claudepluginhub jhamidun/claude-code-config-pack --plugin dev-coreSets up isolated workspaces using native worktree tools or git worktree fallback. Use before starting feature work to protect the current branch.