Problem
To keep AI from degrading, you need to hit 'reset' often. But important knowledge vanishes when you reset.
Pattern
Save important information to markdown files. Load them into context when needed.
This makes resetting easier: instead of losing everything, you extract the valuable parts to files first, then load them back into a clean context.
Example
~/.claude/CLAUDE.md
- global Claude Code behavior rulesproject.md
- project-specific contexttdd-process.md
- how you want to workapproval_tests.md
- specific techniques to follow