Claude
Skills
Sign in
โ† Back

flow-completer

Included with Lifetime
$97 forever

Mark tasks and phases complete after verification. Use when finishing tasks, closing phases, or marking work done. Ensures all work verified before completion.

General

What this skill does


# Flow Completer

Mark tasks and phases complete after verifying all work is done. This skill enforces completion gates to ensure nothing is forgotten before moving forward.

## When to Use This Skill

Activate when the user wants to finish work:
- "Finish this task"
- "Mark task complete"
- "Done with this task"
- "Complete the task"
- "Finish this phase"
- "Mark phase complete"
- "Done with this phase"
- "Close the task"
- "Close the phase"

## Completion Philosophy

**Flow's Core Principle**: Verify before closing. Every completion requires verification that all work is done, tested, and documented.

**Key Gates**:
- **Task Completion Gate**: All iterations โœ… COMPLETE (or โŒ CANCELLED/๐Ÿ”ฎ DEFERRED)
- **Phase Completion Gate**: All tasks โœ… COMPLETE (or โŒ CANCELLED)
- **Documentation Gate**: All changes documented, notes updated

**Completion Pattern**: Verify โ†’ Update Status โ†’ Advance Pointer โ†’ Report

## Task Completion Workflow

### Step 1: Read Task File

Before marking task complete, read the task file to understand current state:

**READ**: `.flow/phase-N/task-M.md`

**Extract**:
- Task name and status
- All iterations (if task has iterations)
- All action items (if standalone task)
- Current work status

### Step 2: Verify Task Completion

**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**:
- [ ] Implementation notes updated (if task had implementation)
- [ ] Files modified documented
- [ ] No unresolved blockers mentioned
- [ ] Verification section filled out

### Step 3: Mark Task Complete

If verification passes:

1. **Update task file**:
   ```markdown
   # Task N: Name

   **Status**: โœ… COMPLETE (2025-MM-DD)
   ```

2. **Update DASHBOARD.md**:
   - Find task in "Progress Overview"
   - Change marker: `โณ Task N: Name` โ†’ `โœ… Task N: Name`
   - Update phase completion percentage
   - Advance "Current Work" pointer to next pending task

3. **Report 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]
   ```

### Step 4: Handle Incomplete Work

If verification fails:

1. **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.
   ```

2. **Suggest actions**:
   - If iterations pending: "Use `/flow-next-iteration` to continue work"
   - If action items unchecked: "Complete remaining action items"
   - If user wants to defer: "Use `/flow-iteration-add` to mark iteration ๐Ÿ”ฎ DEFERRED"

## Phase Completion Workflow

### Step 1: List All Tasks in Phase

**READ**: `.flow/phase-N/` directory

**Extract**:
- All task files in phase directory
- Count total tasks
- Determine status of each task

### Step 2: Verify Phase Completion

**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**:
- [ ] Phase goals achieved (check DASHBOARD.md phase description)
- [ ] All deliverables complete
- [ ] No pending work in any task

### Step 3: Mark Phase Complete

If verification passes:

1. **Update DASHBOARD.md**:
   - Find phase in "Progress Overview"
   - Change header: `### Phase N: Name` โ†’ `### Phase N: Name โœ…`
   - Update phase status line
   - Advance "Current Work" to next phase

2. **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! ๐ŸŽ‰
   ```

### Step 4: Handle Incomplete Work

If verification fails:

1. **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.
   ```

2. **Suggest actions**:
   - "Use `/flow-task-start` to continue Task N"
   - "Use `/flow-task-complete` to finish Task N"
   - If scope changed: "Consider marking Task N as โŒ CANCELLED"

## Completion Slash Commands

### `/flow-task-complete`

**Use when**: All iterations/action items done for current task

**Prerequisites**:
- All iterations โœ… COMPLETE (or โŒ/๐Ÿ”ฎ)
- All action items checked off (if standalone)
- Documentation updated

**Effect**:
- Marks task โœ… COMPLETE with date
- Updates DASHBOARD.md progress
- Advances current work pointer

### `/flow-phase-complete`

**Use when**: All tasks done in current phase

**Prerequisites**:
- All tasks โœ… COMPLETE (or โŒ CANCELLED)
- Phase goals achieved

**Effect**:
- Marks phase โœ… COMPLETE
- Updates DASHBOARD.md
- Advances to next phase or project end

## Edge Cases

### Cancelled or Deferred Work

**Cancelled Iterations** (โŒ):
- Not blocking for task completion
- Document why cancelled in iteration notes
- Examples: Scope changed, not needed, replaced by better approach

**Deferred Iterations** (๐Ÿ”ฎ):
- Not blocking for task completion
- Document why deferred (V2, future version)
- Examples: Nice-to-have, optimization, future enhancement

**Cancelled Tasks** (โŒ):
- Not blocking for phase completion
- Document why cancelled in task notes
- Examples: Duplicate work, scope change, no longer needed

### Partial Completion

**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.
```

### Blocked Work

**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
```

## Completion Verification Patterns

### Pattern 1: Task with All Iterations Complete

```
โœ… 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

### Pattern 2: Task with Mixed Status

```
โœ… 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
Files: 1
Size: 13.6 KB
Complexity: 17/100
Category: General

Related in General