CLAUDE.md Updater
Extract Conversations
scripts/extract_conversations.py --project "$(pwd)" --days 1
Options: --days N, --limit N, --json
Workflow
-
Extract conversations - Execute the script immediately:
scripts/extract_conversations.py --project "$(pwd)" --days 1 --limit 15 -
Extract final state - Analyze conversations for the end result:
- Final decisions and patterns that emerged
- Current conventions and rules (not how they were discussed)
- Workflow steps as they should be done now
- Configuration patterns that were settled on
CRITICAL: Focus on the final product, not the discussion history. Skip:
- Intermediate steps or abandoned approaches
- Debugging sessions (unless general pattern)
- Version-specific details
- One-time fixes
-
Present clean documentation - Show numbered list of rules/patterns to add:
Patterns to document: 1. [Final pattern/rule as it should be done] 2. [Configuration pattern with current values] 3. [Workflow step in present tense] ... Which should I document? (numbers, ranges, or "all") -
Apply updates - After selection, write clean documentation focused on current state