← Browse by Chapter
Get the Book →
#18Chapter 03 — Managing Your Context and Sessions
Before you write the migration, re-state the exact schema change in detail. For every column being added, removed, altered, or preserved, say which and cite where in the session that decision was made (turn number, a file we read together, or an explicit user statement). If you are inferring a decision from a compacted summary rather than a pre-compact fact, say so and flag it. Do not proceed if any item is uncertain.

Mastering Claude Code
These prompts are excerpts from the book. Get the full collection with explanations and use cases.