Detects build system and incrementally fixes build/type errors with minimal changes, verifying each fix and summarizing results with fixed/remaining errors.
From everything-claude-codenpx claudepluginhub memorialmkua-lab/aiclaude/build-fixDetects build system and incrementally fixes build/type errors with minimal changes, verifying each fix and summarizing results with fixed/remaining errors.
/build-fixIncrementally fixes Python type errors (mypy), lint issues (ruff), and failing tests (pytest) one by one: explains issues, applies fixes, verifies resolution, and shows summaries of results.
/build-fixAutomatically analyzes and fixes build errors (syntax, type, dependencies, config). Runs tests/builds for verification, retries up to 3x, and reports results with changes or recommendations.
/build-fixIncrementally fixes TypeScript and build errors one at a time: runs build, parses output by file/severity, applies targeted fixes with context/explanation/verification, and summarizes results.
/build-fixAutonomously fixes dotnet build errors: parses compiler output, categorizes issues, applies targeted fixes, and rebuilds up to 5 times until green or limit reached.
/build-fixDetects build system, runs build to identify errors, then iteratively fixes build and type errors with minimal safe changes, verifying each fix and summarizing results.
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.