check-ci
Skill56 starsChanged 35 days agoApache-2.0View on GitHub
Use this workflow skill for PR CI triage: inspect pending and failed checks for the exact PR head, read live or completed job logs and artifacts, classify causality, reproduce likely failures locally, and summarize the safe next step.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- xmtp/libxmtptheir own version, first seen Oct 17, 2026
- alexnodeland/principledtheir own version, first seen Oct 8, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- xmtp/libxmtp★ 127same name
- alexnodeland/principled★ 4same name
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 repository35 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- android/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .github/CLAUDE.mdCLAUDE.md
- ios/CLAUDE.mdCLAUDE.md
- auto-mobile-code-reviewSkill
- ci-failure-triageSkill
- github-pr-feedbackSkill
- ios-swift-ciSkill
- node-prepushSkill
- prepush-androidSkill
- shell-prepushSkill
- android-gradlewSkill
- auto-mobile-code-reviewSkill
- bun-tasksSkill
- ci-failure-triageSkill
- dead-codeSkill
- device-session-lifecycleSkill
- fan-out-fan-inSkill
- github-cliSkill
- github-pr-feedbackSkill
- ios-swift-ciSkill
- manual-testSkill
- node-prepushSkill
- observeSkill
- pr-analysisSkill
- prepush-androidSkill
- push-my-prsSkill
- push-prSkill
- researchSkill
- shell-prepushSkill
- ship-issueSkill
- testSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this for PR health checks and failure triage.
- Very specific: line 30
If the log is truncated or lacks the failure body, list the run's artifacts and read the relevant one.
- Distinctive: line 38
After any push, restart at step 1 — every check, thread, and comment was scoped to the previous SHA.
- Distinctive: line 55
Run/job ledger, including pending jobs and duplicate or stale checks
≈ “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.
Files
Check CI
Use this for PR health checks and failure triage.
- This is narrower than
pr-analysis: prefercheck-ciwhen the main question is why checks are failing or blocked. - This is read-only unless the user also asks to fix the problem.
Workflow
- Resolve the PR number and snapshot
headRefOid,baseRefOid, mergeability, and merge state. Use that SHA for every subsequent query. An empty legacy combined status is inconclusive, not green. - Collect
gh pr checks <pr> --json name,state,bucket,link,workflowplus paginatedrepos/<owner>/<repo>/commits/<head-sha>/check-runs. Branch onbucket: onlyfailis a failure —skippingandcancelare not. Flag duplicate check names with different conclusions on the same head (a cancelled older run beside a successful newer one); the stale one is what parks automerge. - Enumerate runs for that head SHA, then each run's jobs. Ignore runs for older SHAs. Queued and in-progress jobs stay pending — they are never implicitly green.
- For a completed failed job:
gh run view <run-id> --job <job-id> --log-failed, orgh api repos/<owner>/<repo>/actions/jobs/<job-id>/logs— the latter works as soon as that job finishes, even while sibling jobs still run, so it does not wait on the slowest leg. For a job still executing,gh api .../actions/jobs/<job-id>returns per-step status naming the running or failed step.gh api --followdoes not exist; use--paginate. - If the log is truncated or lacks the failure body, list the run's artifacts and read the
relevant one. If
gh run downloadis unauthorized, state that exact blocker — do not infer a root cause from partial evidence. - Classify every red result as PR-caused, pre-existing on main, transient/infrastructure, or
unproven, grounded in the job log, the changed paths, and current
origin/main. Re-run a job only when the evidence supports transience. Never change code for an unrelated or unproven failure. - Reproduce a PR-caused failure locally with the narrowest authoritative command.
- After any push, restart at step 1 — every check, thread, and comment was scoped to the previous SHA.
For PR discussion and review-thread triage, use github-pr-feedback; for the underlying gh
and GraphQL mechanics, github-cli.
Repo Validation Mapping
- TypeScript lint or build:
bun run lint,bun run build - Tests:
bun testorbun test <file> - Fast repo checks:
bash scripts/all_fast_validate_checks.sh - Android:
(cd android && ./gradlew <task>) - iOS:
bash scripts/ios/swift-build.shorbash scripts/ios/swift-test.sh
Output Structure
- Current CI state, scoped to the head SHA
- Run/job ledger, including pending jobs and duplicate or stale checks
- Failing checks, the evidence, and the causal classification
- Mergeability or conflict status
- Artifact or authorization limitations
- Recommended next action
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.

