Mark tasks and phases complete after verification. Use when finishing tasks, closing phases, or marking work done. Ensures all work verified before completion.
Mark tasks and phases complete after verifying all work is done. This skill enforces completion gates to ensure nothing is forgotten before moving forward.
Activate when the user wants to finish work:
Flow's Core Principle: Verify before closing. Every completion requires verification that all work is done, tested, and documented.
Key Gates:
Completion Pattern: Verify โ Update Status โ Advance Pointer โ Report
Before marking task complete, read the task file to understand current state:
READ: .flow/phase-N/task-M.md
Extract:
Verification Checklist:
IF task has iterations:
FOR EACH iteration:
IF status = โณ PENDING or ๐ง IN PROGRESS:
โ FAIL: "Iteration N: [Name] is not complete"
IF status = โ CANCELLED or ๐ฎ DEFERRED:
โ
PASS (acceptable, not blocking)
IF status = โ
COMPLETE:
โ
PASS
IF ALL iterations are โ
/โ/๐ฎ:
โ
PASS task verification
ELSE IF standalone task:
IF any action items unchecked `- [ ]`:
โ FAIL: "X action items incomplete"
IF all action items checked `- [x]`:
โ
PASS task verification
Additional Checks:
If verification passes:
Update task file:
# Task N: Name
**Status**: โ
COMPLETE (2025-MM-DD)
Update DASHBOARD.md:
โณ Task N: Name โ โ
Task N: NameReport to user:
โ
Task N: [Name] marked complete!
Completed:
- [X] iterations complete (or Y cancelled/deferred)
- All action items verified
- Documentation updated
Next: [Next task or phase status]
If verification fails:
Report incomplete items:
โ Cannot mark task complete. Incomplete work found:
Iterations:
- โณ Iteration 2: [Name] - Status: PENDING
- ๐ง Iteration 3: [Name] - Status: IN PROGRESS
OR
Action Items:
- [ ] 3 unchecked action items
Complete these first, then use `/flow-task-complete` again.
Suggest actions:
/flow-next-iteration to continue work"/flow-iteration-add to mark iteration ๐ฎ DEFERRED"READ: .flow/phase-N/ directory
Extract:
Verification Checklist:
FOR EACH task in phase:
IF task status = โณ PENDING or ๐ง IN PROGRESS:
โ FAIL: "Task N: [Name] is not complete"
IF task status = โ CANCELLED:
โ
PASS (acceptable, not blocking)
IF task status = โ
COMPLETE:
โ
PASS
IF ALL tasks are โ
/โ:
โ
PASS phase verification
Additional Checks:
If verification passes:
Update DASHBOARD.md:
### Phase N: Name โ ### Phase N: Name โ
Report to user:
โ
Phase N: [Name] marked complete!
Completed:
- [X] tasks complete (Y cancelled)
- All phase goals achieved
Next Phase: Phase [N+1]: [Name]
OR
Project complete! ๐
If verification fails:
Report incomplete tasks:
โ Cannot mark phase complete. Incomplete tasks found:
Tasks:
- โณ Task 2: [Name] - Status: PENDING
- ๐ง Task 3: [Name] - Status: IN PROGRESS
Complete these first, or cancel if scope changed.
Suggest actions:
/flow-task-start to continue Task N"/flow-task-complete to finish Task N"/flow-task-completeUse when: All iterations/action items done for current task
Prerequisites:
Effect:
/flow-phase-completeUse when: All tasks done in current phase
Prerequisites:
Effect:
Cancelled Iterations (โ):
Deferred Iterations (๐ฎ):
Cancelled Tasks (โ):
Scenario: Task has 5 iterations, 3 complete, 2 deferred
โ
Iteration 1: Basic Implementation - COMPLETE
โ
Iteration 2: Core Features - COMPLETE
โ
Iteration 3: Testing - COMPLETE
๐ฎ Iteration 4: Advanced Features - DEFERRED (V2)
๐ฎ Iteration 5: Optimizations - DEFERRED (V2)
Action: Task can be marked complete! Deferred work doesn't block.
Report:
โ
Task can be marked complete!
Completed: 3/5 iterations
Deferred to V2: 2 iterations (documented)
This is valid - deferred work doesn't block completion.
Scenario: Task has iteration marked โ BLOCKED
โ
Iteration 1: Setup - COMPLETE
โ Iteration 2: Implementation - BLOCKED (external dependency unavailable)
โณ Iteration 3: Testing - PENDING
Action: Cannot mark task complete - blocked iteration needs resolution
Report:
โ Cannot mark task complete. Found blocked work:
Iteration 2: Implementation - โ BLOCKED
Blocker: External dependency unavailable
Resolution options:
1. Unblock iteration and complete it
2. Mark iteration โ CANCELLED if no longer needed
3. Mark iteration ๐ฎ DEFERRED if can be done later
โ
Iteration 1: Skeleton - COMPLETE (2025-10-15)
โ
Iteration 2: Veins - COMPLETE (2025-10-18)
โ
Iteration 3: Flesh - COMPLETE (2025-10-22)
Verification: โ PASS - All iterations complete
Action: Mark task complete
โ
Iteration 1: Basic Feature - COMPLETE (2025-10-15)
โ Iteration 2: Advanced Feature - CANCELLED (scope change)
๐ฎ Iteration 3: Optimization - DEFERRED (V2)
Verification: โ PASS - No pending/in-progress iterations
Action: Mark task complete (cancelled and deferred are acceptable)
Action Items:
- [x] Create component
- [x] Add tests
- [x] Update documentation
- [x] Deploy to staging
Verification: โ PASS - All action items checked
Action: Mark task complete
### Phase 2: Core Features
- โ
Task 1: User Authentication - COMPLETE
- โ
Task 2: API Endpoints - COMPLETE
- โ Task 3: Admin Dashboard - CANCELLED (out of V1 scope)
- โ
Task 4: Error Handling - COMPLETE
Verification: โ PASS - No pending/in-progress tasks
Action: Mark phase complete
DO:
DON'T:
User: "Mark this task complete"
AI Process:
1. Read task file (task-2.md)
2. Find 3 iterations, all marked โ
COMPLETE
3. Verify documentation updated
4. All checks pass
AI Response:
"โ
Task 2: API Integration marked complete!
Verification Results:
โ
All 3 iterations complete:
- Iteration 1: Basic Setup (2025-10-15)
- Iteration 2: Error Handling (2025-10-18)
- Iteration 3: Testing (2025-10-22)
โ
Implementation notes updated
โ
12 files modified documented
โ
Tests passing
Updated DASHBOARD.md - Phase 2 now 50% complete (2/4 tasks done)
Next: Task 3: Database Integration (โณ PENDING)"
User: "Finish this task"
AI Process:
1. Read task file (task-3.md)
2. Find 4 iterations: 2 complete, 1 in progress, 1 pending
3. Verification FAILS
AI Response:
"โ Cannot mark task complete. Found incomplete work:
Iterations Status:
โ
Iteration 1: Schema Design - COMPLETE
โ
Iteration 2: Migrations - COMPLETE
๐ง Iteration 3: Data Access Layer - IN PROGRESS (60% done)
โณ Iteration 4: Testing - PENDING
Complete Iteration 3 and 4 first, then use `/flow-task-complete`.
Current action items for Iteration 3:
- [x] Create User repository
- [x] Create Post repository
- [ ] Create Comment repository (โ CURRENT)
- [ ] Add transaction support
- [ ] Add error handling"
User: "Mark Phase 2 complete"
AI Process:
1. List all tasks in phase-2/ directory
2. Find 5 tasks: 4 complete, 1 cancelled
3. Verify phase goals achieved
4. All checks pass
AI Response:
"โ
Phase 2: Core Features marked complete!
Verification Results:
โ
All tasks done:
- Task 1: User Auth - COMPLETE
- Task 2: API Endpoints - COMPLETE
- Task 3: Data Layer - COMPLETE
- Task 4: Error Handling - COMPLETE
- Task 5: Admin Panel - CANCELLED (scope change, documented)
โ
Phase goals achieved:
- User authentication working
- API fully functional
- Data persistence implemented
- Error handling in place
Phase 2 Duration: 3 weeks (Oct 1 - Oct 22)
Updated DASHBOARD.md - Project now 66% complete (2/3 phases done)
Next Phase: Phase 3: Testing & Polish (โณ PENDING)"
User: "Complete this task"
AI Process:
1. Read task file (task-4.md)
2. Find 5 iterations: 3 complete, 2 deferred to V2
3. Verification PASSES (deferred is acceptable)
AI Response:
"โ
Task 4: Performance Optimization can be marked complete!
Verification Results:
โ
Core iterations complete (3/5):
- Iteration 1: Identify Bottlenecks - COMPLETE
- Iteration 2: Database Indexing - COMPLETE
- Iteration 3: Caching Layer - COMPLETE
๐ฎ Deferred to V2 (2/5):
- Iteration 4: Advanced Caching - DEFERRED (nice-to-have)
- Iteration 5: Load Balancing - DEFERRED (premature optimization)
This is valid! Deferred work doesn't block task completion.
Updated task status to โ
COMPLETE (2025-10-22)
Phase 3 now 75% complete (3/4 tasks done)
Next: Task 5: Documentation (โณ PENDING)"
Build Stage (flow-builder Skill):
/flow-implement-complete - Marks iteration completeComplete Stage (This Skill):
/flow-task-complete - Mark task done โ YOU ARE HERE/flow-phase-complete - Mark phase done โ YOU ARE HERENavigate Stage (flow-navigator Skill):
/flow-status - Check what's left before completing/flow-next - See next work after completing[ ] All iterations โ
COMPLETE (or โ/๐ฎ)
[ ] OR all action items checked (standalone task)
[ ] Implementation notes updated
[ ] Files modified documented
[ ] No unresolved blockers
[ ] Verification section complete
If ALL checked โ Use /flow-task-complete
If ANY unchecked โ Complete remaining work first
[ ] All tasks โ
COMPLETE (or โ CANCELLED)
[ ] Phase goals achieved
[ ] All deliverables done
[ ] No pending work in phase
If ALL checked โ Use /flow-phase-complete
If ANY unchecked โ Complete remaining tasks first