/process-doc
Process an input document into a structured source summary.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/process-doc
Context preview
What this command does when you run it.
Process an input document into a structured source summary.
Command definition
process-doc.mdProcess an input document into a structured source summary.
Steps: 1. Read `templates/claude-templates.md` and find the Source Document Summary template (Template 1). Use the Light Source Summary if this is a small project (under 5 sessions), Full Source Summary otherwise. 2. Read the document at: $ARGUMENTS 3. Extract all information into the template format. Pay special attention to:
- EXACT numbers — do not round or paraphrase
- Requirements in IF/THEN/BUT/EXCEPT format
- Decisions with rationale and rejected alternatives
- Open questions marked as OPEN, ASSUMED, or MISSING
4. Write the summary to `./docs/summaries/source-[filename].md`. 5. Move the original document to `./docs/archive/`. 6. Tell me: what was extracted, what's unclear, and what needs follow-up.
New CLAUDE.md that solves the compaction/context loss problem and mimics persistent memory through effective session handoff in token efficient manner

