agentleFS
PatriotAgenticLLCPatriotAgenticLLC/better_claude_skillz/skills/build-fix/SKILL.md

build-fix

Skill3 starsChanged 5 months agoMITView on GitHub

Incrementally fix TypeScript and build errors one at a time with verification. Invokes the build-error-resolver agent.

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use note and plan.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • TashanGKDSkill

    note

    个人笔记记录助手。自动以 JSON 格式记录想法、学习笔记、会议纪要到 ~/.note,支持标签分类和全文搜索。

    Also in 3 projects that use this

  • BlockSkill

    plan

    Draft a TDD, PRD, or lightweight plan in the conversation without committing it.

    Also in 7 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Stop if fix introduces new errors or same error persists after 3 attempts

    line 18
  2. Very specific:

    After tsc or build fails

    line 23
  3. Distinctive:

    When type errors block deployment

    line 25

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Build and Fix

This command invokes the build-error-resolver agent to incrementally fix TypeScript and build errors with minimal, surgical changes.

How It Works

  1. Run build: npm run build, pnpm build, tsc --noEmit, or project-specific build command
  2. Parse errors: Group by file, sort by severity
  3. Fix incrementally — for each error:
    • Show error context
    • Apply minimal fix (no architectural changes)
    • Re-run build to verify
    • Stop if fix introduces new errors or same error persists after 3 attempts
  4. Report: Errors fixed, errors remaining, files modified

When to Use

  • After tsc or build fails
  • After upgrading dependencies
  • When type errors block deployment

Related

  • Agent: ~/.claude/agents/build-error-resolver.md
  • For Go builds: /go-build (invokes go-build-resolver agent)
  • For review after fixing: /code-review

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.