<?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: fang liu</title>
    <description>The latest articles on DEV Community by fang liu (@fang_liu_09c218e04608315c).</description>
    <link>https://dev.to/fang_liu_09c218e04608315c</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%2F3920387%2Fd9c7862a-4bdf-4f50-825a-64dea12283da.jpg</url>
      <title>DEV Community: fang liu</title>
      <link>https://dev.to/fang_liu_09c218e04608315c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/fang_liu_09c218e04608315c"/>
    <language>en</language>
    <item>
      <title>How I Stopped Losing Context with AI Coding Assistants (And Built 6 AGENTS.md Templates to Share)</title>
      <dc:creator>fang liu</dc:creator>
      <pubDate>Mon, 18 May 2026 03:26:27 +0000</pubDate>
      <link>https://dev.to/fang_liu_09c218e04608315c/how-i-stopped-losing-context-with-ai-coding-assistants-and-built-6-agentsmd-templates-to-share-213b</link>
      <guid>https://dev.to/fang_liu_09c218e04608315c/how-i-stopped-losing-context-with-ai-coding-assistants-and-built-6-agentsmd-templates-to-share-213b</guid>
      <description>&lt;p&gt;If you've been using Claude Code, Cursor, or Codex for more than a week, you've hit this wall: the AI forgets what you told it three sessions ago.&lt;br&gt;
Your project has conventions. Preferred libraries. Architecture decisions. But every new chat starts from scratch.&lt;br&gt;
&lt;strong&gt;AGENTS.md changes that.&lt;/strong&gt;&lt;br&gt;
It's a markdown file you drop in your repo root. AI coding tools read it automatically and carry context across sessions — preferred patterns, architecture rules, file naming conventions, anything that matters to your project.&lt;br&gt;
The concept isn't new. Over 60,000 open source projects already use AGENTS.md. But most developers I talked to either:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Didn't know it existed&lt;/li&gt;
&lt;li&gt;Knew it but didn't know what to put in it&lt;/li&gt;
&lt;li&gt;Tried once, got generic results, gave up
I built &lt;strong&gt;6 production-ready templates&lt;/strong&gt; to solve the last two problems:&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;React + Vite + TypeScript&lt;/strong&gt; — component patterns, state management, testing conventions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node.js REST API&lt;/strong&gt; — Express structure, auth middleware, error handling&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Go Microservices&lt;/strong&gt; — project layout, dependency injection, testing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python FastAPI&lt;/strong&gt; — async patterns, Pydantic models, dependency injection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Playwright E2E&lt;/strong&gt; — page object patterns, locator strategy, test data&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Chrome Extension MV3&lt;/strong&gt; — manifest, background scripts, content script patterns
Each template is the real thing — patterns I've used in production, not theoretical examples.
&lt;strong&gt;The free samples&lt;/strong&gt; (Node.js REST API + Python FastAPI) are on GitHub: → &lt;a href="https://github.com/liufang88789-ui/agentsmd-templates" rel="noopener noreferrer"&gt;github.com/liufang88789-ui/agentsmd-templates&lt;/a&gt;
&lt;strong&gt;Full bundle&lt;/strong&gt; ($12) includes all 6 templates plus lifetime updates: → &lt;a href="https://liufang1.gumroad.com/l/agentsmd" rel="noopener noreferrer"&gt;liufang1.gumroad.com/l/agentsmd&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>javascript</category>
      <category>python</category>
      <category>productivity</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
