<?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: Scott Sun</title>
    <description>The latest articles on DEV Community by Scott Sun (@sunqsheng).</description>
    <link>https://dev.to/sunqsheng</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%2F4068465%2F7ccd8139-7886-468a-95ab-113f2a3c35fe.png</url>
      <title>DEV Community: Scott Sun</title>
      <link>https://dev.to/sunqsheng</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sunqsheng"/>
    <language>en</language>
    <item>
      <title>Claude Code Keeps Forgetting My Projects - Here's the Skill I Built to Make It Remember /project-registry</title>
      <dc:creator>Scott Sun</dc:creator>
      <pubDate>Sat, 08 Aug 2026 07:29:26 +0000</pubDate>
      <link>https://dev.to/sunqsheng/claude-code-keeps-forgetting-my-projects-heres-the-skill-i-built-to-make-it-remember-59ib</link>
      <guid>https://dev.to/sunqsheng/claude-code-keeps-forgetting-my-projects-heres-the-skill-i-built-to-make-it-remember-59ib</guid>
      <description>&lt;p&gt;Monday's meeting, Wednesday's session: Claude asks \"what is this project about?\"&lt;/p&gt;

&lt;p&gt;If you use Claude Code, you know the pattern. You left a half-finished plan, discussed architecture, revised review materials three times - all still there, except the context. Claude starts every session as a blank slate. It's smart, but it doesn't remember.&lt;/p&gt;

&lt;p&gt;I manage 25 projects (training programs, hospital collaborations, talent reviews, plus a few technical ones). For a non-developer like me, the most expensive thing was never compute - it was &lt;strong&gt;re-explaining context every single time&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;I tried everything: stuffing project lists into global config, pasting background before each session, building document trees. None of it worked - either too much maintenance, or Claude simply never read it.&lt;/p&gt;

&lt;p&gt;Then I realized the problem: &lt;strong&gt;Claude isn't forgetful, I never gave it a memory system&lt;/strong&gt;. It auto-loads &lt;code&gt;CLAUDE.md&lt;/code&gt; from the project directory every session - a native memory interface I was completely ignoring.&lt;/p&gt;

&lt;h2&gt;
  
  
  The structure: a registry + per-project logs
&lt;/h2&gt;

&lt;p&gt;Two pieces:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;~/projects/
  PROJECTS.json          # registry: every project registered
  &amp;lt;project&amp;gt;/
    README.md            # for humans: background &amp;amp; scope
    CLAUDE.md            # for AI: status, decisions, todos, next steps
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;PROJECTS.json&lt;/code&gt; is a list - one line per project: sequence, key, name, status, created date. 25 projects, one glance.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;CLAUDE.md&lt;/code&gt; is the core. A markdown file auto-loaded by Claude Code every session, holding five sections: current status, decision log, todos, known issues, next actions.&lt;/p&gt;

&lt;p&gt;The structure itself is cheap. The value is in the four disciplines below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Discipline 1: Every decision records WHY
&lt;/h2&gt;

&lt;p&gt;My old project notes only said what happened: revised the plan three times, added two features. Months later I couldn't answer &lt;strong&gt;why&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The rule: &lt;strong&gt;every decision must record its reason - no reason, no record&lt;/strong&gt;.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="p"&gt;-&lt;/span&gt; [done] 2026-08-08 - Single-version open-source strategy (why: forking creates permanent sync burden; expected: zero maintenance cost)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Reason mandatory, expected outcome optional. Writing it takes seconds; three months later it answers the question you'd otherwise lose forever.&lt;/p&gt;

&lt;p&gt;This also built a habit: &lt;strong&gt;record major decisions immediately&lt;/strong&gt;. When a discussion lands on \"let's go with plan X\", Claude asks \"log this as a decision?\" - before the reasoning evaporates. Minor decisions get batch-recorded at save time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Discipline 2: Session resume - from recollection to continuation
&lt;/h2&gt;

&lt;p&gt;The real cost of Claude's amnesia was re-explaining. Now opening a project triggers three automatic steps:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Read the project's CLAUDE.md&lt;/li&gt;
&lt;li&gt;Summarize last progress: \"last session finished the member module, CRM integration in progress\"&lt;/li&gt;
&lt;li&gt;List prioritized next steps, ask where to continue&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Three days or three weeks later, it's one sentence to get back up to speed. &lt;strong&gt;Session resume (last progress + next actions)&lt;/strong&gt; - once you have it, there's no going back.&lt;/p&gt;

&lt;p&gt;The key habit: on save, Claude updates CLAUDE.md with this session's progress, decisions, todos - then commits to git. Five seconds, and every future session starts with full context.&lt;/p&gt;

&lt;h2&gt;
  
  
  Discipline 3: Attribution - a \"why\" that traces back
&lt;/h2&gt;

&lt;p&gt;Project reviews always hit the same question: \"why did we cut that feature?\"&lt;/p&gt;

&lt;p&gt;Without records, the answer is always \"I forgot\".&lt;/p&gt;

&lt;p&gt;Now: say \"why X\" and Claude lists the relevant decisions in chronological order - each with its reason, status (executed / superseded / shelved), and downstream impact. The decision chain is visible.&lt;/p&gt;

&lt;p&gt;This matters most for business work. You adjusted a quote, changed a collaboration boundary - months later when someone asks \"how was this negotiated?\", you can answer instead of asking around.&lt;/p&gt;

&lt;h2&gt;
  
  
  Discipline 4: Health checks and rollback
&lt;/h2&gt;

&lt;p&gt;25 projects inevitably contain zombies: marked \"in progress\", untouched for three months. A content-level check flags them: status contradictions, staleness, todo backlog, unimplemented decisions. Checks are proactive and bring relevant decisions along.&lt;/p&gt;

&lt;p&gt;Mistakes get rollback: everything is in git, CLAUDE.md has rotating backups. Say \"rollback\" - diff, confirm, restore. &lt;strong&gt;Rollback itself is backed up first&lt;/strong&gt; - you can undo an undo.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this works for non-developers
&lt;/h2&gt;

&lt;p&gt;I designed this for technical projects initially, but business projects benefit the most:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Business projects run for months - cross-session probability is near 100%&lt;/li&gt;
&lt;li&gt;Business context is negotiation positions, plan versions, approval progress - easier to lose than code&lt;/li&gt;
&lt;li&gt;Non-developers are worst at rebuilding context, because the original discussion lives in chat history&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Code can be rewritten. &lt;strong&gt;A negotiation position, once lost, is gone.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The tool
&lt;/h2&gt;

&lt;p&gt;I packaged this into an open-source Claude Code skill called &lt;strong&gt;project-registry&lt;/strong&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Install: &lt;code&gt;npx skills add SUNQSHENG/project-registry&lt;/code&gt; (or &lt;code&gt;/plugin marketplace add SUNQSHENG/project-registry&lt;/code&gt;)&lt;/li&gt;
&lt;li&gt;Repo: &lt;a href="https://github.com/SUNQSHENG/project-registry" rel="noopener noreferrer"&gt;github.com/SUNQSHENG/project-registry&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Chinese-first UI, but every trigger works in English&lt;/li&gt;
&lt;li&gt;Docs, examples and demo screenshots in the README&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Try the methodology even if you skip the tool - &lt;strong&gt;every decision records why&lt;/strong&gt; and &lt;strong&gt;every save leaves next steps&lt;/strong&gt; are habits that make any AI assistant better.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Star the repo if it saves you a re-explanation - issues welcome.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>claude</category>
      <category>llm</category>
      <category>productivity</category>
    </item>
  </channel>
</rss>
