원클릭으로
iflow-archive
Condense old solved issue groups into one dated summary file, then delete the originals. Destructive, one consolidated confirm.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Condense old solved issue groups into one dated summary file, then delete the originals. Destructive, one consolidated confirm.
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-archive |
| description | Condense old solved issue groups into one dated summary file, then delete the originals. Destructive, one consolidated confirm. |
| disable-model-invocation | true |
| issue-flow-version | 0.4.2a4 |
/iflow-archive)Follow this skill to shrink the solved-issues archive:
old issue<N>_* groups under .issueflows/03-solved-issues/ are
summarised into one dated markdown file and the originals are deleted (they
stay recoverable through git history).
Do not use this to park or close an active issue — that is /iflow-pause / /iflow-close. This skill only touches .issueflows/03-solved-issues/.
keep <K> — same, but keep the <K> most recent groups instead.12 13 24) — archive exactly those issues.all — archive every solved group.Invoke: type iflow archive in chat, or /iflow-archive from the slash menu (iflow-archive 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.
CLI fast path (optional). If the
issue-flowCLI is onPATH, the mechanical deletion step has a deterministic shortcut:issue-flow agent archive <N> [<N> ...](add--dry-runto preview,--jsonfor a machine-readable object). It removes the chosen groups' files and reports the pre-archive HEAD sha — you still select candidates, confirm with the user, and write the summary file yourself. The CLI is optional: if it is missing or errors, fall back to the manual instructions below.
Preflight. Require a clean working tree (git status --porcelain); if dirty, stop and ask the user to commit or stash first — the recovery ref is only meaningful when the deletion lands as its own commit. Capture the pre-archive ref: git rev-parse HEAD.
Select candidates. List every issue<N>_* group in .issueflows/03-solved-issues/ with its number and title (from the # Issue #N: <title> heading of issue<N>_original.md). Apply the input rule (default: all except the 5 most recent by issue number). Show the resulting candidate list — number, title, file names — and let the user add/remove issues.
Consolidated confirm (destructive — written in normal prose, never shortened). One prompt covering exactly: which issues get summarised, that their files will be deleted, and that recovery relies on git history via the recorded ref. Do not proceed without a clear yes.
Summarise (before deleting). Append to .issueflows/03-solved-issues/YYYY-MM-DD_archived_issues.md (today's date; create the file if missing). Structure:
# Archived issues — YYYY-MM-DD
Pre-archive git ref: `<sha>`
Recover any archived file with `git show <sha>:<path>` (or browse `git log -- <path>`).
## Issue #<N>: <title>
- Source: <GitHub issue URL, from the original file>
- Archived files: issue<N>_original.md, issue<N>_plan.md, issue<N>_status.md
- Summary: 2–4 sentences distilled from the original / plan / status files —
what the issue was, what was done, and the outcome.
One ## Issue section per archived issue. If the dated file already exists (same-day rerun), append a --- separator followed by a fresh Pre-archive git ref: line for this run, then the new issue sections. The dated filename deliberately does not match issue<N>_*, so it never interferes with issue grouping.
Delete. Remove the archived groups' files — CLI fast path (issue-flow agent archive ...), or manually git rm .issueflows/03-solved-issues/issue<N>_* per issue.
Commit offer. Propose a single commit, e.g. chore(iflow): archive <count> solved issues (pre-archive ref <short-sha>), including the new/updated dated file and the deletions. Ask before committing; never push from this skill.
Report. Summarise: how many issues were archived, the dated file path, the pre-archive ref, and the one-line recovery recipe.
/iflow, /iflow-start, or /iflow-close. The user opts in explicitly..issueflows/03-solved-issues/ is touched — never 01-current-issues/, 02-partly-solved-issues/, 00-tools/, or 04-designs-and-guides/.git show <ref>:<path> recovery always works.