con un clic
release
Prepare, publish, or post-bump a ConfUSIus release
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Prepare, publish, or post-bump a ConfUSIus release
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
| name | release |
| description | Prepare, publish, or post-bump a ConfUSIus release |
| argument-hint | <prepare|publish|post-bump> <version> |
| disable-model-invocation | true |
Perform one step of the ConfUSIus release workflow. The command arguments are:
$ARGUMENTS
This skill supports three modes:
prepare VERSION: create a release-preparation branch and PR.publish VERSION: tag the merged release commit on main and prepare release notes.post-bump VERSION: create a post-release development-version branch and PR.Always ask for explicit confirmation before pushing, creating a PR, tagging, or taking any other irreversible action.
MODE and the second as VERSION.MODE is one of prepare, publish, or post-bump.pyproject.toml.git describe --tags --abbrev=0
YYYY-MM-DD) whenever a release date is needed.Version conventions:
prepare should normally target a final release version such as 0.2.0.publish should target the same final release version.post-bump should normally target a development version such as 0.3.0.dev0.prepare VERSIONUse this mode to prepare the release PR. This happens before tagging.
Create a branch named:
release/VERSION
Do not switch branches or push until the user confirms.
Edit the following files.
pyproject.tomlversion = "OLD" with version = "VERSION".docs/changelog.md## 0.2.0.dev0 -> ## 0.2.0.Released YYYY-MM-DD.
CITATION.cffversion: OLD with version: VERSION.date-released: 'OLD_DATE' with date-released: 'TODAY'.README.mdIn the citation section only:
ConfUSIus (vOLD) with ConfUSIus (vVERSION).version = {vOLD} with version = {vVERSION}.docs/citing.mdApply the same citation replacements as in README.md.
Update any other release/version/date files only if they actually exist and clearly need to track the release version.
Run:
uv sync
just pre-commit
Fix failures before continuing.
Stage only the files relevant to the release preparation.
Use commit message:
chore: prepare vVERSION release
Push the branch and create a PR targeting main.
Recommended PR title:
chore: prepare vVERSION release
Recommended PR body:
## Summary
- finalize version metadata for `vVERSION`
- convert the changelog entry from development to released form
- update release citation metadata and docs references
When done, return the PR URL and remind the user that tagging must happen only after this PR is merged.
publish VERSIONUse this mode only after the release PR has been merged.
mainmain state locally.pyproject.toml now reports VERSION exactly, not a .dev0 version.docs/changelog.md contains ## VERSION and a release date.Do not tag a PR branch or any commit that is not the merged main release commit.
Collect commits since the previous tag:
git log vPREV..HEAD --oneline
Group them by conventional commit prefix, omitting empty sections:
| Commit prefix | Section heading |
|---|---|
feat | New features |
fix | Bug fixes |
docs | Documentation |
refactor, perf | Improvements |
test, chore, style | Other |
Strip the prefix from each bullet in the generated summary.
Use this tag message template:
ConfUSIus vVERSION
SUMMARY
Where SUMMARY is the grouped bullet list from the previous step.
Prepare the annotated tag command using:
git tag -a vVERSION -m "$(cat <<'EOF'
ConfUSIus vVERSION
SUMMARY
EOF
)"
Do not run the command yet.
Show the user:
git show HEADThen ask whether to create and push the tag.
After the user confirms, create the annotated tag and push only the tag:
git tag -a vVERSION -m "$(cat <<'EOF'
ConfUSIus vVERSION
SUMMARY
EOF
)"
git push origin vVERSION
Do not create a new commit in this mode unless the user explicitly asks for one.
Generate for the user:
Use the grouped commit summary. Omit Other unless it contains notable user-facing work.
post-bump VERSIONUse this mode immediately after the tagged release to move the repository back to a development version.
Create a branch named:
release/VERSION
Examples:
release/0.3.0.dev0release/0.2.1.dev0Edit the following files.
pyproject.tomlversion = "OLD" with version = "VERSION".docs/changelog.md## VERSION
Current development version for the next ConfUSIus release.
CITATION.cffCITATION.cff
is only updated in prepare mode.README.md and docs/citing.mdCITATION.cff: the rendered
citation must reference the last tagged release, not a development version. These files
are only updated in prepare mode.Run:
uv sync
just pre-commit
Fix failures before continuing.
Use commit message:
chore: start VERSION development
Create a PR targeting main.
Recommended PR title:
chore: start VERSION development
Recommended PR body:
## Summary
- bump the repository version to `VERSION`
- start the next changelog section
- restore development-version metadata after the release
Return the PR URL when done.
0.2.0.dev0 style versions over non-standard forms such as 0.2.0.dev.main commit that represents the final
released state.