<?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: Gajendra Malviya</title>
    <description>The latest articles on DEV Community by Gajendra Malviya (@thzgajendra).</description>
    <link>https://dev.to/thzgajendra</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%2F3888520%2F096ba343-a464-4a85-8b54-c2235125085b.jpg</url>
      <title>DEV Community: Gajendra Malviya</title>
      <link>https://dev.to/thzgajendra</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thzgajendra"/>
    <language>en</language>
    <item>
      <title>I built a tool because I was tired of re-explaining my project to every AI</title>
      <dc:creator>Gajendra Malviya</dc:creator>
      <pubDate>Mon, 20 Apr 2026 08:32:10 +0000</pubDate>
      <link>https://dev.to/thzgajendra/i-built-a-tool-because-i-was-tired-of-re-explaining-my-project-to-every-ai-4akm</link>
      <guid>https://dev.to/thzgajendra/i-built-a-tool-because-i-was-tired-of-re-explaining-my-project-to-every-ai-4akm</guid>
      <description>&lt;p&gt;Every time I switch from Claude Code to Cursor, or Copilot to Codex, the new AI starts from zero. Doesn't know my architecture. Doesn't know I chose JWT over sessions. Doesn't know I'm&lt;br&gt;
   halfway through the auth middleware.                                                                                                                                                   &lt;/p&gt;

&lt;p&gt;I spend 20 minutes re-explaining. Every. Single. Time.                                                                                                                                  &lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;mindswap&lt;/strong&gt; — one command that captures your entire project state so any AI tool picks up instantly.                                                                        &lt;/p&gt;

&lt;p&gt;## How it works&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  npx mindswap init    &lt;span class="c"&gt;# once — auto-detects your stack&lt;/span&gt;
  npx mindswap         &lt;span class="c"&gt;# when switching tools — that's it                                                                                                                                 &lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When you run &lt;code&gt;mindswap&lt;/code&gt;, it:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Auto-detects your task&lt;/strong&gt; from the branch name (&lt;code&gt;feat/user-auth&lt;/code&gt; → "user auth")
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Captures git state&lt;/strong&gt; — branch, diff, recent commits, changed files&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Auto-logs dependency changes&lt;/strong&gt; — added Stripe? Logged. Removed Redis? Logged.
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Generates context files&lt;/strong&gt; for 15 AI tools — CLAUDE.md, .cursor/rules, AGENTS.md, GEMINI.md, copilot-instructions, and more
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never overwrites&lt;/strong&gt; your existing files — uses safe merge with markers
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Scores your context quality&lt;/strong&gt; (A-F) and tells you what's missing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;## The killer feature: MCP Server                                                                                                                                                     &lt;/p&gt;

&lt;p&gt;mindswap also runs as an MCP server with 3 tools:                                                                                                                                     &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;mindswap_get_context&lt;/code&gt; — "What do I need to know?" (called at session start)
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mindswap_save_context&lt;/code&gt; — "Here's what I did" (called at session end)&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;mindswap_search&lt;/code&gt; — "What did we decide about auth?"
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One command configures it for Claude Code, Cursor, VS Code, Codex, and Gemini:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  npx mindswap mcp-install                                                                                                                                                              
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;## What makes it different&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero manual input&lt;/strong&gt; — auto-detects everything from git&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decision conflict detection&lt;/strong&gt; — warns if you contradict yourself ("NOT using Redis" then "using Redis")&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Branch-aware state&lt;/strong&gt; — each git branch has its own task and decisions
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secret scanning&lt;/strong&gt; — scans context files for API keys before writing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;30+ frameworks detected&lt;/strong&gt; — Next.js, Go, Python, Rust, Rails, Spring Boot...
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;## The entire user flow&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;  npx mindswap init     &lt;span class="c"&gt;# once&lt;/span&gt;
  npx mindswap          &lt;span class="c"&gt;# when switching tools&lt;/span&gt;
  npx mindswap &lt;span class="k"&gt;done&lt;/span&gt;     &lt;span class="c"&gt;# when feature is complete&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's it. Everything else is automatic.                                                                                                                                                &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub&lt;/strong&gt;: &lt;a href="https://github.com/ShipOrBleed/mindswap" rel="noopener noreferrer"&gt;github.com/ShipOrBleed/mindswap&lt;/a&gt;&lt;br&gt;&lt;br&gt;
  &lt;strong&gt;npm&lt;/strong&gt;: &lt;code&gt;npm install mindswap --save-dev&lt;/code&gt;&lt;br&gt;&lt;br&gt;
  &lt;strong&gt;Website&lt;/strong&gt;: &lt;a href="https://mindswap.vercel.app" rel="noopener noreferrer"&gt;mindswap.vercel.app&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
