Project Doc Editing
Edit project documentation following the structure in @~/.claude/docs/project-doc.md.
Target: $ARGUMENTS
When to Use
- •Creating or modifying project docs (
00-*.md) - •Creating or modifying phase docs (
01-*.md,02-*.md, etc.) - •Validating doc structure
- •Updating task status, requirements, or phases
Key Structures
Reference these XML blocks from @~/.claude/docs/project-doc.md:
- •
<project-doc-sections>- Sections for project doc (Context, Checkpoint, Requirements, Questions, Phases, Files) - •
<phase-doc-sections>- Sections for phase docs (Context, Requirements, Questions, Tasks, Files) - •
<phase-reference-format>- How to reference phases in project doc - •
<task-format>- Task indicators[ ],[~],[x]
Core Rules
- •Tasks only in phase docs - Project doc has Phases section (references), NOT Tasks section (items)
- •Every phase gets a phase doc - No exceptions, even for small projects
- •Requirements in project doc - Phase docs only expand with R5.A, R5.B notation
- •Checkpoint in project doc only - Phase docs don't have checkpoints
Operations
Create Project Doc
- •Read
<project-doc-sections>structure - •Create
00-<name>.mdwith all sections - •Phases section references first phase doc
Create Phase Doc
- •Read
<phase-doc-sections>structure - •Create
NN-<phase-name>.md - •Context references project doc
- •All task
[ ]items go here
Update Task Status
- •Find task in phase doc (NOT project doc)
- •Update:
[ ]→[~]→[x] - •If all tasks done, ask user about phase ✅
Update Phase Status
- •In project doc Phases section
- •Update:
⬜→🔄→✅(user decides ✅)
Validate Structure
- •Check project doc follows
<project-doc-sections> - •Check phase docs follow
<phase-doc-sections> - •Verify no task items in project doc
- •Verify all phases have phase docs