flow-next
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "flow-next" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c5a32d6e45def9d79d0ea417ece3a721d5735329c77247190cfc3cec9b639578. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/run-spec-first-agentic-engineering-workflows-with-flow-next before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
flow-next: Transforms rough coding intentions into durable specifications, task graphs, workflow for new contexts, adversarial reviews, PR content, and evidence receipts.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Manage .flow/ tasks and specs. Use for show or list tasks, task status, what is ready, show fn-N. NOT for planning or executing (use the plan and work skills).
- Testing
- Not tested
Browse files
Frontmatter
name: flow-next
description: Manage .flow/ tasks and specs. Use for show or list tasks, task status, what is ready, show fn-N. NOT for planning or executing (use the plan and work skills).Flow-Next Task Management
Quick task operations in .flow/. For planning features use /flow-next:plan, for executing use /flow-next:work.
Preamble
CRITICAL: flowctl is BUNDLED — NOT installed globally. which flowctl will fail (expected). Define once; subsequent blocks use $FLOWCTL:
FLOWCTL="${CODEX_HOME:-$HOME/.codex}/scripts/flowctl"
[ -x "$FLOWCTL" ] || FLOWCTL="<plugin-root>/scripts/flowctl" # <plugin-root> = the directory two levels above this skill's SKILL.md file (the harness gave you that file's absolute path when the skill loaded); substitute it literally
[ -x "$FLOWCTL" ] || FLOWCTL=".flow/bin/flowctl"
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 (specs + tasks grouped)
$FLOWCTL list --json
# List all specs
$FLOWCTL specs --json
# List all tasks (or filter by spec/status)
$FLOWCTL tasks --json
$FLOWCTL tasks --spec fn-1-add-oauth --json
$FLOWCTL tasks --status todo --json
# View spec 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 --spec fn-1-add-oauth --json
# Create task under existing spec
$FLOWCTL task create --spec fn-1-add-oauth --title "Fix bug X" --json
# Set task description and acceptance (combined, fewer writes; unique per-task temp paths)
$FLOWCTL task set-spec fn-1-add-oauth.2 --description "${TMPDIR:-/tmp}/flow-desc-fn-1-add-oauth.2.md" --acceptance "${TMPDIR:-/tmp}/flow-accept-fn-1-add-oauth.2.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 (unique per-task temp paths)
echo "What was done" > "${TMPDIR:-/tmp}/flow-summary-fn-1-add-oauth.2.md"
echo '{"commits":["abc123"],"tests":["npm test"],"prs":[]}' > "${TMPDIR:-/tmp}/flow-evidence-fn-1-add-oauth.2.json"
$FLOWCTL done fn-1-add-oauth.2 --summary-file "${TMPDIR:-/tmp}/flow-summary-fn-1-add-oauth.2.md" --evidence-json "${TMPDIR:-/tmp}/flow-evidence-fn-1-add-oauth.2.json" --json
# Validate structure (one spec; repo-wide through a counts-and-errors projection)
$FLOWCTL validate --spec fn-1-add-oauth --json
$FLOWCTL validate --all --json | jq '{valid, total_specs, total_tasks, total_errors, total_warnings, root_errors, failing: [.specs[] | select(.errors | length > 0) | {spec, errors}]}'
Common Patterns
"Add a task for X"
-
Find relevant spec:
# List all specs $FLOWCTL specs --json # Or show a specific spec to check its scope $FLOWCTL show fn-1 --json -
Create task:
$FLOWCTL task create --spec fn-N --title "Short title" --json -
Add description + acceptance (combined):
# Unique per-task temp paths — written + consumed in this one block cat > "${TMPDIR:-/tmp}/flow-desc-fn-N.M.md" << 'EOF' **Bug/Feature:** Brief description **Details:** - Point 1 - Point 2 EOF cat > "${TMPDIR:-/tmp}/flow-accept-fn-N.M.md" << 'EOF' - [ ] Criterion 1 - [ ] Criterion 2 EOF $FLOWCTL task set-spec fn-N.M --description "${TMPDIR:-/tmp}/flow-desc-fn-N.M.md" --acceptance "${TMPDIR:-/tmp}/flow-accept-fn-N.M.md" --json
"What tasks are there?"
# All tasks, projected (add --spec fn-1-add-oauth for one spec)
$FLOWCTL tasks --json | jq -c '[.tasks[] | {id, title, status, spec}]'
# Ready tasks for a spec
$FLOWCTL ready --spec fn-1-add-oauth --json
"What's next?"
$FLOWCTL brief
brief is orientation only: it omits blocked and dependency-waiting tasks, so never answer a task listing from it.
"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 spec (rare - usually via /flow-next:plan)
$FLOWCTL spec create --title "Spec title" --json
# Returns: {"success": true, "id": "fn-N-spec-title", ...}
Close a spec as won't-do
$FLOWCTL spec close fn-1-add-oauth --retire superseded --by fn-2-sso --json
Pick the reason that is true: superseded (another spec replaced it), delivered-elsewhere (it shipped
under another spec or pull request) or moot (it is no longer needed, including a decision not to build
it). Name each successor with --by. Its never-run tasks read retired, not done.
Before closing any spec: read references/declined.md; it decides whether the
close earns a .flow/memory/declined/ file.
ID Format
- Spec:
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 - Every write goes through a flowctl subcommand, except the
.flow/memory/declined/*.mdfile above, which has no flowctl verb. A session that edits.flow/JSON or task markdown by hand has broken this. - Every read comes from
.flow/state, via--json(detect,list,specs,tasks,show,ready) orcatfor markdown. An answer assembled from files skimmed by hand has broken this. - A task marked complete is closed with
flowctl donecarrying both--summary-fileand--evidence-json. A bare status flip has broken this. - Requests that need real planning or execution are handed off, to
$flow-next-planand$flow-next-work. Improvising them here has broken this.
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 .flow/ 任务和规范的高效管理能力,适用于开发流程中的任务跟踪与状态同步
- 明确区分管理、规划、执行职责,引导用户至正确 Skill,避免功能混淆
Highlights
- 触发描述清晰,明确限定为任务管理(非规划或执行),边界精准
- 覆盖多种操作场景(查看、创建、更新状态),变体表达完整
Areas to improve
-
description 位置不规范 Reported severity: Minor
顶层 frontmatter 中 description 为占位内容,实质描述位于 skill_body 内部
Recommendation: 将完整 description 移至顶层 frontmatter,保持规范一致性
Highlights
- 文档结构清晰,分快速参考、常见模式、ID 格式等章节,逻辑连贯
- 提供大量可复制粘贴的命令示例,降低使用门槛
Highlights
- 所有操作基于 bundled flowctl 工具,来源明确且路径 fallback 机制健全
- 关键操作(如 done)要求提供 summary 和 evidence 文件,确保操作可追溯
- 强调读写必须通过 flowctl 子命令,防止手动编辑破坏状态一致性
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 43, 47, 48, 51, 52
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.