
I built a GitHub Action that diagnoses CI failures using Claude AI
Every developer knows the feeling — your PR fails, you open the CI logs, and you spend 20 minutes reading walls of text trying to find what went wrong. I built CI Fix Coach to fix that. What it does It's a GitHub Action that automatically reads your failed CI logs and posts an actionable fix guide as a PR comment. Every comment follows this format: A. What failed — exact error description B. Why — root cause explanation C. Steps to fix — numbered list of actions D. Local check — command to verify the fix E. File to change — exact file and what to modify Real example Here's what your team sees after a failed ESLint check: A. ESLint failed — 3 violations in api/users.js B. var declarations and missing semicolons violate no-var and semi rules C. Replace var→const/let, add semicolons on lines 12, 18, 34 D. npx eslint api/users.js --fix --dry-run E. api/users.js — replace var declarations Setup in 2 minutes Add this to your workflow YAML: name: CI Fix Coach uses: Chris1220-cmd/ci-fix-coach@
Continue reading on Dev.to
Opens in a new tab




