| name | release-pastiche |
| description | Ship a pastiche release — version bump, plugin build, CHANGELOG entry, release commit, tag, GitHub Release, milestone close. Use when the user invokes `/release-pastiche` after a TODO group's final feat→main merge. Human-triggered only; never run from an automated routine. |
release-pastiche
Run on main, clean working tree, after every task of the group has merged.
Workflow
- Determine the version. Default: the completed group's minor from
_dev/TODO.md (provisional — confirm with the user; hotfix releases are a patch bump instead).
- Bump
version in package.json.
- Build:
npm run build — verify dist/claude-code/ regenerated and its plugin.json carries the new version.
- CHANGELOG entry. Move
[Unreleased] content (if any) and derive the rest from commits since the last release tag: feat(...) → Added, fix(...) → Fixed, breaking/behavior changes → Changed. Section header: ## [<version>] - <today>. Fresh empty [Unreleased] on top.
- Commit everything as one commit:
chore(release): v<version>.
- Tag
v<version> and push branch + tag.
- GitHub Release:
gh release create v<version> with the new CHANGELOG section as body.
- Close the milestone for the shipped group.
- Tick TODO.md: confirm all the group's task checkboxes are ticked and parent issues closed; flag any that aren't.