Zum Inhalt springen

13. Curing AI Amnesia (CLAUDE.md and Rules)

30.09.2026 · 46 Min.

Shownotes

In Episode 13 of Beyond Prompting, author Sho Shimoda breaks down how to configure persistent repository instructions using CLAUDE.md and rule files. Rather than treating CLAUDE.md as a generic style guide or dumping ground for historical bugs, this episode focuses on treating instruction files as a concise briefing for a capable colleague. We cover:

    • The 200-Line Rule: Why CLAUDE.md should be kept concise (under ~200 lines) by focusing strictly on non-derivable facts, build environments, and explicit boundaries—leaving out generic advice and formatting rules the model can see for itself.
    • Concatenative Inheritance: How instruction files concatenate rather than override across four scopes: managed enterprise policy, user-level ~/.claude/CLAUDE.md, project ./CLAUDE.md, and uncommitted ./CLAUDE.local.md.
    • Scoped Rules (.claude/rules/): How to split large instruction sets into modular files inside .claude/rules/ using paths: frontmatter globs so that topic-specific rules (like frontend React conventions) only load when matching files are opened.
    • Deterministic Tools vs. Reasoning Context: Why mechanical syntax and formatting rules belong in deterministic linters and git hooks, reserving CLAUDE.md for architectural context and edge-case rationale that static analysis cannot check.
    • Preventing Instruction Sediment: Using CLI commands like /init, /memory, and /doctor to audit, prune, and maintain instruction files like code.

(Note for listeners: This episode covers Chapter 13 of Sho Shimoda's book RUNNING CLAUDE: The Operator’s Guide to Chat, Cowork and Claude Code, available on Amazon as the successor book to Master Claude: Chat, Cowork and Code).

Alle Folgen von Master Claude Chat, Cowork, Code

Einstellungen

Darstellung

Sprache

Bestimmt, welche Sender dir auf der Startseite zuerst gezeigt werden.

Verlauf

Zuletzt gehörte Sender und Folgen und deine letzten Suchen liegen nur in diesem Browser.

Hinweise

Ein kurzer Hinweis, wenn ein Podcast, dem du folgst, eine neue Folge hat. Einzelne Podcasts stellst du über die Glocke auf ihrer Seite ab.

Konto

Favoriten speichern – in der App und auf der Website.

Tastenkürzel

/
Suche öffnen
Leertaste
Abspielen oder anhalten
← →
Im Player: 15 s zurück, 30 s vor (Folgen) · im Regal: nächste Kachel
↑ ↓
Im Regal: Ziel innerhalb der Kachel
Pos1 / Ende
Im Regal: erste bzw. letzte Kachel
Esc
Fenster oder Menü schließen
?
Diese Übersicht
Läuft gerade

Zur Senderseite

Als Nächstes

    Folgen mit „Als Nächstes“ vormerken – sie laufen nach der aktuellen Folge.