<?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: Harsh Garg</title>
    <description>The latest articles on DEV Community by Harsh Garg (@harsh_02).</description>
    <link>https://dev.to/harsh_02</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%2F3956324%2Fb2f84705-7aea-41f1-ba72-390a49eb03c4.png</url>
      <title>DEV Community: Harsh Garg</title>
      <link>https://dev.to/harsh_02</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/harsh_02"/>
    <language>en</language>
    <item>
      <title>Stop writing CLAUDE.md manually — I built a CLI that generates it from your codebase</title>
      <dc:creator>Harsh Garg</dc:creator>
      <pubDate>Thu, 28 May 2026 12:30:00 +0000</pubDate>
      <link>https://dev.to/harsh_02/stop-writing-claudemd-manually-i-built-a-cli-that-generates-it-from-your-codebase-2h4j</link>
      <guid>https://dev.to/harsh_02/stop-writing-claudemd-manually-i-built-a-cli-that-generates-it-from-your-codebase-2h4j</guid>
      <description>&lt;p&gt;If you use Claude Code, Cursor, or GitHub Copilot, you've probably written a CLAUDE.md or .cursorrules file at some point.&lt;/p&gt;

&lt;p&gt;You carefully document your stack, conventions, and commands. Then three weeks later your project has changed, you've added Zustand, removed Redux, and your AI tool is still following the old rules.&lt;/p&gt;

&lt;p&gt;I kept running into this. So I built CommitScope.&lt;/p&gt;

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

&lt;p&gt;CommitScope scans your project and auto-generates:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;CLAUDE.md&lt;/code&gt; for Claude Code&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;.cursor/rules/project.mdc&lt;/code&gt; for Cursor&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;AGENTS.md&lt;/code&gt; for OpenAI Codex&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;.github/copilot-instructions.md&lt;/code&gt; for GitHub Copilot&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All four. One command.&lt;/p&gt;

&lt;h2&gt;
  
  
  How it works
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-g&lt;/span&gt; commitscope
commitscope init     &lt;span class="c"&gt;# set your AI provider + API key (stored encrypted locally)&lt;/span&gt;
commitscope scan     &lt;span class="c"&gt;# analyzes your project&lt;/span&gt;
commitscope generate &lt;span class="c"&gt;# generates all 4 files&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The scan detects your framework, language, package manager, naming conventions, dev commands — and the AI generates context files that are actually specific to your project, not generic boilerplate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Privacy first
&lt;/h2&gt;

&lt;p&gt;Your code never leaves your machine. CommitScope uses your own API key and calls your chosen provider directly. Zero telemetry. No analytics. Nothing phoned home.&lt;/p&gt;

&lt;p&gt;This matters if you work at a company where sending code to third-party servers is a concern.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why I built it
&lt;/h2&gt;

&lt;p&gt;The alternative is copy-pasting your whole project structure into ChatGPT every time something changes. CommitScope makes it a 10-second habit instead.&lt;/p&gt;

&lt;p&gt;It's free and open source.&lt;/p&gt;

&lt;p&gt;npm: &lt;code&gt;npm install -g commitscope&lt;/code&gt;&lt;br&gt;
GitHub: github.com/Harsh-0602/commitscope&lt;/p&gt;

&lt;p&gt;Would love feedback — especially if you run into issues with a specific framework or stack.&lt;/p&gt;

&lt;h1&gt;
  
  
  claudecode #cursor #devtools #productivity #opensource
&lt;/h1&gt;

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