mcpField
W
w-gha

w-gha

github.com/blockmatic-iceboxCloud & DevOps1647 installsUpdated 4w ago
Repository

About w-gha

w-gha is a Basilic workflow agent skill for diagnosing and fixing failing GitHub Actions on the current branch. It uses gh to inspect checks and logs, then directs fixes toward the underlying cause.

Key features

  1. 01Verify branch and upstream state
  2. 02Inspect pull request checks and workflow runs with gh
  3. 03Read failed logs and download artifacts
  4. 04Trace failures to tests, builds, dependencies, or environment
  5. 05Re-run workflow-equivalent local commands

Use cases

  1. 01Diagnose failed GitHub Actions for a branch
  2. 02Identify the owning cause across multiple failed jobs
  3. 03Confirm fixes with the workflow's local checks

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/blockmatic-icebox/basilic-skills --skill w-gha

After installing, type/w-ghain Claude Code to confirm it loaded.

Details

From the project README

Fix failing GitHub Actions for the current branch. Use gh, never GitHub MCP for Actions logs. Follow git publish.

  1. git branch --show-current. Resolve the upstream tracking branch and confirm it exists. git status -sb is not proof the branch is pushed. Confirm HEAD is not ahead of upstream, or identify the PR head SHA (gh pr view --json headRefOid) and use that SHA when selecting runs.
  2. gh pr checks; gh run list --branch "$(git branch --show-current)" --limit 10 (or --commit <headSha>); failed run → gh run view <id> --log-failed; artifacts → gh run download <id>.
  3. Parse logs for tests, lint, build, missing deps, env, timeouts. When 2+ jobs failed, spawn one read-only parser per distinct job. Change the owning cause yourself.
  4. Re-run the same local commands the workflow uses. Do not add gh run watch to every push. No commit or push unless the user requested that action.
  5. Docs: /w-docs if behavior or commands changed.

Comments

Markdown supported