Build and fix
Skill yu-iskw/coding-agent-fabric/.claude/skills/build-and-fix
The standard fabric for AI agent resources: Manage, sync, and update across Cursor, Claude Code, and more."
npx -y skills add yu-iskw/coding-agent-fabric --skill build-and-fixAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Build the project and automatically fix any build errors, compilation failures, or type mismatches. Use when the project fails to build, shows "broken" states, or after making significant changes.
SKILL.md
1.6 KB, as published. Nobody here has run it
Build and Fix Loop
Purpose
An autonomous loop for the agent to identify, analyze, and fix build errors using pnpm build.
Loop Logic
- Identify: Run
pnpm buildto identify build failures. - Analyze: Examine the build output to determine:
- The failing package and file.
- The specific compiler or build error message.
- Refer to ../common-references/troubleshooting.md for common TS errors.
- Fix: Apply the minimum necessary change to resolve the error (e.g., fixing TypeScript types, correcting imports, or updating configurations).
- Verify: Re-run
pnpm build.- If passed: Finish.
- If failed: Analyze the new failure and repeat the loop.
Termination Criteria
- The project builds successfully (as reported by
pnpm build). - Reached max iteration limit (default: 5).
- The error persists after multiple distinct fix attempts, indicating a need for human intervention.
Examples
Scenario: Fixing a TypeScript compilation error
pnpm buildfails because of a type mismatch inpackages/common/src/index.ts.- Agent analyzes the error and finds an incorrect interface implementation.
Resources
- pnpm Commands for Node.js: Common commands for building and managing dependencies.
- TypeScript Documentation: Official documentation for TypeScript.