JerryBalmer1

release-prep

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.

JerryBalmer1 0 Updated 23h ago
GitHub

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

  1. Read CLAUDE.md and the ## Unreleased section of CHANGELOG.md. Sort each entry into fix, addition, or plan-breaking.
  2. 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 own Breaking: line in the changelog; add one where it is missing.
  3. Ask the owner to confirm the version. Show the proposal and the entries that decided it. Don't edit anything until it is confirmed.
  4. Rename ## Unreleased to ## X.Y.Z - YYYY-MM-DD (today's date).
  5. Bump the version everywhere the repo records it: var version in main.go, the README and CLAUDE.md.
  6. Invoke-Build Docs (regenerates docs/ and .claude/skills/ansible-provider/SKILL.md).
  7. goreleaser check (validates the config only).
  8. 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 ## Unreleased section, 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".