ID:WORK-029Status:done
plan init and plan create Commands
Priority:mediumComplexity:simpleSource:SPEC-022
plan init and plan create CommandsNo incremental history — criteria tracking started on Apr 19.
Scaffolding commands that create plan directories and template files. init sets up the full plan structure in a new project. create scaffolds individual plan items from templates. Neither command needs the scanner — they only write files.
plan init creates plan/work/, plan/spec/, plan/decision/ directoriesplan init generates example files (work item, decision, spec) and starter index.mdplan init appends workflow section to CLAUDE.md (or creates one) including next/update/status commandsplan create work --id WORK-XXX --title "..." scaffolds a work item from templateplan create supports all 5 types: work, bug, decision, spec, milestoneplan/CLAUDE.md structureTemplates live in runes/plan/src/templates/ as string constants (not separate files). Each template is a function that accepts attributes and returns a Markdoc string. init calls create internally for its example files.
plan/CLAUDE.md (required content structure)