Skills.MD
# Flow-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:
```bash
FLOWCTL="${CLAUDE_PLUGIN_ROOT}/scripts/flowctl"
```
Then run commands with `$FLOWCTL <command>`.
**Discover all commands/options:**
```bash
$FLOWCTL --help
$FLOWCTL <command> --help # e.g., $FLOWCTL task --help
```
## Quick Reference
```bash
# 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 --json
$FLOWCTL tasks --status todo --json
# View epic with all tasks
$FLOWCTL show fn-1 --json
$FLOWCTL cat fn-1 # Spec markdown
# View single task
$FLOWCTL show fn-1.2 --json
$FLOWCTL cat fn-1.2 # Task spec
# What's ready to work on?
$FLOWCTL ready --epic fn-1 --json
# Create task under existing epic
$FLOWCTL task create --epic fn-1 --title "Fix bug X" --json
# Set task description and acceptance (combined, fewer writes)
$FLOWCTL task set-spec fn-1.2 --description /tmp/desc.md --acceptance /tmp/accept.md --json
# Or use stdin with heredoc (no temp file):
$FLOWCTL task set-description fn-1.2 --file - --json <<'EOF'
Description here
EOF
# Start working on task
$FLOWCTL start fn-1.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.2 --summary-file /tmp/summary.md --evidence-json /tmp/evidence.json --json
# Validate structure
$FLOWCTL validate --epic fn-1 --json
$FLOWCTL validate --all --json
```
## Common Patterns
### "Add a task for X"
1. Find relevant epic:
```bash
# List all epics
$FLOWCTL epics --json
# Or show a specific epic to check its scope
$FLOWCTL show fn-1 --json
```
2. Create task:
```bash
$FLOWCTL task create --epic fn-N --title "Short title" --json
```
3. Add description + acceptance (combined):
```bash
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?"
```bash
# All epics
$FLOWCTL epics --json
# All tasks
$FLOWCTL tasks --json
# Tasks for specific epic
$FLOWCTL tasks --epic fn-1 --json
# Ready tasks for an epic
$FLOWCTL ready --epic fn-1 --json
```
### "Show me task X"
```bash
$FLOWCTL show fn-1.2 --json # Metadata
$FLOWCTL cat fn-1.2 # Full spec
```
### Create new epic (rare - usually via /flow-next:plan)
```bash
$FLOWCTL epic create --title "Epic title" --json
# Returns: {"success": true, "id": "fn-N", ...}
```
## ID Format
- Epic: `fn-N-xxx` (e.g., `fn-1-abc`, `fn-42-z9k`) or legacy `fn-N`
- Task: `fn-N-xxx.M` (e.g., `fn-1-abc.1`, `fn-42-z9k.7`) or legacy `fn-N.M`
## Notes
- Run `$FLOWCTL --help` to discover all commands and options
- All writes go through flowctl (don't edit JSON/MD files directly)
- `--json` flag gives machine-readable output
- For complex planning/execution, use `/flow-next:plan` and `/flow-next:work`
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「flow-next」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次