一键导入
iflow-review
Review open GitHub issues and apply labels (extendable kinds; v1: yolo).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review open GitHub issues and apply labels (extendable kinds; v1: yolo).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Finish and land the focus issue: tests, optional version bump, status update, commit, push, and PR.
Process many issues hands-off in a row: resolve a queue, then run each through the yolo chain under one up-front confirm. Stops only when input is strictly necessary.
Audit .issueflows/ for dirty conditions and optionally apply safe repairs.
Smart dispatcher: detect where the focus issue stands and dispatch to /iflow-init, /iflow-plan, /iflow-start, or /iflow-close.
Chain init → plan → start → close yolo for a small, low-risk issue under one consolidated confirm. Stops on any ambiguity.
Post-merge branch hygiene: switch to the default branch and delete merged local branches under one consolidated confirm. Never -D.
| name | iflow-review |
| description | Review open GitHub issues and apply labels (extendable kinds; v1: yolo). |
| disable-model-invocation | true |
| issue-flow-version | 0.4.2a4 |
/iflow-review)Follow this skill to review open GitHub issues and apply labels. It is
extendable by review kind; v1 supports yolo only (apply the configured
yolo label to issues that pass the yolo-fitness judgment).
Do not auto-dispatch from /iflow, /iflow-start, or /iflow-close. Off-path
only. Do not create new GitHub issues here (use /iflow-pick fix or
/iflow-epic … publish). Do not remove labels in v1.
Invoke: type iflow review in chat, or /iflow-review from the slash menu (iflow-review also works).
Profile: reasoning — Prioritize deep thinking and careful trade-offs over speed or token economy.
In Cursor: switch to a thinking-capable model before invoking this step (not Auto-only).
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.
yolo — examine open issues; propose adding the configured
yolo_label (default "yolo") where fitness says yes.Trailing text after the kind is reserved for future filters; ignore unknown tokens with a warning rather than inventing behaviour.
| Kind | Label applied | Fitness criteria |
|---|---|---|
yolo | resolved [issueflow].yolo_label (default "yolo") | Same as /iflow-epic: well-specified, mechanical or pattern-following, low blast radius, guarded by existing tests — umbrella work, design decisions, and flag-day changes are no. |
Future kinds (e.g. model-profile labels) add a row here + optional CLI
--kind support — do not rename this skill.
CLI fast path (optional). If the
issue-flowCLI is onPATH:
- List:
issue-flow agent label-candidates [--kind yolo] [--json]- Apply (after confirm):
issue-flow agent label-apply <N> [<N>…] --label <name> [--dry-run] [--json]The CLI never judges fitness. Judgment stays in this skill. If the CLI is missing or errors, fall back to the manual instructions below (
gh issue list/gh issue edit --add-labelwith--repo <owner/repo>).
Resolve kind. If the user omitted a kind, print the kinds table above and ask which to run. Stop until they pick. Unknown kind → error and stop.
Resolve config. Read yolo_label and label_flows from
.issueflows/config.toml (or use
issue-flow agent label-candidates --json, which includes both). If
label_flows is false, still allow labelling, but warn that
/iflow-pick will not route on the label until label_flows is true and
surfaces are re-rendered (issue-flow update).
Ensure the label exists. gh label list --repo <owner/repo> (or the
label_exists field from label-candidates). If missing: propose
gh label create '<name>' --color FBCA04 --repo <owner/repo> (or
equivalent) under an explicit confirm; on decline, stop. On accept,
create then continue.
List candidates. Load all open issues (include those that already
carry the target label — re-score; adds are no-ops when already present).
Prefer issue-flow agent label-candidates --kind yolo --json.
Judge. For each open issue, decide add / keep / skip:
--add-label.#N, title, current labels, action, one-line reason.Consolidated confirm (writes; normal prose, never shortened). One prompt covering exactly which issues get the label. Do not proceed without a clear yes. Empty add set → report and stop (no confirm needed).
Apply. issue-flow agent label-apply <N>… --label <yolo_label> (or
gh issue edit <N> --add-label <name> --repo <owner/repo> per issue). Prefer
--dry-run once when the set is large, then the real apply after confirm.
Report. Applied / failed / skipped / already-labelled (keep). Remind
that labelled issues are picked up by /iflow-pick → /iflow-yolo when
label_flows is on. If any labels were added (or already present and kept),
hint the batch path: to auto-process them, run /iflow-cycle yolo
(alias for label:yolo).
/iflow or other lifecycle steps.--repo <owner/repo> to gh; never rely on cwd defaults.gh is missing (report and stop; suggest
gh auth login).