flow

GitHub

统一开发生命周期入口,根据仓库状态自动路由至项目或临时模式。支持意图识别、并行Agent协作及运行时上下文检测,覆盖从构思到监控的全流程。

claude-ops/skills/flow/SKILL.md Lifecycle-Innovations-Limited/claude-ops

Trigger Scenarios

用户询问当前开发阶段或需要查看生命周期地图 用户发起 ideate、build、review、deploy 等具体开发任务

Install

npx skills add Lifecycle-Innovations-Limited/claude-ops --skill flow -g -y
More Options

Non-standard path

npx skills add https://github.com/Lifecycle-Innovations-Limited/claude-ops/tree/main/claude-ops/skills/flow -g -y

Use without installing

npx skills use Lifecycle-Innovations-Limited/claude-ops@flow

指定 Agent (Claude Code)

npx skills add Lifecycle-Innovations-Limited/claude-ops --skill flow -a claude-code -g -y

安装 repo 全部 skill

npx skills add Lifecycle-Innovations-Limited/claude-ops --all -g -y

预览 repo 内 skill

npx skills add Lifecycle-Innovations-Limited/claude-ops --list

SKILL.md

Frontmatter
{
    "name": "flow",
    "effort": "medium",
    "maxTurns": 20,
    "description": "ONE entrypoint for the whole dev lifecycle — ideate, spec, plan, design, build, review, test, ship, deploy, monitor, retro. Routes to the single canonical command per stage (gstack \/ GSD \/ claude-ops) and picks project-mode (GSD phase machine) vs ad-hoc-mode (gstack stateless) from repo `.planning\/` state. Bare `\/flow` prints the lifecycle map + your current \"you are here\" position.",
    "allowed-tools": [
        "Bash",
        "Read",
        "Grep",
        "Glob",
        "Skill",
        "Agent",
        "TeamCreate",
        "SendMessage"
    ],
    "argument-hint": "[stage|intent] [args]"
}

Agent Teams support

If CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 is set, use Agent Teams when a lifecycle stage fans out into parallel, coordinated work (e.g. build + test + review running together, or a multi-repo ship). This enables:

  • Stage agents share context mid-flight (the test agent surfaces a regression → the build agent pivots before review starts)
  • You can steer priorities in real time ("land the API change first, then docs")
  • Agents report progress as each stage completes, so you sequence the merge

Team setup (only when the flag is enabled, and only for genuinely parallel stages):

TeamCreate("flow-lifecycle")
Agent(team_name="flow-lifecycle", name="stage-build", ...)
Agent(team_name="flow-lifecycle", name="stage-test", ...)

Steer with SendMessage / broadcast; share work via TaskCreate/TaskUpdate.

If the flag is NOT set, fall back to standard fire-and-forget subagents (the default), or just route the stage to its single canonical command inline.

Runtime Context

Before routing, compute where the user is on the lifecycle:

"${CLAUDE_PLUGIN_ROOT:-$HOME/Projects/claude-ops/claude-ops}/bin/flow-state"

This prints: mode (PROJECT / AD-HOC), current .planning/ phase (if any), open PRs, and deploy state — the "you are here" marker. Read it first so mode-sensitive routes (build / ship / review) resolve correctly.

The canonical map lives in FLOW.md (same dir). Read it when you need the full per-stage ownership table; the dispatch table below is the routing copy.


FLOW — One Lifecycle Entrypoint

The one rule: pick the abstraction level from repo state, then delegate to the canonical tool.

  • PROJECT-MODE (git root has .planning/): drive the GSD phase state machine; GSD phases call gstack/ops tools as sub-steps.
  • AD-HOC-MODE (no .planning/): run the gstack stateless lifecycle.
  • OPS (/ops:*): always available in either mode.

Route $ARGUMENTS (first token = intent) using this table:

Intent keywords Resolves to
(empty), map, here, where print map (Read FLOW.md) + bin/flow-state output. Stop — do not delegate.
ideate, brainstorm, office-hours /office-hours
hard-truths, yolo /ops:ops-yolo
spec, specify, scope, issue /spec $REST
plan, roadmap, phase-plan projectgsd-plan-phase; ad-hoc/autoplan
ultraplan, deep-plan gsd-ultraplan-phase
design, ui, mockup, html /design-consultation $REST
build, execute, implement, code projectgsd-execute-phase; multi-projectgsd-master-orchestrator; ad-hoc → direct edits in an isolated worktree
feature-dev, fd, feature, architect-feature /feature-dev $REST (overlay — optional structured pipeline before/alongside build; does not replace GSD execute)
review, code-review, cr /reviewproject also runs gsd-code-review
security, cso, sec-review /cso
test, qa /qa $RESTproject also runs gsd-verify-work
ios-qa, ios-test /ios-qa
ship, land projectgsd-ship; ad-hoc single-repo/ship; multi-repo salvage/ops:ops-merge
deploy, release, rollout /ops:ops-deploy then /canary
canary /canary
monitor, fires, incidents /ops:ops-fires
status, health /ops:ops-status
retro, reflect /retro
learn /learn
ops, inbox, comms, marketing, finops, voice, home, daemon /ops:ops $ARGUMENTS (hand the whole arg string to the ops sub-router)
projects, portfolio /ops:ops-projects

Routing notes

  • $REST = $ARGUMENTS with the leading intent token removed.
  • Mode resolution: use the MODE= line from flow-state. PROJECT when the git root has .planning/; AD-HOC otherwise. "multi-project" = the user named >1 repo/project or asked for portfolio-wide work.
  • Delegation only. This skill never does the work itself — it invokes the canonical command via the Skill tool (or prints the route if the target is a personal/plugin slash-command the model should call next). After routing, the target skill's own ## CLI/API Reference governs execution.
  • Ambiguity: if intent spans two stages, prefer the earliest unfulfilled stage for the current flow-state position.
  • ops passthrough: for any ops* intent, forward the entire $ARGUMENTS to /ops:ops — it has its own sub-router; do not pre-parse it.

Bare /flow

If $ARGUMENTS is empty: Read FLOW.md, then run bin/flow-state, and present the lifecycle map with the current position highlighted. Offer the next canonical stage as the suggested action. Do not auto-advance.

CLI/API Reference

Router only — no direct tool calls. bin/flow-state is the sole helper (detects mode + position). All execution is delegated to the canonical target skill after routing.

Version History

  • 64bad13 Current 2026-08-12 08:59

Same Skill Collection

claude-ops/skills/boss/SKILL.md
claude-ops/skills/ledger/SKILL.md
claude-ops/skills/ops-accounts/SKILL.md
claude-ops/skills/ops-ar/SKILL.md
claude-ops/skills/ops-aws-audit/SKILL.md
claude-ops/skills/ops-comms/SKILL.md
claude-ops/skills/ops-competitors/SKILL.md
claude-ops/skills/ops-credentials/SKILL.md
claude-ops/skills/ops-daemon/SKILL.md
claude-ops/skills/ops-dash/SKILL.md
claude-ops/skills/ops-deploy-fix/SKILL.md
claude-ops/skills/ops-deploy/SKILL.md
claude-ops/skills/ops-desktop/SKILL.md
claude-ops/skills/ops-doctor/SKILL.md
claude-ops/skills/ops-ecom/SKILL.md
claude-ops/skills/ops-feature-dev/SKILL.md
claude-ops/skills/ops-fires/SKILL.md
claude-ops/skills/ops-fleet/SKILL.md
claude-ops/skills/ops-go/SKILL.md
claude-ops/skills/ops-gtm/SKILL.md
claude-ops/skills/ops-home/SKILL.md
claude-ops/skills/ops-inbox/SKILL.md
claude-ops/skills/ops-integrate/SKILL.md
claude-ops/skills/ops-leadgen/SKILL.md
claude-ops/skills/ops-linear/SKILL.md
claude-ops/skills/ops-mac/SKILL.md
claude-ops/skills/ops-marketing/SKILL.md
claude-ops/skills/ops-mcp/SKILL.md
claude-ops/skills/ops-merge/SKILL.md
claude-ops/skills/ops-monitor/SKILL.md
claude-ops/skills/ops-next/SKILL.md
claude-ops/skills/ops-orchestrate/SKILL.md
claude-ops/skills/ops-package/SKILL.md
claude-ops/skills/ops-pocket/SKILL.md
claude-ops/skills/ops-projects/SKILL.md
claude-ops/skills/ops-recap/SKILL.md
claude-ops/skills/ops-release/SKILL.md
claude-ops/skills/ops-resume/SKILL.md
claude-ops/skills/ops-revenue/SKILL.md
claude-ops/skills/ops-rotate-setup/SKILL.md
claude-ops/skills/ops-rotate/SKILL.md
claude-ops/skills/ops-secret-sync/SKILL.md
claude-ops/skills/ops-settings/SKILL.md
claude-ops/skills/ops-ship/SKILL.md
claude-ops/skills/ops-speedup/SKILL.md
claude-ops/skills/ops-status/SKILL.md
claude-ops/skills/ops-triage/SKILL.md
claude-ops/skills/ops-unifi/SKILL.md
claude-ops/skills/ops-update/SKILL.md

Metadata

Files
0
Version
2dbf8cb
Hash
a42ae9ed
Indexed
2026-08-12 08:59

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-12 23:01
浙ICP备14020137号-1 $방문자$