<?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: SalzDevs</title>
    <description>The latest articles on DEV Community by SalzDevs (@salzdevs_0).</description>
    <link>https://dev.to/salzdevs_0</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.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4007011%2Fd557c781-b377-451a-a77c-451a86ca382f.png</url>
      <title>DEV Community: SalzDevs</title>
      <link>https://dev.to/salzdevs_0</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/salzdevs_0"/>
    <language>en</language>
    <item>
      <title>I got tired of repeating the same AI coding instructions, so I built ai-rules</title>
      <dc:creator>SalzDevs</dc:creator>
      <pubDate>Sun, 28 Jun 2026 21:37:10 +0000</pubDate>
      <link>https://dev.to/salzdevs_0/i-got-tired-of-repeating-the-same-ai-coding-instructions-so-i-built-ai-rules-35o0</link>
      <guid>https://dev.to/salzdevs_0/i-got-tired-of-repeating-the-same-ai-coding-instructions-so-i-built-ai-rules-35o0</guid>
      <description>&lt;p&gt;I’ve been using AI coding agents more and more, and one thing kept annoying me:&lt;br&gt;
I was repeating the same instructions every session.&lt;br&gt;
Things like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;keep diffs small&lt;/li&gt;
&lt;li&gt;don’t fetch data directly inside React components&lt;/li&gt;
&lt;li&gt;follow the existing architecture&lt;/li&gt;
&lt;li&gt;add tests when behavior changes&lt;/li&gt;
&lt;li&gt;don’t introduce new patterns unless needed&lt;/li&gt;
&lt;li&gt;explain risky changes before making them
At first, I handled this with big instruction files like &lt;code&gt;AGENTS.md&lt;/code&gt;.
That works for a while, but it has two problems:&lt;/li&gt;
&lt;li&gt;The file keeps growing.&lt;/li&gt;
&lt;li&gt;Most of the instructions are irrelevant to the current task.
If I’m asking the agent to change a React component, it probably doesn’t need my rules about commit messages, backend handlers, database migrations, or release notes.
And if I work across multiple projects, I either copy those instructions around or rewrite them again.
So I built &lt;strong&gt;ai-rules&lt;/strong&gt;.
## What ai-rules does
&lt;code&gt;ai-rules&lt;/code&gt; is a small local-first CLI for personal AI coding rules.
Rules live as Markdown files in:&lt;/li&gt;
&lt;/ul&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
bash
~/.config/ai-rules/rules/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>ai</category>
    </item>
  </channel>
</rss>
