원클릭으로
iflow-plan
Draft a structured plan in issue<N>_plan.md and get explicit user confirmation before any implementation starts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Draft a structured plan in issue<N>_plan.md and get explicit user confirmation before any implementation starts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Post-merge branch hygiene: switch to the default branch and delete merged local branches under one consolidated confirm. Never -D.
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.
Plan a larger change as a staged epic: draft epic<N>_plan.md with stages of manageable issue specs, then publish confirmed stages as GitHub issues.
Front door: choose the next issue, create the issue branch, and run /iflow-init.
Smart dispatcher: detect where the focus issue stands and dispatch to /iflow-init, /iflow-plan, /iflow-start, or /iflow-close.
Read-only snapshot of where every issue stands, locally and on GitHub.
| name | iflow-plan |
| description | Draft a structured plan in issue<N>_plan.md and get explicit user confirmation before any implementation starts. |
| disable-model-invocation | true |
| issue-flow-version | 0.4.2a4 |
/iflow-plan)Follow this skill to design the approach for the focus issue before touching code, and to get the plan confirmed ahead of /iflow-start.
Invoke: type iflow plan in chat, or /iflow-plan from the slash menu (iflow-plan 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.
CLI fast path (optional). If the
issue-flowCLI is onPATH, runissue-flow agent preflightfor the branch status preflight (step 2). The CLI is optional: if it is missing or errors, fall back to the manual commands below. (issue-flowis only present when the user installed it, e.g.uv tool install issue-flow.)
Find the focus issue. Look in .issueflows/01-current-issues/ for issue<N>_original.md. If it is missing or multiple groups are ambiguous, stop and ask. Suggest /iflow-init first.
Branch status preflight (non-destructive). Detect the default branch (prefer gh repo view --json defaultBranchRef -q .defaultBranchRef.name, else git symbolic-ref --quiet --short refs/remotes/origin/HEAD, else main). Run git fetch --prune. Report current branch, clean/dirty working tree, and ahead/behind vs origin/<default>. If on the default branch, suggest creating an issue branch (git switch -c <N>-<short-slug>) but do not auto-run it — planning itself does not require a branch switch.
Read context. Load issue<N>_original.md and any existing issue<N>_status.md. If .issueflows/04-designs-and-guides/this-project.md exists, read it for project-specific context, then skim .issueflows/04-designs-and-guides/ for relevant design docs.
Prior-art discovery (before drafting the plan):
.issueflows/00-tools/ (start with its README.md index) for an existing helper that already does part of the work, so the plan reuses it instead of proposing a new script.graphify-out/GRAPH_REPORT.md exists, skim God Nodes, Communities, and Suggested Questions whose names touch the affected area; note community numbers. If absent, skip (grep-only is fine).filter_*, remove_*, or names from the issue / graph).## Constraints, add ### Prior art listing each hit (function + module, convention, mirror / coexist / migrate later). If nothing relevant: - None found (toolbox + grep + graph checked).## Open questions, not silent choices in Approach.Explore read-only — search code, read files most likely to change, check existing tests; keep research proportional to the issue.
5a. Grill the approach (planning interview). The grill-me skill is available to stress-test the approach before drafting: ask the user to "grill me" (or turn it on by default with grill_me_default = true in .issueflows/config.toml). It interviews one question at a time until every decision branch is resolved, then feeds the conclusions into the plan.
Write issue<N>_plan.md under .issueflows/01-current-issues/ with these sections:
### Prior art (from step 4).uv run pytest, or pytest inside the activated conda env) and any new tests.Keep it terse but specific. Use markdown links to files when useful.
Scope check. If the plan is broad (many unrelated files, mixes refactors with feature work, multiple independent deliverables), propose splitting into smaller issues or phased PRs before finalizing the plan.
Confirm with the user. Present the plan and stop. Accept one of: Accept (ready for /iflow-start), Revise (update issue<N>_plan.md in place and re-confirm), or Abort.
Conflict on existing issue<N>_plan.md. Do not overwrite silently. Offer: update in place (after review), keep both (issue<N>_plan.v2.md), or leave as is.
/iflow-plan is read-only on source code. The only file it writes is .issueflows/01-current-issues/issue<N>_plan.md.01- / 02- / 03- folders from /iflow-plan./iflow-start and /iflow-close./iflow-start once the user confirms.