<?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: cen lin</title>
    <description>The latest articles on DEV Community by cen lin (@fantasylincen_811).</description>
    <link>https://dev.to/fantasylincen_811</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%2F4232600%2F50f2efd1-dfea-4fc4-91ae-c2f180ded85c.png</url>
      <title>DEV Community: cen lin</title>
      <link>https://dev.to/fantasylincen_811</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fantasylincen_811"/>
    <language>en</language>
    <item>
      <title>Stop pasting files to Cursor/Claude! I built an open-source whiteboard to generate compact tree docs for AI agents</title>
      <dc:creator>cen lin</dc:creator>
      <pubDate>Sat, 07 Nov 2026 18:10:13 +0000</pubDate>
      <link>https://dev.to/fantasylincen_811/stop-pasting-files-to-cursorclaude-i-built-an-open-source-whiteboard-to-generate-compact-tree-4bem</link>
      <guid>https://dev.to/fantasylincen_811/stop-pasting-files-to-cursorclaude-i-built-an-open-source-whiteboard-to-generate-compact-tree-4bem</guid>
      <description>&lt;p&gt;Every time I start a new session with &lt;strong&gt;Cursor, Claude Code, or Copilot&lt;/strong&gt;, I find myself losing valuable time re-explaining my project structure. Pasting entire files into the chat context is brutally expensive, and writing long prose descriptions often leaves the AI guessing, leading to hallucination and goal drifting.&lt;/p&gt;

&lt;p&gt;To solve this, I built &lt;strong&gt;MindForAI&lt;/strong&gt; — an open-source visual whiteboard that translates your architectural mind maps into a highly compact, indented tree format (&lt;code&gt;.mindforai&lt;/code&gt;) specifically designed for AI consumption.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;🌐 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://fantasylincen.github.io/mindforai/" rel="noopener noreferrer"&gt;https://fantasylincen.github.io/mindforai/&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;📦 &lt;strong&gt;GitHub Repo:&lt;/strong&gt; &lt;a href="https://github.com/fantasylincen/mindforai" rel="noopener noreferrer"&gt;https://github.com/fantasylincen/mindforai&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  🧠 Why natural language fails AI (and why trees win)
&lt;/h2&gt;

&lt;p&gt;Human text is linear and full of ambiguity. When you feed a 2000-word PRD or design doc into an AI, the agent often gets lost in the weeds, misinterprets dependencies, or suffers from context pollution.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;MindForAI&lt;/strong&gt; maps your intentions explicitly using a tree structure:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Zero Ambiguity:&lt;/strong&gt; Each node represents a single concept. Parent-child relationships mean task decomposition; sibling nodes mean parallel constraints.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Insanely Token-Friendly:&lt;/strong&gt; The exported &lt;code&gt;.mindforai&lt;/code&gt; format drops all quotes, braces, and trailing commas. It's several times smaller than JSON and way cleaner than messy Markdown headers.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Local-First &amp;amp; Private:&lt;/strong&gt; Your data never leaves your machine. It utilizes the File System Access API to read/write directly from your disk.&lt;/li&gt;
&lt;/ol&gt;




&lt;h2&gt;
  
  
  📄 What the &lt;code&gt;.mindforai&lt;/code&gt; format looks like
&lt;/h2&gt;

&lt;p&gt;Instead of a heavy JSON tree, your board exports into a clean, indented format that LLMs natively parse with incredible accuracy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;type: mindforai
version: 1
content[1]:
  - text: TODOS
    children[2]:
      - Read core project config at ./project.mindforai first
      - text: Rules
        children[1]:
          - The final report generated for the user must be in Chinese
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;When you start a session in Cursor or Claude Code, you simply drop this file in and say:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;"Please read &lt;code&gt;./project.mindforai&lt;/code&gt; first. Locate my target files along the module paths. Do not grep the whole repo."&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The AI immediately captures the big picture, maps out file responsibilities, and executes tasks flawlessly without drifting away from your guidelines.&lt;/p&gt;




&lt;h2&gt;
  
  
  🛠️ Core Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;🎨 &lt;strong&gt;Mindmaps + Flowcharts:&lt;/strong&gt; A unified spatial canvas powered by the &lt;strong&gt;Plait&lt;/strong&gt; framework.&lt;/li&gt;
&lt;li&gt;🔗 &lt;strong&gt;Mermaid Import:&lt;/strong&gt; Paste your existing Mermaid text to instantly generate an editable mindmap.&lt;/li&gt;
&lt;li&gt;📦 &lt;strong&gt;Docker One-Liner:&lt;/strong&gt; Want to host it yourself? Deploy completely offline via Docker in seconds (&lt;code&gt;bash rundocker.sh&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;🩹 &lt;strong&gt;Self-Healing Syntax:&lt;/strong&gt; If an AI accidentally corrupts the file while editing, the built-in validator highlights the exact broken line with one-click auto-formatting.&lt;/li&gt;
&lt;li&gt;♻️ &lt;strong&gt;100% Open Source:&lt;/strong&gt; Built with React 19 + TypeScript + Nx Monorepo under the &lt;strong&gt;MIT License&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  💬 I'd love your feedback!
&lt;/h2&gt;

&lt;p&gt;Our ultimate philosophy is &lt;strong&gt;1 Doc + 1 Agent = 1 Project&lt;/strong&gt;. We believe &lt;code&gt;.mindforai&lt;/code&gt; can rewrite the foundational documentation layer for AI Agents.&lt;/p&gt;

&lt;p&gt;I would especially love to hear the community's thoughts on the data structure itself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Do you think a minimalist indented tree is strictly better than Markdown for giving AI structural context?&lt;/li&gt;
&lt;li&gt;Where do you think this format breaks down in larger codebases?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you like the concept, feel free to try the live demo or drop a ⭐ star on our &lt;strong&gt;&lt;a href="https://github.com/fantasylincen/mindforai" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;&lt;/strong&gt;! &lt;/p&gt;

</description>
      <category>ai</category>
      <category>opensource</category>
      <category>developertools</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
