/ratchet-github:review-ci-logsfrom ratchet-github
Use when a CI run fails or flakes, when asked why a job or check failed or handed a failing log, when asked to make CI green or quieter, or when asked to add a retry or silence output in a workflow. Diagnose a CI failure or noisy CI output from the logs, find the first cause the repository owns, and fix it without hiding diagnostics.
Ships in ratchet-github. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Read every applicable AGENTS.md first, then the CI docs. Repository-local policy overrides
these defaults. For CI that passes but is slow or queued, use github-ci-operations. For the
commands, read its cookbook.
Pick the runs. For a run you were given, inspect only that run. Otherwise choose a few failed and a few successful runs inside a bounded window.
Fetch only the failed jobs' logs to a temporary directory and read the failed steps there. Do not download or stream the run's whole log archive. Remove the files afterwards.
Classify each finding: a real error, misleading output, a cascade from an earlier error, a diagnostic worth keeping, or volume only. Find the first cause the repository owns. Later errors are usually the cascade. When the log shows what failed but not why, read what that step reads in the repository, such as its configuration and the file it names, and say why. Do not hand back a list of possible reasons you could have checked. Then say what kind of failure it is, because each needs a different response:
Compare the failing job with what was run locally before the push: the same commit, project, target, fixtures, and configuration. Say which of these holds: the local check was skipped, it passed in a different scope or environment, the failure can only happen in CI, or it is unknown. The same command name does not prove the same scope. Do not call an outside infrastructure failure a gap in local checks.
When the cause is one the repository owns, make one bounded fix at the cause. For an outage, or an infrastructure failure outside the repository, report it and make no fix: the rest of this step and step 6 are for a failure the repository owns. Step 7 still applies. Keep non-zero exits, the primary error, artifacts, summaries, and diagnostic output. Do not hide stderr, quiet output globally, or add a retry that masks the cause. A retry is right only for the same idempotent operation failing for a transient outside reason.
A download in CI is that case: a tool, a package, or a test dependency fetched during setup. Retry it once, so two attempts in total, and give each attempt a short timeout, a small multiple of what a healthy download takes. Retry when the attempt timed out, the connection failed, the response was a 408 or a 429, or the file failed its checksum. On a checksum mismatch, delete the cached download before the second attempt, so the retry fetches it again instead of checking the same bad file. A mismatch is usually a truncated or corrupt transfer, and a fresh fetch fixes that. If the second download also mismatches, fail and print the expected digest and each attempt's actual one: tampering or a wrong pinned digest still fails loudly, and the log shows which. Never retry any other 4xx, which a second attempt repeats. A long timeout with several retries turns one stalled host into minutes on every shard. This does not allow retrying a test.
Add a focused regression check, run the workflow checker, and compare the output before and
after where that means something. Report what was left alone. Do not file issues unless asked;
when asked, github-issue owns how.
When a local check was skipped or did not match CI, say so in the pull request description.
The pr-description skill owns what that note holds.
What SKILL.md sets; muted values are Claude Code's defaults
11 skills in this plugin
/dependabotUse when writing or reviewing dependabot.yml or a workflow that runs on Dependabot pull requests, when asked to trigger, re-run, or force a Dependabot run, or when a Dependabot pull request has a conflict, a stale lockfile, or a failing bump. Configures coverage, grouping, cooldowns, and secrets, starts an update check on demand, and repairs a Dependabot pull request./git-commit-checklistUse before every git commit, before a rebase, reset, or force push of a branch another person or agent may push to, when a rebase or merge conflicts in a lockfile, a generated file, or source, when a stacked branch's base has merged, and when git fails on a .lock file. Check scope, staged content, and message, resolve conflicts without taking a side, and force-push or clear a lock safely./github-actions-authoringnpx claudepluginhub jongleberry/ratchet-stack --plugin ratchet-github