Prepare a release (changelog heading and date, version bump, docs and skill regen, goreleaser check) up to the point where the owner tags. Proposes the version from the changelog and asks the owner to confirm it.
Install
npx skillscat add jerrybalmer1/terraform-provider-ansible/release-prep Install via the SkillsCat registry.
SKILL.md
When to use
When asked to prepare, cut or get ready for a release. The owner (Jerry) tags. You never tag, push or run goreleaser release.
Steps
- Read
CLAUDE.mdand the## Unreleasedsection ofCHANGELOG.md. Sort each entry into fix, addition, or plan-breaking. - Propose the version with the pre-1.0 semver rule:
- patch (0.x.Y): fixes only.
- minor (0.X.0): any new attribute, resource, data source, ephemeral resource, action, list resource or provider function, or anything that makes a previously accepted config fail at plan (removed or renamed attribute, changed default, new validation).
- major (1.0.0): only when the owner declares 1.0.
Every plan-breaking entry must have its ownBreaking:line in the changelog; add one where it is missing.
- Ask the owner to confirm the version. Show the proposal and the entries that decided it. Don't edit anything until it is confirmed.
- Rename
## Unreleasedto## X.Y.Z - YYYY-MM-DD(today's date). - Bump the version everywhere the repo records it:
var versioninmain.go, the README and CLAUDE.md. Invoke-Build Docs(regeneratesdocs/and.claude/skills/ansible-provider/SKILL.md).goreleaser check(validates the config only).- Run the build-and-verify skill. Stage the files. Stop: Jerry tags.
Release gates
Both must hold before you hand over for tagging. Check them and report each; if either is not met or cannot be verified, stop and say so.
- A green CI run on
main(the commit the tag will point at). - Mutation efficacy of at least 70%:
Invoke-Build Mutation(default-MinEfficacy 70) passes.
Stop and ask when
- The changelog has no
## Unreleasedsection, or an entry's category is unclear. - The bump is breaking (minor before 1.0 because of a plan-breaking entry, or any major).
Report
Use the report-template skill. Put the confirmed version and the deciding entries under Summary, and every Breaking: line under "Breaking changes".