update-dev-docs
Update Dev Docs
Updates the dev docs to capture current progress before session compaction or ending a session.
When to use
- Before using
/compactto compress conversation - Before ending a long session
- When switching to a different task
- Periodically during very long implementations
Usage
/update-dev-docs [task-name]
If task-name is not provided, will look for active tasks in dev/active/.
Instructions
When this command is invoked:
-
Find active dev docs:
- Check
dev/active/for existing task folders - If multiple found and no task-name provided, list them and ask which to update
- Check
-
Update tasks.md:
- Sync with current TodoWrite state
- Mark completed items as done
- Add any new tasks discovered during implementation
- Update complexity estimates if needed
-
Update context.md:
- Add newly discovered key files
- Document any new decisions made
- Update code patterns if new ones were identified
- Add any gotchas or lessons learned
-
Update plan.md (if needed):
- Update progress on objectives
- Note any strategy changes
- Update risk assessment based on discoveries
-
Generate session summary:
- What was accomplished this session
- What's next
- Any blockers or open questions
Session Summary Template
Add to the end of context.md:
## Session Log
### [Date] Session
**Accomplished:**
- Item 1
- Item 2
**Next Steps:**
- Item 1
- Item 2
**Blockers/Questions:**
- Question 1
Notes
- Keep updates concise but informative
- Focus on capturing context that would be lost after compaction
- Include specific file paths and line numbers where relevant
- Document "why" not only "what" for decisions
More from htlin222/dotfiles
cpp
Write modern C++ with RAII, smart pointers, and STL. Use for C++ development, memory safety, or performance optimization.
130refactor
Refactor code for quality and maintainability. Use for cleanup and tech debt reduction.
74data-science
Data analysis, SQL queries, BigQuery operations, and data insights. Use for data analysis tasks and queries.
52c-lang
Write efficient C code with proper memory management and system calls. Use for C optimization, memory issues, or system programming.
46quarto-book
Generate Quarto Book project structure with chapters, configuration, and output settings. Use when user wants to create a book, multi-chapter document, technical manual, or asks about Quarto book setup.
45scientific-figure-assembly
Assemble multi-panel scientific figures with panel labels (A, B, C) at publication quality (300 DPI) using R. Use when combining individual plots into journal-ready figures.
43