Detects build system and incrementally fixes build/type errors with minimal changes, verifying each fix and summarizing results with fixed/remaining errors.
npx claudepluginhub ncmfn/claudecode# Build and Fix Incrementally fix build and type errors with minimal, safe changes. ## Step 1: Detect Build System 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 .` | ## Step 2: Parse and Gro...
/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 and groups errors, applies fixes per error, verifies resolution, 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 and incrementally fixes build/type errors with minimal changes, verifying each fix and summarizing results with fixed/remaining errors.
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.