Update feature context and tasks before compaction
Updates existing feature context files before compaction or breaks. Preserves progress, marks completed tasks, and documents next steps to maintain continuity.
/plugin marketplace add Shavakan/claude-marketplace/plugin install shavakan-commands@shavakanUpdate existing feature context files (context.md, tasks.md) to preserve current state before compaction or break point.
$ARGUMENTS
Update existing feature context files to preserve current state. Add recent progress and decisions to context.md, mark completed tasks in tasks.md, document next steps for continuation.
Use when:
Find existing feature directory in features/[task-name]/. If multiple exist or none found, ask user which feature to update.
Create timestamped backups before modifying:
context.md.backup-[timestamp]tasks.md.backup-[timestamp]Gate: Feature directory located and backups created successfully.
Present what will be updated:
Update feature context files?
□ Update both - context.md + tasks.md
□ Context only - Add progress and decisions
□ Tasks only - Mark completed tasks
□ Review first - Show current state before updating
□ Cancel
Gate: User must confirm which files to update.
For context.md:
For tasks.md:
- [ ] to - [x])Include specific file references and actionable next steps.
Gate: All updates applied successfully with no syntax errors.
Verify updates meet quality standards:
If validation passes, remove backup files. If validation fails, restore from backups.
Report what was updated: files modified, completed tasks count, next steps documented
If any step fails after backups created, restore original files from backups and report error.
/shavakan-commands:docs-save-context - Save context (works without existing files)/shavakan-commands:docs-feature-plan - Create new feature plan from scratch