skills/github-actions-check/SKILL.md
Check GitHub Actions CI status and report failures.
npx skillsauth add notque/claude-code-toolkit github-actions-checkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Check GitHub Actions workflow status after a git push, identify failures, and suggest local reproduction commands. This skill observes and reports -- it modifies workflow files or auto-fixes code only with explicit permission.
Read and follow any repository CLAUDE.md before proceeding -- it may contain CI-specific instructions or branch naming conventions.
Determine which repository and branch to check:
# Get repository from git remote
git remote get-url origin
# Get the branch that was pushed
git branch --show-current
Always use the branch that was actually pushed, always the branch that was actually pushed. Checking without --branch can show runs from other branches and give misleading status for the user's actual push.
Gate: Repository and branch both identified. Confirm both values before proceeding.
GitHub needs 5-10 seconds after a push to register the workflow run. Checking immediately returns stale results from previous runs, not the current push.
# Wait for GitHub to register the workflow run
sleep 10
# Check workflow runs for the pushed branch
BRANCH=$(git branch --show-current)
gh run list --branch "$BRANCH" --limit 5
Always use the gh CLI rather than raw GitHub API calls -- gh handles authentication, pagination, and formatting automatically. Writing custom scripts with curl or requests adds unnecessary complexity when gh already does the job.
Show the complete gh output verbatim. Show complete output rather than summarizing as "build passed" or "tests failed" -- that hides which jobs ran, their timing, and any warnings. Claiming "build passed" without showing output is unverifiable. The user needs to see the actual data.
Gate: Workflow status retrieved and complete output displayed to user. Wait for the gate to pass before proceeding.
Only execute this step if Step 2 shows a failed or failing run. Compare against previous runs before classifying failures as pre-existing without comparing against previous runs -- that is speculation, not evidence.
# Get details of the failed run
gh run view <run-id>
# For deeper investigation (only if user explicitly requests it,
# since full logs can be very verbose)
gh run view <run-id> --log-failed
For each failing job, identify:
## Failure Report
Job: [job name]
Error: [specific error from logs]
Local reproduction: [command to reproduce locally]
Suggested fix: [exact commands to fix, if applicable]
For common failures like linting or formatting, provide exact fix commands but present them for user approval. Wait for explicit user permission before auto-fixing and re-pushing -- making code changes and git commits without review may introduce unintended changes. Only use gh run watch for interactive monitoring if the user specifically asks for it.
Gate: All failures identified with reproduction commands. Wait for the gate to pass before proceeding.
If all checks passed:
gh run list output (not a summary)If checks failed:
Report facts without self-congratulation. Show command output rather than describing it. Be concise but informative.
Clean up any temporary scripts or cache files created during the check before finishing.
This skill only checks CI status. For local debugging of test failures, hand off to systematic-debugging. For local linting, hand off to code-linting. Keep workflow YAML files and CI configuration out of scope for this skill.
Gate: Complete status report delivered to user.
Cause: GitHub CLI not installed on the system Solution:
gh is available: which ghbrew install gh or sudo apt install ghcurl with GitHub API (but prefer installing gh)Cause: GitHub CLI not authenticated Solution:
gh auth status to check current authgh auth loginCause: Workflow not triggered, branch has no workflows, or checked too early Solution:
.github/workflows/ directory exists in the repositorydocumentation
Document translation: quick/normal/refined modes with chunked parallel subagents and glossary support.
development
AI image generation: Gemini and Nano Banana backends; single/series/batch workflows with prompt-to-disk.
testing
Unified voice content generation pipeline with mandatory validation and joy-check. 13-phase pipeline: LOAD, GROUND, STATS-CHECKPOINT, GENERATE, HOOK-GATE, VALIDATE, REFINE, VARIETY-GATE, JOY-CHECK, ANTI-AI, CLOSE-GATE, OUTPUT, CLEANUP. Use when writing articles, blog posts, or any content that uses a voice profile. Use for "write article", "blog post", "write in voice", "generate content", "draft article", "write about".
documentation
Critique-and-rewrite loop for voice fidelity validation.