<?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: KIM · 风雷益 FENGLEI YI</title>
    <description>The latest articles on DEV Community by KIM · 风雷益 FENGLEI YI (@kimfenglei).</description>
    <link>https://dev.to/kimfenglei</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%2F4076069%2F92c88df6-f8c4-43d7-96b3-2b4c4e2a0b8a.png</url>
      <title>DEV Community: KIM · 风雷益 FENGLEI YI</title>
      <link>https://dev.to/kimfenglei</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kimfenglei"/>
    <language>en</language>
    <item>
      <title>Godot 4 GDScript Pitfalls: Every Mistake I Made So You Do Not Have To</title>
      <dc:creator>KIM · 风雷益 FENGLEI YI</dc:creator>
      <pubDate>Thu, 13 Aug 2026 11:11:18 +0000</pubDate>
      <link>https://dev.to/kimfenglei/godot-4-gdscript-pitfalls-every-mistake-i-made-so-you-do-not-have-to-bhc</link>
      <guid>https://dev.to/kimfenglei/godot-4-gdscript-pitfalls-every-mistake-i-made-so-you-do-not-have-to-bhc</guid>
      <description>&lt;p&gt;I spent months fighting Godot 4. The errors made no sense. The crashes came from nowhere. The worst part? The documentation told me the syntax, but never the traps hiding underneath.&lt;/p&gt;

&lt;p&gt;So I wrote down every single mistake I made, and how I fixed each one. Now it is an open source guide called godot4-gdscript-pitfalls, and it is completely free on GitHub.&lt;/p&gt;

&lt;p&gt;What is inside:&lt;/p&gt;

&lt;p&gt;Signals and Callables. Connecting signals the wrong way, passing arguments that silently fail, and the one pattern that always works.&lt;/p&gt;

&lt;p&gt;Nodes and Lifecycle. Why _ready runs before you think it does, and how to stop fighting the scene tree.&lt;/p&gt;

&lt;p&gt;Typing and Inference. The type errors that only appear at runtime, and how to let the compiler protect you.&lt;/p&gt;

&lt;p&gt;Resource and Memory. The leaks that eat your framerate, and the clean pattern to avoid them.&lt;/p&gt;

&lt;p&gt;Every entry has the broken code, the error message, and the proven fix. No theory. Just mistakes that are real and fixes that are tested.&lt;/p&gt;

&lt;p&gt;If you build games with Godot 4, this guide will save you the weeks I lost. Star it, share it, and never step on the same trap twice.&lt;/p&gt;

&lt;p&gt;Find it here:&lt;br&gt;
github.com/Kim-FengLei/godot4-gdscript-pitfalls&lt;/p&gt;

</description>
      <category>godot</category>
      <category>gdscript</category>
      <category>gamedev</category>
    </item>
    <item>
      <title>How to Give Your AI Agent a Memory That Actually Learns</title>
      <dc:creator>KIM · 风雷益 FENGLEI YI</dc:creator>
      <pubDate>Thu, 13 Aug 2026 10:16:30 +0000</pubDate>
      <link>https://dev.to/kimfenglei/how-to-give-your-ai-agent-a-memory-that-actually-learns-500n</link>
      <guid>https://dev.to/kimfenglei/how-to-give-your-ai-agent-a-memory-that-actually-learns-500n</guid>
      <description>&lt;p&gt;Fenglei Memory · 风雷记忆 · 学而非存&lt;/p&gt;

&lt;p&gt;Your AI agent keeps forgetting. You tell it your preferences, it nods, and next session it asks again. The usual fix is to store more: bigger context, longer logs, a vector database. But storage is not memory. A warehouse is not a brain.&lt;/p&gt;

&lt;p&gt;Fenglei Memory is a zero-dependency methodology that teaches agents to learn from collaboration instead of just storing content. Here is how it works, and how to apply it today.&lt;/p&gt;

&lt;p&gt;Step One: Record only what has long-term value&lt;/p&gt;

&lt;p&gt;Do not dump every chat into memory. Before saving, ask one question: will I need this next week, next month, or in every future session? If yes, record it. If no, let it go. Raw facts are raw material, not the final product.&lt;/p&gt;

&lt;p&gt;Step Two: Ask what you learned after every round&lt;/p&gt;

&lt;p&gt;At the end of each collaboration, ask: what did I learn here? Extract the pattern, not just the event. A failed deployment is a fact. The reason it failed, and the check that prevents it next time, is the lesson. Store the lesson.&lt;/p&gt;

&lt;p&gt;Step Three: Promote on repetition&lt;/p&gt;

&lt;p&gt;When the same action repeats two or more times, or the same pitfall hits two or more times, promote it. Turn it into a rule, a checklist, or a skill pack. This is how raw records become reusable judgment. This is the difference between hoarding and learning.&lt;/p&gt;

&lt;p&gt;The four layers&lt;/p&gt;

&lt;p&gt;Fenglei Memory organizes everything into four layers. L1 World Facts: stable background like goals and conventions. L2 Experience Facts: traces of real actions and what changed. L3 Observations: patterns distilled from repeated facts. L4 Skills and Mental Models: stable patterns promoted into callable skills. The goal is to keep pushing facts upward, from raw records to reusable skills.&lt;/p&gt;

&lt;p&gt;The full lifecycle&lt;/p&gt;

&lt;p&gt;Write, Retrieve, Reflect, Promote, Clean. Daily, scan for promotable items. Weekly, merge duplicates. Monthly, formalize stable patterns into skill packs. Memory is not written once and permanent. It is maintained, like a garden.&lt;/p&gt;

&lt;p&gt;Why it matters&lt;/p&gt;

&lt;p&gt;Most agents today store a lot but never really learn. They can recall yesterday, but they cannot improve. A memory that learns changes that. Every session makes the agent sharper. Every mistake becomes a checklist. Every repeated task becomes a skill.&lt;/p&gt;

&lt;p&gt;Get it&lt;/p&gt;

&lt;p&gt;Fenglei Memory is open source and free, MIT licensed. Try it and give your agents a memory that actually learns.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Kim-FengLei/fenglei-memory" rel="noopener noreferrer"&gt;https://github.com/Kim-FengLei/fenglei-memory&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built by KIM, Founder of FENGLEI YI, 风雷益, 天施地生，其益无方。&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>memory</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Learn, Don't Store — A Zero-Dependency Memory Methodology for AI Agents</title>
      <dc:creator>KIM · 风雷益 FENGLEI YI</dc:creator>
      <pubDate>Thu, 13 Aug 2026 10:13:47 +0000</pubDate>
      <link>https://dev.to/kimfenglei/learn-dont-store-a-zero-dependency-memory-methodology-for-ai-agents-16l6</link>
      <guid>https://dev.to/kimfenglei/learn-dont-store-a-zero-dependency-memory-methodology-for-ai-agents-16l6</guid>
      <description>&lt;p&gt;Fenglei Memory · 风雷记忆 · 学而非存&lt;/p&gt;

&lt;p&gt;Most AI agents today treat memory like a warehouse: pile up every chat, every file, every context, and hope retrieval finds what matters. It doesn't work. Information grows, but the truly reusable methods get buried deeper every day.&lt;/p&gt;

&lt;p&gt;Fenglei Memory takes the opposite approach. It teaches agents to learn from collaboration instead of just storing content, distilling reusable experience into sharper and sharper forms, until stable, callable judgment standards, operating procedures, and skill packs emerge.&lt;/p&gt;

&lt;p&gt;Why It Matters&lt;/p&gt;

&lt;p&gt;The old pattern usually looks like this. One event happens, then record one entry. One conversation ends, then save one snippet. One fix is done, then drop one log. The result: memory becomes a warehouse, retrieval becomes fishing with a needle. You have done it before, yet you still have to rethink from scratch. Stored a lot, but never really learned. That is not long-term collaboration. That is hoarding.&lt;/p&gt;

&lt;p&gt;The Four Layers of Long-Term Memory&lt;/p&gt;

&lt;p&gt;Fenglei Memory organizes memory into four layers, and the higher the layer, the closer to learned.&lt;/p&gt;

&lt;p&gt;L1 World Facts: stable background such as leader, conventions and project direction, stored in MEMORY.md.&lt;br&gt;
L2 Experience Facts: traces of a real action, what changed and how it was located, stored in daily logs named YYYY-MM-DD.md.&lt;br&gt;
L3 Observations: patterns distilled from repeated facts, stored in MEMORY.md or spec docs.&lt;br&gt;
L4 Skills and Mental Models: stable patterns promoted into callable skills, stored as skill packs, SOPs and checklists.&lt;/p&gt;

&lt;p&gt;The goal is to keep pushing facts upward, from raw records to reusable skills.&lt;/p&gt;

&lt;p&gt;Core Workflow&lt;/p&gt;

&lt;p&gt;Record facts, only the ones with long-term value. Ask what did I learn in each round. Promote on repetition. Skills take priority over raw records.&lt;/p&gt;

&lt;p&gt;Promotion triggers, any one of these. Same action repeated two or more times. Same pitfall hit two or more times. Forgetting once causes significant rework. The pattern holds across multiple tasks.&lt;/p&gt;

&lt;p&gt;Memory is not written once and permanent. It has a full lifecycle: Write, Retrieve, Reflect, Promote, Clean.&lt;/p&gt;

&lt;p&gt;Review cadence: daily scan for promotable items, weekly merge duplicates, monthly formalize stable patterns into skill packs.&lt;/p&gt;

&lt;p&gt;What Makes It Different&lt;/p&gt;

&lt;p&gt;Zero dependency: it is a methodology, not infrastructure. No vector database, no heavy framework, works in any agent runtime.&lt;br&gt;
Skills over records: the end goal is forming mental models, not archiving.&lt;br&gt;
Inspired by Hindsight: retain, recall, reflect, with the final destination being learned behavior, not a bigger archive.&lt;/p&gt;

&lt;p&gt;Get It&lt;/p&gt;

&lt;p&gt;Fenglei Memory is open source and free.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/Kim-FengLei/fenglei-memory" rel="noopener noreferrer"&gt;https://github.com/Kim-FengLei/fenglei-memory&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;MIT licensed. Star it, fork it, and give your agents a memory that actually learns.&lt;/p&gt;

&lt;p&gt;Built by KIM, Founder of FENGLEI YI, 风雷益, 天施地生，其益无方。&lt;/p&gt;

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