agentleFS
hay-kothay-kot/hive-desktop/.agents/skills/release-prep/SKILL.md

release-prep

Skill4 starsChanged 2 months agoMITView on GitHub

Curate Hive Desktop's accumulated changelog fragments into the next stable release entry, then create the release-notes pull request. Use when explicitly asked to prepare stable release notes or invoked as `/release-prep [version]`.

  • Commits and pushes

23 other projects use a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not use this for dev or beta releases.

    line 15
  2. Very specific:

    Read the promoted entry, its deleted source fragments from HEAD, and recent committed entries for voice and structure.

    line 69
  3. Very specific:

    write one quoted summary sentence that names the release's main user-facing outcomes.

    line 76
  4. Distinctive:

    remove notes for work reverted before this release.

    line 79
  5. Distinctive:

    update stale bullets so they describe the behavior that will ship.

    line 80
  6. Distinctive:

    remove empty sections and keep the remaining sections in that order.

    line 82
  7. Distinctive:

    do not mention implementation names, commits, issues, pull requests, or ADRs.

    line 84
  8. Distinctive:

    do not invent claims that the fragments or repository history do not support.

    line 85
  9. Distinctive:

    Follow the release-notes skill's product-copy rules.

    line 87
  10. Distinctive:

    Read the complete entry again after editing.

    line 91
  11. Distinctive:

    Run the focused parser tests and the release tool's dry run:

    line 97
  12. Distinctive:

    Run git diff --check, then read the complete entry and deleted-fragment list one final time.

    line 104
  13. Very specific:

    If the command says it committed and pushed but gh pr create failed, the promotion is already safe on the release-notes branch.

    line 116

“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Prepare stable release notes

Prepare the changelog entry that must land before a stable Hive Desktop release. This command edits product copy, then delegates the branch, commit, push, and pull request to the repository's release tooling.

Do not use this for dev or beta releases. They publish the accumulated draft as it stands and need no release-notes pull request.

Arguments

Accept either no argument, stable, or one explicit stable version such as 0.5.3. No argument means stable, which asks the release tool to select the next version from tags and live manifests. Reject prerelease versions and extra arguments.

1. Load the project rules

Resolve the repository root with git rev-parse --show-toplevel, change to it, and run every command from there. Read these files before editing:

  • ../release-notes/SKILL.md for product-copy rules;
  • docs/distribution.md for the current release contract.

The repository command mise run changelog:pr is the authority on the branch, commit, push, and pull request. Do not use pr-create-auto, create the branch by hand, or write a separate commit.

2. Validate the starting state

Run:

git fetch origin main --tags --prune
git status --porcelain=v1 --untracked-files=all
git branch --show-current
git rev-parse HEAD
git rev-parse origin/main
gh auth status

Require main, HEAD equal to origin/main, and successful GitHub authentication. Do not pull, reset, stash, switch branches, or discard work to make the checks pass.

Two worktree states are valid:

  1. Clean: run mise run changelog:promote -- <stable|version>.
  2. Already promoted: continue without promoting again when the only changes are one untracked internal/app/releasenotes/changelog/<version>.md file and deleted files under internal/app/releasenotes/changelog/unreleased/.

For an already promoted tree, require the entry filename to match an explicit version argument. Any other dirty state is unrelated work. Stop and report it.

Promotion writes an empty summary, combines the fragments into one entry, and deletes those fragments. Never create or rename the versioned entry by hand.

3. Curate the entry

Read the promoted entry, its deleted source fragments from HEAD, and recent committed entries for voice and structure. Read the commit history since the last stable release when a note needs verification. Inspect a focused diff only when the history does not establish the user-visible behavior.

Edit the promoted entry as one release, not as a list of pull requests:

  • write one quoted summary sentence that names the release's main user-facing outcomes;
  • combine bullets that describe the same feature or surface;
  • remove notes for work reverted before this release;
  • update stale bullets so they describe the behavior that will ship;
  • order bullets by user value within Added, Changed, and Fixed;
  • remove empty sections and keep the remaining sections in that order;
  • preserve specific UI labels, shortcuts, config keys, and platform differences;
  • do not mention implementation names, commits, issues, pull requests, or ADRs;
  • do not invent claims that the fragments or repository history do not support.

Follow the release-notes skill's product-copy rules. The summary and each bullet must describe what the user gets in the stable release. Do not write a work log or a release-process summary.

Read the complete entry again after editing. Check that the summary covers the body, near-duplicate bullets are gone, and every sentence still describes the current product.

4. Verify and create the pull request

Run the focused parser tests and the release tool's dry run:

go test ./internal/app/releasenotes/...
mise run changelog:pr -- --dry-run

Run git diff --check, then read the complete entry and deleted-fragment list one final time. Fix all failures before continuing. Then run:

mise run changelog:pr

This command creates the fixed release-notes branch, commits only the promoted entry and deleted fragments, pushes the branch, and opens the pull request. The git hooks run the repository checks. Do not duplicate those steps with manual git or gh commands.

If the command says it committed and pushed but gh pr create failed, the promotion is already safe on the release-notes branch. Follow the recovery command from the error exactly and do not promote or commit again. For any other failure, stop without rewriting history or changing branches to hide the problem.

Report the version, summary, branch, commit, pull request URL, and tests that ran.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.