agentleFS
yannelliyannelli/pi-rust/.claude/skills/ci-triage/SKILL.md

ci-triage

Skill32 starsChanged 44 days agoMITView on GitHub

Find the cause of a failed or hung CI or Release run in pi-rust and fix it. Use when a PR check fails, a test is flaky, a job runs much longer than usual, or a release did not publish.

18 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 14 edited versions we read keep these.

  • 0

    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. Very specific:

    Read a finished job's log while the run continues: gh api --allow-escape-sequences repos/yannelli/pi-rust/actions/jobs/<job-id>/logs.

    line 11

“Common” is measured: kept by at least 6 in 10 of the 14 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

CI triage

Full playbook: docs/agents/ci-triage.md.

  1. List the jobs: gh run view <run-id> -R yannelli/pi-rust --json jobs --jq '.jobs[]|[.name,.status,.conclusion,.databaseId]|@tsv'.
  2. Read a finished job's log while the run continues: gh api --allow-escape-sequences repos/yannelli/pi-rust/actions/jobs/<job-id>/logs. Strip the color codes and grep for panicked|FAILED|timed out|error.
  3. A job far past its usual time is hung: cancel the run to get the logs.
  4. Compare the symptom with the Windows table in the playbook. Most Windows-only failures so far were paths, named pipes, handle passing, or code that ran before process was ready.
  5. Reproduce locally. For a race, stress the test binary with the loop in the playbook before and after the fix.
  6. Fix the cause. Do not add retries or loosen assertions to hide a race.

For a Release run that failed outside the code (a download or runner error), gh run rerun <run-id> --failed.

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.