/polymath-vcs:diagnose-ci-failurefrom polymath-vcs
Diagnose a failed GitHub Actions run — fetch logs via MCP, identify the failing step, classify (flake / real / config), propose next action.
Ships in polymath-vcs. 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.
One failed run. Fetch logs, find the failing step, classify, propose the next move.
Mode: analytical — judgment inside a fixed frame. Keep the output shape; every verdict cites its evidence; unknowns are marked [TBD] or [VERIFY], never filled in.
MCP binding (read before any tool call): if your host has a
githubMCP server, use its tools for this skill's data access. Check your own tool list — it may be registered under another name (a Claude Code connector appears asmcp__claude_ai_<Name>__*). Tool names differ between servers: use the closest match, and say so when the server is read-only. Never install or start a second copy. If there is none, work without MCP tool calls (give the user the queries or steps to run) and ask before suggesting an install.
Stop hook flagged a failed run on the current branch.(owner, repo, run_id) (required). None given: use the latest failed run on the current branch and say which run you picked.get_workflow_run, list_workflow_jobs, get_workflow_run_logs if available — else the logs_url from the run + Bash to download).CI diagnosis: <run url>
Failing job: build (ubuntu-latest, node 20).
Failing step: pnpm test (exit 1).
Root cause: REAL FAILURE
tests/lib/rate-limit.test.ts:42
expected: false
actual: true
reason: the window-eviction boundary moved when we switched to a
monotonic clock in PR #123. Test still uses wall-clock.
Next action:
Fix the test to inject the clock (use the project's fake-timer
conventions — refer to the project's testing notes in
`.polymath/project.yaml` or the vendor's official docs).
Don't re-run; it will fail the same way.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub mohammadbafkar/polymath --plugin polymath-vcs3 skills in this plugin
/open-prOpen a GitHub PR via the github MCP server — push current branch, draft from polymath-release:pr template, set base, add reviewers, never force-push./triage-issueTriage an inbound GitHub issue — label, severity, area, ask for missing repro details if needed, route to the right team. GitHub issues only — not other trackers.