<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chris1220-cmd</title>
    <description>The latest articles on DEV Community by Chris1220-cmd (@chris1220cmd).</description>
    <link>https://dev.to/chris1220cmd</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3804527%2F78e6db13-63b2-432f-b1e7-6c81be0f44b3.png</url>
      <title>DEV Community: Chris1220-cmd</title>
      <link>https://dev.to/chris1220cmd</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chris1220cmd"/>
    <language>en</language>
    <item>
      <title>I built a GitHub Action that diagnoses CI failures using Claude AI</title>
      <dc:creator>Chris1220-cmd</dc:creator>
      <pubDate>Tue, 03 Mar 2026 19:50:07 +0000</pubDate>
      <link>https://dev.to/chris1220cmd/i-built-a-github-action-that-diagnoses-ci-failures-using-claude-ai-45hd</link>
      <guid>https://dev.to/chris1220cmd/i-built-a-github-action-that-diagnoses-ci-failures-using-claude-ai-45hd</guid>
      <description>&lt;p&gt;Every developer knows the feeling — your PR fails, you open &lt;br&gt;
the CI logs, and you spend 20 minutes reading walls of text &lt;br&gt;
trying to find what went wrong.&lt;/p&gt;

&lt;p&gt;I built CI Fix Coach to fix that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;p&gt;It's a GitHub Action that automatically reads your failed CI &lt;br&gt;
logs and posts an actionable fix guide as a PR comment.&lt;/p&gt;

&lt;p&gt;Every comment follows this format:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A. What failed&lt;/strong&gt; — exact error description&lt;br&gt;
&lt;strong&gt;B. Why&lt;/strong&gt; — root cause explanation&lt;br&gt;&lt;br&gt;
&lt;strong&gt;C. Steps to fix&lt;/strong&gt; — numbered list of actions&lt;br&gt;
&lt;strong&gt;D. Local check&lt;/strong&gt; — command to verify the fix&lt;br&gt;
&lt;strong&gt;E. File to change&lt;/strong&gt; — exact file and what to modify&lt;/p&gt;

&lt;h2&gt;
  
  
  Real example
&lt;/h2&gt;

&lt;p&gt;Here's what your team sees after a failed ESLint check:&lt;/p&gt;

&lt;p&gt;A. ESLint failed — 3 violations in api/users.js&lt;br&gt;
B. var declarations and missing semicolons violate no-var and semi rules&lt;br&gt;
C. Replace var→const/let, add semicolons on lines 12, 18, 34&lt;br&gt;
D. npx eslint api/users.js --fix --dry-run&lt;br&gt;
E. api/users.js — replace var declarations&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup in 2 minutes
&lt;/h2&gt;

&lt;p&gt;Add this to your workflow YAML:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;name: CI Fix Coach
uses: Chris1220-cmd/ci-fix-coach@v1
with:
anthropic-api-key: ${{ secrets.ANTHROPIC_API_KEY }}
github-token: ${{ secrets.GITHUB_TOKEN }}&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Key features&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Diagnoses 14 failure types (ESLint, TypeScript, Docker, OOM, network errors, and more)&lt;/li&gt;
&lt;li&gt;Per-job analysis — each failed job gets its own diagnosis&lt;/li&gt;
&lt;li&gt;BYOK — uses your Anthropic API key (~$0.001 per diagnosis)&lt;/li&gt;
&lt;li&gt;Open source, MIT license&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/Chris1220-cmd/ci-fix-coach" rel="noopener noreferrer"&gt;https://github.com/Chris1220-cmd/ci-fix-coach&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cicd</category>
      <category>github</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
