一键导入
iflow-history-update
Update the changelog when landing an issue: append a bullet to [Unreleased], or promote it to a release section after a version bump.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update the changelog when landing an issue: append a bullet to [Unreleased], or promote it to a release section after a version bump.
用 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.
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.
| name | iflow-history-update |
| description | Update the changelog when landing an issue: append a bullet to [Unreleased], or promote it to a release section after a version bump. |
| disable-model-invocation | true |
| issue-flow-version | 0.4.2a4 |
Use this skill to update the project's changelog file (default HISTORY.md, overridable via ISSUEFLOW_HISTORY_FILE in .env) as part of /iflow-close. It never runs on its own schedule; it is driven by the "update HISTORY" step, and does not run when the user passed nohistory / skip history.
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.
HISTORY.md) exists at the project root. If it does not, skip this step, print "no HISTORY.md — skipping changelog update" and continue the rest of /iflow-close. Never create the file from this skill.## [Unreleased] heading, with released versions below as ## [x.y.z] - YYYY-MM-DD headings. If the shape does not match, stop and report the mismatch instead of guessing — let the user fix the file or pass nohistory./iflow-close| From | Used for |
|---|---|
Issue number N | Reference suffix on the new bullet, e.g. (#42). |
Issue title (from .issueflows/01-current-issues/issue<N>_original.md) | Default bullet summary. |
log "..." / note "..." input token | Override the bullet summary verbatim. |
Version-bump outcome (from step 2 of /iflow-close) | Decides append vs promote (see below). |
[Unreleased]Read HISTORY.md. Locate the first ## [Unreleased] heading. The block ends at the next ## [ heading (or EOF).
Compose the new bullet:
- <summary>. (#<N>)
Summary = log "..." override if provided, else the issue title with sentence case, trailing period trimmed before the . we add.
Append the bullet to the end of the Unreleased bullet list. Preserve existing formatting (blank lines, list markers). Do not reorder existing entries.
Show the user the proposed diff of HISTORY.md and confirm once before writing.
[Unreleased] to a new release sectionOnly runs when step 2 of /iflow-close actually changed pyproject.toml to a new version NEW_VERSION.
Determine NEW_VERSION (e.g. read from pyproject.toml, or from the uv version command output). Determine TODAY as YYYY-MM-DD in the user's local timezone.
Read HISTORY.md. Find ## [Unreleased].
Compose the new bullet (same shape as mode A). If [Unreleased] was empty when the bump happened, still create the new release section with this bullet inside it — a version bump implies a release, and the focus issue's bullet is always meaningful.
Rename the existing heading from ## [Unreleased] to ## [<NEW_VERSION>] - <TODAY> and add the new bullet at the end of that section's bullet list.
Prepend a fresh, empty ## [Unreleased] section above the just-closed release, with one blank line separating them:
## [Unreleased]
## [NEW_VERSION] - TODAY
- …existing bullets from before the promote…
- <new bullet for this issue> (#N)
Show the user the proposed diff and confirm once before writing.
When /iflow-close reaches its commit step:
HISTORY.md alongside the issue's other changes.HISTORY.md is staged in the same commit as pyproject.toml (and uv.lock if it changed).HISTORY.md at the project root. Do not touch any other file from this skill.HISTORY.md from scratch — scaffolding a starter changelog is out of scope for issue-flow init / update.HISTORY.md untouched and print a short "skipped changelog update" note. The rest of /iflow-close continues normally.(#<N>) suffix is always GitHub issue #N, matching the focus issue's number in .issueflows/01-current-issues/issue<N>_original.md.