Update project files after making changes.
Updates project documentation files after code changes. Use after completing tasks, fixing bugs, or adding files to keep TODO, CHANGELOG, and CODEBASE files synchronized.
/plugin marketplace add unclecode/claude-code-tools/plugin install unclecode-cc-toolkit@unclecode-toolsUpdate project files after making changes.
$ARGUMENTS
Run after making code changes to keep project documentation in sync. Updates:
Read .context/project/INDEX.md to get active subproject.
Query should describe what was done:
If no query, ask: "What changes did you make? (tasks completed, files added, bugs fixed)"
Based on query, identify which files need updates:
| Query Pattern | Files to Update |
|---|---|
| "completed T###" | TODO.md, CHANGELOG.md |
| "added/created file" | CODEBASE.md, CHANGELOG.md |
| "fixed bug" | CHANGELOG.md, possibly LESSONS.md |
| "changed approach" | CHANGELOG.md, possibly STATUS.md |
| "working on T###" | TODO.md (mark in-progress) |
Ask for any missing info:
Update files in this order:
Show summary:
## Updated Project Docs
**TODO.md**: Marked T010, T011 as completed
**CODEBASE.md**: Added webhook/llm_service.py
**CHANGELOG.md**: Added entry for LLM service implementation
Ready to commit? Run: git add . && git commit
After confirming updates, automatically check for cleanup:
/pp-clean for patterns)## Cleanup Check
Found files to clean:
- DELETE: scratch_test.md, debug_output.md
- ARCHIVE: draft_notes.md
Run cleanup? (yes/no/skip)
/pp-clean logic/pp-clean later to tidy up"This keeps project clean after each update cycle.
# After completing tasks
/pp-update completed T010 and T011, added llm_service.py
# After fixing a bug
/pp-update fixed the referral data extraction bug
# After changing approach
/pp-update changed booking flow to conversational style
# General update (will ask questions)
/pp-update