From agentforge
Investigate a single failing PR CI check in core-be and return a short root-cause summary with a fix plan. Use when the user asks why CI failed or to diagnose a specific GitHub Actions job.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agentforge:ci-investigatorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce a **short root-cause summary** for **one** failing check (not full PR babysit — see **pr-babysit** for the full loop).
Produce a short root-cause summary for one failing check (not full PR babysit — see pr-babysit for the full loop).
Identify the failing job:
gh pr checks
gh run view <run-id> --log-failed
Map the job to local commands:
| CI job name | Workflow | Local reproduction |
|---|---|---|
| PR CI (lint, security, …) | pr-ci.yml | pnpm ci:quality (local aggregate; CI splits jobs) |
| Tests | reusable-vitest-postgres-redis.yml | pnpm compose:up → pnpm db:migrate → pnpm test |
| API smoke (local only) | CD post-deploy or local verify | pnpm verify:base or pnpm test:api-smoke |
| Chaos (Toxiproxy) | reusable-chaos-toxiproxy.yml | pnpm chaos:up → pnpm chaos:provision → pnpm test:chaos |
| Docker | reusable-docker-build-trivy.yml | node tooling/ci/check-dockerfile-sync.mjs + docker build |
| API Docs (post-merge publish) | reusable-openapi-postman-publish.yml | pnpm docs:all / pnpm docs:check |
| API Docs (PR-time check) | pr-docs-lane.yml | pnpm docs:check |
Reproduce the first failing step locally when possible.
Classify the failure:
src/, tests, or migrationspnpm routes:catalog, pnpm tool:sync-env-example --fix)## CI failure: <job name>
**Root cause:** …
**Evidence:** (log line or local command output)
**Fix:** …
**Commands:** `pnpm …`
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub nikunjmavani/core-be