<?xml version="1.0" encoding="UTF-8"?>
<post>
  <id>019ee5f7-ef5c-7a10-bb29-a5094a6c5939</id>
  <type>post</type>
  <description>Testing this self-improvement rule for my Claude Code setup:</description>
  <title>Stefan Wintermeyer · 2026-06-20</title>
  <author>
    <name>Stefan Wintermeyer</name>
    <username>wintermeyer</username>
    <url>https://vutuv.de/wintermeyer</url>
  </author>
  <replies/>
  <url>https://vutuv.de/wintermeyer/posts/019ee5f7-ef5c-7a10-bb29-a5094a6c5939</url>
  <formats>
    <json>https://vutuv.de/wintermeyer/posts/019ee5f7-ef5c-7a10-bb29-a5094a6c5939.json</json>
    <text>https://vutuv.de/wintermeyer/posts/019ee5f7-ef5c-7a10-bb29-a5094a6c5939.txt</text>
    <markdown>https://vutuv.de/wintermeyer/posts/019ee5f7-ef5c-7a10-bb29-a5094a6c5939.md</markdown>
    <xml>https://vutuv.de/wintermeyer/posts/019ee5f7-ef5c-7a10-bb29-a5094a6c5939.xml</xml>
  </formats>
  <tags>
    <item>ClaudeCode</item>
    <item>Agents</item>
  </tags>
  <in_reply_to/>
  <images/>
  <generated_at>2026-07-08T21:28:13Z</generated_at>
  <schema_version>3</schema_version>
  <published_on>2026-06-20</published_on>
  <reply_count>0</reply_count>
  <like_count>1</like_count>
  <repost_count>0</repost_count>
  <bookmark_count>0</bookmark_count>
  <body_markdown>Testing this self-improvement rule for my Claude Code setup:

&gt; - Treat every mistake as a trigger to improve the rules, so they self-improve over time. Whenever you get something wrong (caught by me, by a failing test, by CI, by a linter or formatter, or noticed yourself), don&apos;t just fix the one instance. Ask what rule, had it existed, would have prevented it, then add or sharpen that rule so the same or a very similar mistake can&apos;t recur. Put it at the right scope: project-specific lessons go in that project&apos;s `CLAUDE.md` or `.claude/rules/`, general lessons go here in my global `CLAUDE.md`, and durable per-project facts can also go to memory. Write each new rule as a concrete instruction that says what to do and why, not a vague reminder, and fold it into an existing bullet when one already covers the area instead of duplicating. Keep the signal high: only codify mistakes that are generalizable and likely to recur, and skip one-off slips or things already covered elsewhere. In the same turn that you fix the mistake, tell me which rule you added or changed and why.</body_markdown>
</post>
