<?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: kohei</title>
    <description>The latest articles on DEV Community by kohei (@0xkohe).</description>
    <link>https://dev.to/0xkohe</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%2F3809660%2F22ed7afd-94fc-406b-bbfd-82d05bf7eaa8.png</url>
      <title>DEV Community: kohei</title>
      <link>https://dev.to/0xkohe</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/0xkohe"/>
    <language>en</language>
    <item>
      <title>I built git-ai – generate Conventional Commit messages via Claude/Copilot/Codex CLI</title>
      <dc:creator>kohei</dc:creator>
      <pubDate>Fri, 06 Mar 2026 10:17:51 +0000</pubDate>
      <link>https://dev.to/0xkohe/i-built-git-ai-generate-conventional-commit-messages-via-claudecopilotcodex-cli-4bhk</link>
      <guid>https://dev.to/0xkohe/i-built-git-ai-generate-conventional-commit-messages-via-claudecopilotcodex-cli-4bhk</guid>
      <description>&lt;p&gt;I built a small  cli called git-ai that adds a &lt;code&gt;git ai commit&lt;/code&gt; command to your workflow.&lt;br&gt;
It reads &lt;code&gt;git diff --staged&lt;/code&gt;, sends the diff to your preferred AI CLI (Claude, GitHub Copilot, or OpenAI Codex), and generates a Conventional Commit message automatically. A spinner animation shows the progress, and if one model isn't installed or fails, it silently falls back to the next available one.&lt;/p&gt;

&lt;p&gt;$ git add .&lt;br&gt;
  $ git ai commit&lt;br&gt;
    ⠹ Generating commit message with copilot...&lt;br&gt;
  ✅ Generated by copilot&lt;/p&gt;




&lt;p&gt;Proposed: feat: add user authentication middleware&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7gcljp0lv3fzpxvr062i.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7gcljp0lv3fzpxvr062i.png" alt=" " width="744" height="511"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Features:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Supports Claude CLI, GitHub Copilot CLI, and OpenAI Codex CLI&lt;/li&gt;
&lt;li&gt;Auto-detects which model to use (claude → copilot → codex)&lt;/li&gt;
&lt;li&gt;--edit / -e flag to review and modify in vi before committing&lt;/li&gt;
&lt;li&gt;Pure bash, no dependencies beyond the AI CLI itself&lt;/li&gt;
&lt;li&gt;One-line install via install.sh&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The motivation was simple: I kept writing the same kinds of commit messages over and over. With git-ai, I just stage my changes and let the AI handle the wording — it's surprisingly good at following Conventional Commits format.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/0xkohe/git-ai" rel="noopener noreferrer"&gt;https://github.com/0xkohe/git-ai&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>cli</category>
      <category>git</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
