From cpp-claude-code
Fixes TypeScript and build errors incrementally: runs npm/pnpm build, parses errors by file/severity, applies one fix at a time, verifies resolution, and summarizes fixed/remaining/new errors.
How this command is triggered — by the user, by Claude, or both
Slash command
/cpp-claude-code:build-fixThe summary Claude sees in its command listing — used to decide when to auto-load this command
# Build and Fix Incrementally fix TypeScript and build errors: 1. Run build: npm run build or pnpm build 2. Parse error output: - Group by file - Sort by severity 3. For each error: - Show error context (5 lines before/after) - Explain the issue - Propose fix - Apply fix - Re-run build - Verify error resolved 4. Stop if: - Fix introduces new errors - Same error persists after 3 attempts - User requests pause 5. Show summary: - Errors fixed - Errors remaining - New errors introduced Fix one error at a time for safety!
Incrementally fix TypeScript and build errors:
Run build: npm run build or pnpm build
Parse error output:
For each error:
Stop if:
Show summary:
Fix one error at a time for safety!
npx claudepluginhub steven715/cpp-claude-code --plugin cpp-claude-code/build-fixFixes TypeScript and build errors incrementally: runs npm/pnpm build, parses errors by file/severity, applies one fix at a time, verifies resolution, and summarizes fixed/remaining/new errors.
/build-fixIncrementally fixes TypeScript and build errors one at a time — parses error output, groups by file, applies fixes, re-runs build, and stops on new errors. Produces a summary of errors fixed and remaining.
/build-fixDetects the project's build system and incrementally fixes build and type errors one at a time with minimal safe changes.
/build-fixAutomatically fixes build errors (compilation, type, unresolved dependencies) by analyzing output, applying targeted fixes, and retrying up to 3 times.
/fix-buildDiagnoses and fixes build, typecheck, dependency, and configuration errors using a multi-agent recovery team. Restores green build state with minimum diff.