ci-triage
Skill3 starsChanged 27 days agoMITView on GitHub
Triage a red or slow CI job: classify a failure as flaky, environment or real, fix and rerun, or audit the job time. Use when CI is red or slow.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- TanKaizokuO/claude-skillstheir own version, first seen Nov 8, 2026
- wannanbigpig/ai-engineering-collaborationtheir own version, first seen Nov 6, 2026
- juzorei/ci-autopsytheir own version, first seen Nov 1, 2026
- andymai/brepjstheir own version, first seen Oct 9, 2026
- hyperledger-cacti/cactitheir own version, first seen Oct 9, 2026
- hyperledger-labs/splicetheir own version, first seen Oct 9, 2026
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- NewFuture/DDNS★ 4.7ksame name
- nubjs/nub★ 4.4ksame name
- Mentra-Community/MentraOS★ 2.4ksame name
- levy-street/world-of-claudecraft★ 2.3ksame name
- ls1intum/Artemis★ 829same name
- hyperledger-cacti/cacti★ 412same name
- andymai/brepjs★ 140same name
- hyperledger-labs/splice★ 122same name
- fair-acc/gnuradio4★ 117same name
- 5throck/ai-workspace-standards★ 25same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository25 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- adrSkill
- api-contract-syncSkill
- architecture-advisorSkill
- compassSkill
- debugSkill
- delivery-digestSkill
- design-taste-skillsSkill
- grillSkill
- harness-improveSkill
- harness-loopSkill
- impact-analysisSkill
- native-mobile-skillsSkill
- plugin-authorSkill
- pr-flowSkill
- project-memorySkill
- remaining-workSkill
- reviewSkill
- slide-deckSkill
- spec-flowSkill
- task-flowSkill
- ui-conformanceSkill
- working-style-skillsSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
5
Distinctive
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
- Distinctive: line 18
Read the log from the first error, not from the last line.
- Distinctive: line 23
If you cannot reproduce it, say so.
- Distinctive: line 25
Run the checks locally. Push only when the user asks.
- Distinctive: line 49
Use it when CI is green but slow, or when the same job is rerun often.
- Distinctive: line 56
Look for a cache that misses on most pull request runs.
“Common” is measured: kept by at least 6 in 10 of the 13 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.
Files
ci-triage
A red pipeline is not always a code defect. Read the failed job, not the pipeline color.
Steps
- Get the failed job log:
- GitHub:
gh run list --limit 5, thengh run view <run-id> --log-failed. - GitLab:
glab ci status, thenglab ci trace <job>.
- GitHub:
- Read the log from the first error, not from the last line.
- Note which jobs pass. If tests, lint and typecheck pass, suspect the environment or a gate that runs over the whole commit range.
- A commit linter runs over every commit of the branch. One inherited commit with a bad subject reddens each build. Reword or squash that commit. Do not change code.
- Classify the failure, using the table.
- Reproduce it locally with the command that the CI file runs, the same tool versions and a lockfile install.
- If you cannot reproduce it, say so. Name the likely difference: OS, env var, test order, time zone, network, cache.
- Make the smallest fix for one cause. Do not skip, weaken or delete a test. Do not relax a gate.
- Run the checks locally. Push only when the user asks.
- Rerun the failed job:
gh run rerun <run-id> --failed, orglab ci retry <job>. Confirm that it passes.
Classes
| Class | Sign | Action |
| Flaky | Passes on a rerun. The cause is timing, order or shared state. | Find the cause. Rerun once to confirm. Do not hide it with a retry. |
| Environment | The runner, network, cache, secret, quota or tool version failed. Unrelated commits fail the same way. | Fix the CI config or tell the owner. Do not change code. |
| Real | It fails on the same commit locally, and a change in the diff explains it. | Fix the code. |
Packaging builds
An exit code is not a build result for an installer, an image, an APK or a binary.
- The artifact exists at the path that the build declares.
- It comes from this run. Compare it with a marker file that you create when the run starts. Do not compare it with a source file time.
- It opens:
unzip -t,tar -tf,docker image inspect,hdiutil verify. - A zero exit can ship the previous build, because a bundler may reuse an existing output directory. Delete the output before the build.
- A non-zero exit can still leave a good artifact, because packaging runs last. Look before you call the build failed.
- Clean the leftover state at the start of each build, not after a failure.
Slow CI audit
Use it when CI is green but slow, or when the same job is rerun often. The audit reads. It changes nothing.
- Take the last 50 runs or more. GitHub:
gh run list --limit 50 --json databaseId,event,headBranch,headSha,conclusion. GitLab:glab ci list. - Split each job into wait, setup and run time.
- GitHub:
gh api repos/<owner>/<repo>/actions/runs/<id>/jobs. Wait isstarted_at - created_at. Setup is the steps before the first build, lint or test step. - GitLab:
glab api projects/:id/pipelines/<id>/jobs. Wait isqueued_duration. Run isduration.
- GitHub:
- Find the largest share for the slowest job, and fix that first. A pull request waits for its slowest job, not for the sum.
- Look for a cache that misses on most pull request runs. Look for the same commit run more than once: each rerun hides a flaky or environment cause.
- Report a table: job, median wait, setup and run, cache hits, reruns. Then name the levers from references/speed.md, largest saving first.
Report
Give the job, the class, the cause, the fix and the rerun result. Say what you did not verify.
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
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.

