cmd-fix-github-actions

Installation
SKILL.md

/fix-github-actions

Agent skill wrapper for the Claude command /fix-github-actions.

When the original command text references {{INPUT}}, $1, or named arguments, map them from the user's current request.

Command Instructions

Fix GitHub Actions failures from recent workflow runs. Work in a git worktree under .trees/. Repeat up to $1 times (default 5).

Process

  1. Identify failures: gh run list --status=failure --limit=5 then gh run view <run-id> --log-failed for details
  2. Create worktree: Branch from the failing ref into .trees/fix-ci-<short-description> — create .trees/ if missing
  3. Analyze and fix: Categorize failure (test/build/lint/deps/other), fix root cause in the worktree
  4. Verify locally when possible (e.g. mix test, mix format --check-formatted, mix compile)
  5. Commit with descriptive message, push the fix branch
  6. Re-check: gh run watch — if still failing, continue next iteration
Installs
15
First Seen
Apr 27, 2026
cmd-fix-github-actions — gsmlg-dev/code-agent