fix-ci
Skill87 starsChanged 12 days agoMITView on GitHub
Diagnose and fix failing CI checks on a pull request, then commit and push the fix. Trigger on /fix-ci, fix CI, CI is red, checks are failing, or fix the failing build on a PR.
- Commits and pushes
44 other projects use a version of this.
Adopted by
Most recently taken up by
- ClickHouse/ClickHousetheir own version, first seen Nov 15, 2026
- DocSpring/docspring-agent-playbooktheir own version, first seen Nov 15, 2026
- Trixx4191/asrartheir own version, first seen Nov 15, 2026
- digitaltracer/agent-skillstheir own version, first seen Nov 15, 2026
- Yeachan-Heo/oh-my-claude-sisyphustheir own version, first seen Nov 8, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 8, 2026
Used with
Projects with it also use get-pr-comments, create-pr and 5 more.
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.
jaydubya818Skillget-pr-comments
Use when pull-request feedback needs to be fetched and summarized for action.
Also in 3 projects that use this
SentrySkillcreate-pr
Create pull requests following Sentry conventions. Use when opening PRs, writing PR descriptions, or preparing changes for review. Follows Sentry's code review guidelines.
Also in 10 projects that use this
MicrosoftSkillmerge
Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.
Also in 3 projects that use this
SentrySkillsecurity-review
Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.
Also in 4 projects that use this
NVIDIASkilltesting
Run Python and Rust tests for physicsnemo-curator using uv + pytest with coverage reporting via pytest-cov, and cargo-nextest for Rust tests. Includes benchmark workflows with pytest-benchmark and criterion.
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 4 projects that use this
Other versions44 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 44
- microsoft/vscode★ 195ksame name
- ClickHouse/ClickHouse★ 51ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- ryoppippi/ccusage★ 19ksame name
- ccusage/ccusage★ 19ksame name
- questdb/questdb★ 18ksame name
- fleetdm/fleet★ 7.2ksame name
- open-telemetry/opentelemetry-java-instrumentation★ 2.7ksame name
- MCPJam/inspector★ 2.3ksame name
34 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- address-pr-commentsSkill
- commitSkill
- generate-changesetSkill
- impeccableSkill
- implement-issueSkill
- prSkill
- readme-writerSkill
- shipSkill
- impeccableSkill
- impeccableSkill
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 42 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Use the returned number in every later command.
- Distinctive: line 26
If checks are still running, wait for them.
- Distinctive: line 44
Read the failure from the job log.
- Very specific: line 57
If the failure is unrelated to the diff, such as a known flaky test or an infrastructure error, rerun the failed GitHub Actions jobs …
- Very specific: line 66
Commit the fix through the commit skill and push with git push.
“Common” is measured: kept by at least 6 in 10 of the 42 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
Fix CI
Find why a pull request's checks fail, fix the cause, and push the fix.
Input
/fix-ci [pr]
[pr] is a pull request number or URL. Without it, omit <pr> below to use
the pull request for the current branch:
gh pr view <pr> --json number,url,headRefNameUse the returned number in every later command. If the current branch is not
headRefName, run gh pr checkout <number>.
Process
If checks are still running, wait for them. CI can outlast a shell command timeout, so run the command in the background or run it again until it exits:
gh pr checks <number> --watch --interval 30List the failed checks:
gh pr checks <number> --json name,bucket,link --jq '.[] | select(.bucket == "fail")'A GitHub Actions
linkhas the form.../actions/runs/<run-id>/job/<job-id>. For other checks, such as Vercel, open the link to read the failure. If nothing failed, report that and stop.Read the failure from the job log. For E2E failures, download the diagnostics artifact before you form a theory:
gh run view <run-id> --job <job-id> --log-failed gh run download <run-id> -p 'e2e-diagnostics*' -D .context/ci/<run-id>- Reproduce the failure locally with the matching
turbotask and package filter. Read the local development and release workflow to pick the task. - Fix the cause. Do not skip, weaken, or delete a test to make it pass.
If the failure is unrelated to the diff, such as a known flaky test or an infrastructure error, rerun the failed GitHub Actions jobs instead of changing code. Rerun only when
gh run view <run-id> --json attemptreports attempt 1. For other checks, report the failure instead:gh run rerun <run-id> --failed- Commit the fix through the
commitskill and push withgit push.
Report
Report each failed check with its cause and outcome: fixed in a commit, rerun as unrelated, or not fixed with the reason. Include the commit hashes pushed.
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.

