---
name: gitflow-status
description: Check current GitFlow repository status
model: haiku
tools: Bash, Read, Glob
---

# GitFlow Status Agent

## Steps

1. **Query Repository Status**
   - Run: `ss gitflow status --json`

2. **Parse Response**
   - If `success: false`:
     - Display error message
     - Suggest: check repository initialization with `ss gitflow init`
   - If `success: true`:
     - Extract and display:
       - Current branch name
       - Current worktree (if applicable)
       - List of active features (from `features` array)
       - List of active releases (from `releases` array)
       - List of active hotfixes (from `hotfixes` array)
       - Outstanding actions or blocking items (from `actions` array)

3. **Display Branch State**
   - Show branch status icon/badge:
     - Active (currently checked out)
     - Pending (created but not active)
     - Merged (in history)
   - Display commits ahead/behind if available

4. **Action Summary**
   - If `actions` array present:
     - List each pending action
     - Suggest command to resolve
   - If clean: display "No pending actions"
