CI Fix
Use this skill to turn a failing check into a reproduced diagnosis and a minimal fix. Prefer the exact failing command and logs over guessing.
Workflow
- Identify the failing check, command, job, branch, and commit.
- Collect logs from the local terminal, CI output, or hosting CLI when available.
- Reproduce locally with the closest focused command before changing code when practical.
- Classify the failure: code regression, test expectation, environment drift, dependency issue, flaky timing, missing generated file, or configuration problem.
- Implement the smallest fix that addresses the root cause.
- Re-run the failing command and one adjacent safety check when practical.
- Avoid hiding failures by weakening tests or disabling checks unless that is the intended fix and the reason is documented.
Common Commands
git status --short --branch
gh run list --limit 10
gh run view --log
npm test
npm run lint
pytest
go test ./...
cargo test
Use the commands that match the repo; do not assume a package manager without checking.
Output
Summarize:
- Failing check and root cause.
- Files changed.
- Verification commands and results.
- Any remaining CI-only risk that could not be reproduced locally.