complete
/complete
Complete a task with full validation, documentation updates, reviews, and automatic merge to develop.
Usage
/complete careerbrain 002 # Complete specific issue
/complete careerbrain # Complete current/active issue
What It Does
- Validate PLAN completion and spec compliance
- Update all project documentation
- Create final commit with doc changes
- Run mandatory code review + security audit
- Merge to develop branch
- Clean up feature branch
GitFlow Pattern: feature/* → develop (automatic) | develop → main (requires PR)
Prerequisites
- All implementation complete (code written)
- Active issue with completed work
- PLAN.md exists with phases mostly complete
Execution Flow
1. Check PLAN.md Completion
✓ All phases complete (5/5)
or
✗ Incomplete phases:
- [ ] 1.3 - Implement session refresh
2. Spec Compliance Validation
Acceptance Scenario Coverage:
- Search tests matching each Given/When/Then scenario
- Create missing tests if needed
Success Metrics Verification:
- Check performance, coverage, accessibility
Out-of-Scope Enforcement:
- Scan for code that violates out-of-scope items
Agent Constraints Check:
- Verify no dependencies added (if constrained)
- Check no files outside scope modified
3. Update Spec Status Markers
If the TASK has an implements: field, update inline status markers in the spec:
# Before (in spaces/[project]/docs/specs/*.md)
- 🚧 User registration with email/password
# After
- ✅ User registration with email/password
This provides public visibility into what's implemented.
4. Update All Documentation
Scan and validate ALL docs in spaces/[project]/docs/:
- architecture-overview.md
- data-model.md
- api-overview.md
- README.md
5. Update CHANGELOG
MANDATORY: Add entries under [Unreleased] section.
Categories:
### Added- New features (TASKs)### Fixed- Bug fixes (BUGs)### Changed- Modifications### Security- Security updates
6. Final WORKLOG Entry
## YYYY-MM-DD HH:MM - COMPLETED
Issue ### complete and ready for merge.
Summary:
- [What was implemented]
- [What was deferred]
7. Update Status
Set issue frontmatter: status: complete
8. Create Final Commit
Stage and commit documentation changes.
9. Run Final Reviews
If not already done:
- Launch code-reviewer agent
- Launch security-auditor agent
- Block if CRITICAL issues
10. Merge to Develop
git checkout develop
git pull origin develop
git merge --no-ff feature/###-slug
git push origin develop
git branch -d feature/###-slug
11. Suggest Next Steps
Next actions:
1. Start next task: /implement project ### --full
2. View status: /project-status project
3. Merge to main (requires PR): gh pr create --base main --head develop
Documentation Checklist
Before merge, verify:
- PLAN.md - All phases checked off
- Linked SPEC - Updated to reflect what was built
- architecture-overview.md - Reflects changes
- ADRs - New decisions documented
- CHANGELOG.md - User-facing changes
- WORKLOG.md - Final summary
- README.md - Updated if API changed
Workflow
/issue → /plan → /implement → /commit → /complete
↓
Update docs + CHANGELOG
↓
Run reviews
↓
Merge to develop
More from taylorhuston/local-life-manager
daily-review
Complete daily journal review. Use at end of day or next morning to fill in journal sections, review highlights, and plan tomorrow. Triggers on "daily review", "end of day", "journal review", "what did I do today".
48weekly-review
Weekly review and planning session. Use at end of week or weekend to review progress, plan next week, and set priorities. Triggers on "weekly review", "plan my week", "what did I do this week", "Sunday planning".
25daily-journal
Daily journal management for the my-vault Obsidian vault. Use for morning routines, daily reviews, quick journal updates, checking yesterday's entry, or setting today's highlight. Triggers on "good morning", "daily review", "journal", "what did I do", "highlight".
23life-planning
Cross-repo life and project planning. Use when user wants to plan their week, prioritize projects, review progress across all areas, or make decisions about what to focus on. Triggers on "plan my week", "what should I work on", "prioritize", "weekly review", "life planning".
23flashcards
Generate spaced repetition flashcards from notes or topics. Use when user wants to create flashcards, make review cards, prepare for spaced repetition, or convert notes to quiz format. Triggers on "flashcards", "make cards", "spaced repetition", "review cards".
21video-summarize
Summarize a single YouTube video and create a note. Use when user shares a video URL or asks to summarize a specific video. Triggers on "summarize this video", "video summary", YouTube URLs.
17