Check release

From niznik-dev/cruijff_kit · View interactive version

Check release is an AI agent skill from the GitHub repository niznik-dev/cruijff_kit. Weekly release check — review changes since last tag and optionally cut a new release.

How to use this skill

Skill file

Check Release

Walk through the release process incrementally, with decision points at each stage. Designed for weekly invocation but doesn't assume a release will happen.

Prerequisites

Workflow

Step 0: Show the release checklist

  1. Read the wiki release process page:

```bash

cat /scratch/gpfs/MSALGANIK/niznik/GitHub/cruijff_kit_wiki/Release-Process.md

```

  1. Present the checklist to the user so everyone can see the full process before starting.
  1. Proceed to Step 1.

Step 1: What's changed?

  1. Find the latest git tag:

```bash

git describe --tags --abbrev=0

```

  1. List commits since that tag:

```bash

git log <latest_tag>..HEAD --oneline

```

  1. List PRs merged since that tag:

```bash

module load anaconda3/2025.6 && conda activate cruijff && gh pr list --repo niznik-dev/cruijff_kit --state merged --search "merged:>=$(git log -1 --format=%ai <latest_tag> | cut -d' ' -f1)" --json number,title,mergedAt --limit 50

```

  1. List open PRs and present them for review — each should be merged, deferred, or closed before release:

```bash

module load anaconda3/2025.6 && conda activate cruijff && gh pr list --repo niznik-dev/cruijff_kit --state open --json number,title

```

  1. Check for anything already in [Unreleased] in CHANGELOG.md.
  1. Check KNOWN_ISSUES.md for stale entries (closed issues, resolved problems).
  1. Present a summary to the user:
  1. Decision point: Ask the user whether to proceed with a release or stop here.

Step 2: Version bump

  1. Read the current version from pyproject.toml (line 7).
  1. Default to a patch bump. The project versioning policy:

When in doubt, it's a patch.

  1. Decision point: Confirm the version number with the user.

Step 3: Changelog

  1. Draft a changelog entry using the Keep a Changelog format already in CHANGELOG.md:
  1. Include PR numbers and contributor attribution (e.g., @username) where applicable.
  1. Present the draft to the user for review.
  1. Decision point: User approves or edits the changelog entry.
  1. Once approved:

Step 4: Branch, PR, and merge

  1. Create a release branch:

```bash

git checkout -b release-<VERSION>

```

  1. Commit changelog + version bump + any KNOWN_ISSUES changes.
  1. Push branch and open PR:

```bash

git push -u origin release-<VERSION>

```

  1. Decision point: Confirm PR is ready. Wait for CI to pass.
  1. User merges the PR using merge commit (not squash or rebase).

Step 5: Tag and release

  1. Pull the merge commit:

```bash

git checkout main && git pull

```

  1. Create annotated tag on the merge commit with a minimal message:

```bash

git tag -a v<VERSION> -m "v<VERSION>"

```

  1. Push tag:

```bash

git push origin v<VERSION>

```

  1. Create GitHub Release with the changelog entry as release notes:

```bash

gh release create v<VERSION> --title "v<VERSION>" --notes "<changelog entry>"

```

  1. Confirm success by printing the release URL.

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.