agentleFS
voyager67voyager67/AgentFieldkit/skills/build-rescue/SKILL.md

build-rescue

Skill0 starsChanged 13 days agoMITView on GitHub

Investigate and repair a failing build or CI job from logs to a verified fix. Use when compilers, linters, tests, containers, or CI workflows break.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not print CI secrets or include tokens in logs.

    line 22
  2. Distinctive:

    Do not rerun a workflow that deploys, publishes, charges, or mutates production unless authorized.

    line 23
  3. Distinctive:

    Never mark a failure resolved just because a retry passed once.

    line 24

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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 Rescue

Procedure

  1. Capture the exact failing command, exit code, full relevant log context, commit, OS/runtime, and dependency lock state.
  2. Determine whether the failure is deterministic, environment-only, network-related, flaky, or introduced by a code change.
  3. Reproduce locally or in the closest equivalent environment. If reproduction differs, document the gap.
  4. Locate the earliest meaningful error, not just the final cascade. Check configuration, version drift, missing artifacts, permissions, and concurrency assumptions.
  5. Change one cause at a time. Avoid bypassing the build step, suppressing diagnostics, disabling tests, or weakening type/lint checks without a justified migration plan.
  6. Rerun the failing job, then the relevant broader checks. For flaky failures, repeat enough times to test the hypothesis and report the repeat count.
  7. Inspect workflow changes for secret exposure, unsafe permissions, unpinned actions, cache poisoning, and accidental release/deploy triggers.

Deliverable

Root cause, minimal repair, exact successful commands or CI run IDs, checks not run, and any environment-specific caveats.

Boundaries

  • Do not print CI secrets or include tokens in logs.
  • Do not rerun a workflow that deploys, publishes, charges, or mutates production unless authorized.
  • Never mark a failure resolved just because a retry passed once; assess flaky behavior honestly.

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.