一键导入
iflow
Smart dispatcher: detect where the focus issue stands and dispatch to /iflow-init, /iflow-plan, /iflow-start, or /iflow-close.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Smart dispatcher: detect where the focus issue stands and dispatch to /iflow-init, /iflow-plan, /iflow-start, or /iflow-close.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Plan a larger change as a staged epic: draft epic<N>_plan.md with stages of manageable issue specs. Draft-only — publishing to GitHub is a separate step.
Post-merge branch hygiene: switch to the default branch and delete merged local branches under one consolidated confirm. Never -D.
Front door: choose the next issue, create the issue branch, and run /iflow-init.
Read-only snapshot of where every issue stands, locally and on GitHub.
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
基于 SOC 职业分类
| name | iflow |
| description | Smart dispatcher: detect where the focus issue stands and dispatch to /iflow-init, /iflow-plan, /iflow-start, or /iflow-close. |
| disable-model-invocation | true |
| issue-flow-version | 0.4.2a4 |
/iflow)Follow this skill to run the right next step in the issue-flow lifecycle: it detects state and routes to /iflow-init, /iflow-plan, /iflow-start, or /iflow-close, forwarding trailing args verbatim.
Do not use this skill for /iflow-pick, /iflow-pause, /iflow-cleanup, /iflow-yolo, or /iflow-fix. Those are explicit-only commands. (/iflow-pick is the front door before /iflow-init, for when no issue has been chosen yet. /iflow-fix runs an interactive iterative-fixes session, driven by /iflow-fix + /iflow-close.)
Invoke: type iflow in chat, or /iflow from the slash menu.
Profile: economy — Prioritize speed and token economy over deep reasoning.
In Cursor: use Auto or a fast model before invoking this step.
Keep scope tight to what this step requires.
Before any git, gh, or .issueflows/ path operation in this workflow:
Resolution order (stop when unambiguous):
root:<path>, repo:<folder-basename> (directory name, e.g. cellpy-core), or repo:owner/name.issue-flow agent resolve [-C <start>] [--from-file <active-file>] [--json]. Use the returned project_root and repo; pass -C <project_root> to other issue-flow agent … subcommands. When the answer came from the workspace registry, the payload sets resolved_via_workspace_default: true.^\d+- → that root..issueflows/ tree visible in the workspace → that root.issueflow-workspace.toml at the workspace root (created with issue-flow workspace init) may name a default member repo; use it when no scaffold matched above. Tell the user the default was used.After resolution, treat the result as <project_root> and <owner/repo>:
git -C <project_root> … (or issue-flow agent … -C <project_root> for supported ops).gh … --repo <owner/repo> — never rely on gh's implicit cwd default..issueflows/… paths are under <project_root>.When .issueflows/04-designs-and-guides/multi-repo-workspaces.md exists, read it for layout and cross-repo guidance.
CLI fast path (optional). If the
issue-flowCLI is onPATH, runissue-flow agent state --jsonto resolve the focus issue, its lifecycle stage, and the suggestednext_commandin one deterministic step (covers instructions 1–2), then dispatch to that command. The CLI is optional: if it is not installed or it errors, fall back to the manual instructions below. (issue-flowis only present when the user installed it, e.g.uv tool install issue-flow.)
Resolve the focus issue number N.
git branch --show-current. If it matches ^(\d+)-.+, the leading digits are the authoritative N.issue<n>_* groups in .issueflows/01-current-issues/, and also check .issueflows/02-partly-solved-issues/ and .issueflows/03-solved-issues/ for archived groups matching N.N by precedence:
N wins, regardless of whether a group for N exists in 01-current-issues/. State A will apply when no issue<N>_* files are present yet. If issue<N>_* is archived under 02-partly-solved-issues/ or 03-solved-issues/, warn the user that /iflow-init's archived-issue guard will ask for an explicit confirmation before re-opening.N, exactly one group exists in 01-current-issues/ → use it.N, no groups at all → state A (dispatch /iflow-init; it will ask for a number).N, multiple groups → stop and ask.Detect state and choose the dispatch target (first match wins):
issue<N>_original.md (or no focus issue) → dispatch to /iflow-init. Reason: "no *_original.md yet".issue<N>_plan.md → dispatch to /iflow-plan. Reason: "no plan file yet".- [x] Done is unchecked → dispatch to /iflow-start. Reason: "plan is confirmed but status is not - [x] Done".- [x] Done (case-insensitive on done) → dispatch to /iflow-close. Reason: "status marks the issue - [x] Done".Announce and dispatch. Print one line like /iflow -> /iflow-plan (issue #N: no plan file yet) and then follow the chosen command's playbook. Forward the user's trailing text verbatim.
Respect downstream checkpoints. Never suppress the downstream command's own prompts (plan confirmation, unrelated-changes prompt, etc.). /iflow adds no new confirmation layer of its own.
Report. Summarize: focus issue N and how it was resolved, which command was dispatched and why, the downstream output, and a one-line hint when an off-path command is the natural next step:
/iflow-cleanup"/iflow-pause"/iflow-yolo next time"/iflow-pick, /iflow-pause, /iflow-cleanup, /iflow-yolo, /iflow-fix, or /iflow-epic./iflow itself writes nothing — all file changes come from the dispatched command./iflow invocation.