一键导入
iflow-doctor
Audit .issueflows/ for dirty conditions and optionally apply safe repairs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit .issueflows/ for dirty conditions and optionally apply safe repairs.
用 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.
Review open GitHub issues and apply labels (extendable kinds; v1: yolo).
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-doctor |
| description | Audit .issueflows/ for dirty conditions and optionally apply safe repairs. |
| disable-model-invocation | true |
| issue-flow-version | 0.4.2a4 |
.issueflows/ health) (/iflow-doctor)Follow this skill to detect and optionally fix inconsistent issue-tracking
folders under .issueflows/.
Unlike /iflow-status (read-only overview), /iflow-doctor can move issue
groups when the user confirms repair — using the same safe sweep rules as
/iflow-init and /iflow-start.
Do not auto-dispatch from /iflow, /iflow-start, or /iflow-close.
Invoke: type iflow doctor in chat, or /iflow-doctor from the slash menu (iflow-doctor also works).
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:
- Audit:
issue-flow doctor [--json](orissue-flow agent audit).- Repair:
issue-flow doctor --fix [--except N] [--dry-run] [--json](orissue-flow agent repair).The CLI is optional: if it is missing or errors, fall back to the manual checklist in
.issueflows/04-designs-and-guides/dirty-issueflows.md.
Resolve project root — use issue-flow agent resolve when available.
Audit — run issue-flow doctor (or manual checks per the design doc).
Present every finding: code, severity, message, suggested next step.
Repair (only on explicit user confirm) — run
issue-flow doctor --fix with --dry-run first when anything will move;
pass --except N when multiple groups sit in 01-current-issues/
and focus is ambiguous. Never repair duplicate-across-folders automatically.
Re-audit after repair and report what changed.
/iflow or other lifecycle steps.01-current-issues/ to 02-partly-solved-issues/ or
03-solved-issues/ by Done status. No deletes, no duplicate merges.