flow-next
Scannednpx machina-cli add skill gmickel/gmickel-claude-marketplace/flow-next --openclawFlow-Next Task Management
Quick task operations in .flow/. For planning features use /flow-next:plan, for executing use /flow-next:work.
Setup
CRITICAL: flowctl is BUNDLED — NOT installed globally. which flowctl will fail (expected). Always use:
FLOWCTL="${DROID_PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT}}/scripts/flowctl"
Then run commands with $FLOWCTL <command>.
Discover all commands/options:
$FLOWCTL --help
$FLOWCTL <command> --help # e.g., $FLOWCTL task --help
Quick Reference
# Check if .flow exists
$FLOWCTL detect --json
# Initialize (if needed)
$FLOWCTL init --json
# List everything (epics + tasks grouped)
$FLOWCTL list --json
# List all epics
$FLOWCTL epics --json
# List all tasks (or filter by epic/status)
$FLOWCTL tasks --json
$FLOWCTL tasks --epic fn-1-add-oauth --json
$FLOWCTL tasks --status todo --json
# View epic with all tasks
$FLOWCTL show fn-1-add-oauth --json
$FLOWCTL cat fn-1-add-oauth # Spec markdown
# View single task
$FLOWCTL show fn-1-add-oauth.2 --json
$FLOWCTL cat fn-1-add-oauth.2 # Task spec
# What's ready to work on?
$FLOWCTL ready --epic fn-1-add-oauth --json
# Create task under existing epic
$FLOWCTL task create --epic fn-1-add-oauth --title "Fix bug X" --json
# Set task description and acceptance (combined, fewer writes)
$FLOWCTL task set-spec fn-1-add-oauth.2 --description /tmp/desc.md --acceptance /tmp/accept.md --json
# Or use stdin with heredoc (no temp file):
$FLOWCTL task set-description fn-1-add-oauth.2 --file - --json <<'EOF'
Description here
EOF
# Start working on task
$FLOWCTL start fn-1-add-oauth.2 --json
# Mark task done
echo "What was done" > /tmp/summary.md
echo '{"commits":["abc123"],"tests":["npm test"],"prs":[]}' > /tmp/evidence.json
$FLOWCTL done fn-1-add-oauth.2 --summary-file /tmp/summary.md --evidence-json /tmp/evidence.json --json
# Validate structure
$FLOWCTL validate --epic fn-1-add-oauth --json
$FLOWCTL validate --all --json
Common Patterns
"Add a task for X"
-
Find relevant epic:
# List all epics $FLOWCTL epics --json # Or show a specific epic to check its scope $FLOWCTL show fn-1 --json -
Create task:
$FLOWCTL task create --epic fn-N --title "Short title" --json -
Add description + acceptance (combined):
cat > /tmp/desc.md << 'EOF' **Bug/Feature:** Brief description **Details:** - Point 1 - Point 2 EOF cat > /tmp/accept.md << 'EOF' - [ ] Criterion 1 - [ ] Criterion 2 EOF $FLOWCTL task set-spec fn-N.M --description /tmp/desc.md --acceptance /tmp/accept.md --json
"What tasks are there?"
# All epics
$FLOWCTL epics --json
# All tasks
$FLOWCTL tasks --json
# Tasks for specific epic
$FLOWCTL tasks --epic fn-1-add-oauth --json
# Ready tasks for an epic
$FLOWCTL ready --epic fn-1-add-oauth --json
"Show me task X"
$FLOWCTL show fn-1-add-oauth.2 --json # Metadata
$FLOWCTL cat fn-1-add-oauth.2 # Full spec
(Legacy fn-1.2 / fn-1-xxx.2 still works.)
Create new epic (rare - usually via /flow-next:plan)
$FLOWCTL epic create --title "Epic title" --json
# Returns: {"success": true, "id": "fn-N-epic-title", ...}
ID Format
- Epic:
fn-N-slugwhere slug is derived from title (e.g.,fn-1-add-oauth,fn-2-fix-login-bug) - Task:
fn-N-slug.M(e.g.,fn-1-add-oauth.1,fn-2-fix-login-bug.2)
Legacy formats fn-N and fn-N-xxx (random 3-char suffix) are still supported.
Notes
- Run
$FLOWCTL --helpto discover all commands and options - All writes go through flowctl (don't edit JSON/MD files directly)
--jsonflag gives machine-readable output- For complex planning/execution, use
/flow-next:planand/flow-next:work
Source
git clone https://github.com/gmickel/gmickel-claude-marketplace/blob/main/plugins/flow-next/skills/flow-next/SKILL.mdView on GitHub Overview
Flow-Next Task Management provides quick, command-based operations for .flow/ epics and tasks. It centralizes creation, status checks, and updates through a bundled flowctl binary, helping teams track work from the terminal. Note that planning and execution features live under /flow-next:plan and /flow-next:work.
How This Skill Works
The skill uses the bundled flowctl to interact with a .flow/ workspace. Users run commands like flowctl detect, init, list, epics, tasks, show, ready, task create, set-spec, start, and done; outputs are JSON when using --json and the command chain updates the epic and task state accordingly.
When to Use It
- You want to inspect epics and tasks across the .flow/ workspace
- You need to create a new task under an existing epic
- You want to view an epic with all its tasks (or a specific epic's tasks)
- You want to identify tasks ready to start for a given epic
- You need to start or complete a task and summarize the work with a done update
Quick Start
- Step 1: Ensure flowctl is the bundled binary via FLOWCTL and run FLOWCTL --help
- Step 2: Create or list items, e.g., $FLOWCTL epics --json or $FLOWCTL task create --epic fn-1-add-oauth --title 'Fix bug X' --json
- Step 3: Update specs and move tasks forward with $FLOWCTL task set-spec ... --json, then start or done as needed
Best Practices
- Use the bundled FLOWCTL path and never edit files directly
- Always identify epics by fn-N-slug and tasks by fn-N-slug.M
- Prefer --json for machine-friendly outputs
- When updating a task, set description and acceptance together with set-spec
- Validate structure after changes with flowctl validate or --json
Example Use Cases
- List all epics and tasks to understand current scope
- Create a new task under epic fn-1-add-oauth with a clear title
- Update a task's description and acceptance in one step using set-spec
- Start a task fn-1-add-oauth.2, then mark it done with a summary and evidence
- View what is ready to work on for epic fn-1-add-oauth using ready --epic