一键导入
do-release
Prepare release notes and clean up superpowers docs for the next version
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prepare release notes and clean up superpowers docs for the next version
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | do_release |
| description | Prepare release notes and clean up superpowers docs for the next version |
| disable-model-invocation | true |
| argument-hint | <next_version> |
Prepare a release for version $ARGUMENTS.
Ensure that you are on main branch. Stop if you are not.
Find the last release tag (highest v* tag) and generate a summary of all
commits since that tag.
git log $(git tag --list 'v*' --sort=-v:refname | head -1)..HEAD --oneline
Note that tag and substitute everywhere you see {LAST_RELEASE_TAG}.
Write a release notes file to docs/release_notes/v$ARGUMENTS.md following
the style of the previous release notes (see docs/release_notes/ for
examples). The release notes should:
woodglue.compose.namespace) where relevantCommit and push release notes.
Find all design docs and sort by date if present in filename:
find docs/superpowers/ docs/ai/ -name \*.md 2>/dev/null
Design docs: https://github.com/walnutgeek/woodglue/tree/v$ARGUMENTS/{DESIGN_DOC_PATH}
Replace {DESIGN_DOCS_SNIPPET} in the message below.
Come up with a title for this release, 80 characters or less. Try to catch the common theme among all changes, yet you can cut it short with "..." if there are too many things to mention.
Replace {RELEASE_TITLE} with that title in the message below.
Draft new release at: https://github.com/walnutgeek/woodglue/releases/new
Title: v$ARGUMENTS: {RELEASE_TITLE}
Full Changelog: https://github.com/walnutgeek/woodglue/compare/{LAST_RELEASE_TAG}...v$ARGUMENTS
{DESIGN_DOCS_SNIPPET}
Wait for human to confirm that the release is triggered.
When human confirms, check if the tag exists:
git pull && git tag --list "v$ARGUMENTS" | wc -l
Output should confirm exactly one matching tag. Do not proceed to the next step if it does not.
After a release is properly tagged, the design docs are accessible via the tag. Delete them from main:
for dir in docs/superpowers docs/ai
do
[ -d $dir ] && git rm -r $dir
done
If docs/superpowers or docs/ai does not exist, skip that command.
Commit and push.