agentleFS
MicrosoftKnown publishermicrosoft/duroxide/.agents/skills/release-preparation/SKILL.md

release-preparation

Skill221 starsChanged 3 months agoMITView on GitHub

Prepare and open a Duroxide release pull request, then create its version tag after merge and explicit approval. Use when asked to prepare a release, bump the crate version, draft release notes, validate a release candidate, or complete the public release handoff.

  • Commits and pushes

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. microsoft/duroxide-pg★ 44same name
    2. microsoft/duroxide-node★ 36same name
    3. microsoft/duroxide-python★ 34same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository2 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 10

    Distinctive

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add or modify a package-publishing workflow.

    line 17
  2. Distinctive:

    Create a GitHub Release.

    line 19
  3. Distinctive:

    Add publishing credentials or document internal pipeline operations.

    line 20
  4. Distinctive:

    Create, move, or push a release tag before the release pull request is merged into main.

    line 23
  5. Distinctive:

    Create or push a release tag without explicit user approval given after the merge.

    line 25
  6. Very specific:

    Use the current date in YYYY-MM-DD format unless the user provides a release date.

    line 36
  7. Very specific:

    Read RELEASE_POLICY.md, Cargo.toml, the top of CHANGELOG.md, and the release notice near the top of README.md.

    line 41
  8. Very specific:

    Update the root Cargo.toml package version.

    line 47
  9. Very specific:

    Keep ## [Unreleased] at the top of CHANGELOG.md and add the release section immediately below it:

    line 49
  10. Distinctive:

    Update the README.md latest-release notice with:

    line 62
  11. Distinctive:

    Run the repository's existing checks:

    line 72
  12. Very specific:

    Commit with the title chore(release): duroxide X.Y.Z.

    line 95
  13. Distinctive:

    Create a pull request targeting main with the same title.

    line 97
  14. Distinctive:

    Run this phase only after the release pull request has merged and the user asks to complete the release handoff.

    line 103
  15. Distinctive:

    Verify all of the following:

    line 107
  16. Very specific:

    Ask for explicit approval to create and push vX.Y.Z, naming the exact tag and merge commit SHA in the question.

    line 113
  17. Very specific:

    After approval, create a lightweight tag, matching existing Duroxide release tags:

    line 116

“Common” is measured: kept by at least 6 in 10 of the 3 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

Duroxide Release Preparation

This source-owned skill prepares a release pull request and, after it is merged and separately approved, creates the version tag that hands the release to Microsoft-managed internal pipelines. Follow RELEASE_POLICY.md.

Boundaries

Never:

  • Add or modify a package-publishing workflow.
  • Run cargo publish.
  • Create a GitHub Release.
  • Add publishing credentials or document internal pipeline operations.
  • Modify files under docs/proposals/.
  • Merge the release pull request.
  • Create, move, or push a release tag before the release pull request is merged into main.
  • Create or push a release tag without explicit user approval given after the merge.

Required Input

Obtain the target semantic version from the user. Do not choose a major, minor, or patch bump without confirmation.

Obtain permission to commit, push the release branch, and create the pull request if the user's request did not explicitly authorize those actions.

Use the current date in YYYY-MM-DD format unless the user provides a release date.

Preparation Steps

  1. Read RELEASE_POLICY.md, Cargo.toml, the top of CHANGELOG.md, and the release notice near the top of README.md.
  2. Inspect git status, the latest v* tag, and changes since that tag. Preserve unrelated working-tree changes.
  3. Confirm the target version is valid semver and greater than the current Cargo.toml package version.
  4. Update the root Cargo.toml package version. Do not change the independent sqlite-stress package version.
  5. Keep ## [Unreleased] at the top of CHANGELOG.md and add the release section immediately below it:

    ## [X.Y.Z] - YYYY-MM-DD
    
    **Release:** <https://crates.io/crates/duroxide/X.Y.Z>
  6. Move prepared entries from Unreleased into the new section. Use the existing Keep a Changelog categories and derive notes only from verified repository changes. Preserve relevant pull request references and document breaking changes or migration requirements clearly.
  7. Update the README.md latest-release notice with:
    • The target crates.io version URL.
    • A concise summary grounded in the changelog.
    • The changelog anchor used by the existing README format, for example #0131---2026-09-07 for version 0.1.31.
  8. Review the diff and ensure release preparation contains only intentional metadata, release notes, and any changes the user explicitly requested.

Validation

Run the repository's existing checks:

cargo fmt --all -- --check
cargo clippy --all-targets --all-features -- -D warnings -A clippy::uninlined_format_args
./run-tests.sh
cargo test --doc --all-features
cargo package --allow-dirty
cargo package --list --allow-dirty

./run-tests.sh is required because it runs nextest both with and without feature flags. Do not replace it with a normal cargo test run.

Inspect the package file list for generated files, local artifacts, secrets, and other unintended content.

Create the Release Pull Request

After validation:

  1. Review the complete diff and ensure it contains only the intended release preparation changes.
  2. Commit with the title chore(release): duroxide X.Y.Z.
  3. Push the release branch.
  4. Create a pull request targeting main with the same title. Follow the repository pull request template and include the validation results.
  5. Report the pull request URL and stop. Do not merge it or create the tag.

Create the Post-Merge Tag

Run this phase only after the release pull request has merged and the user asks to complete the release handoff.

  1. Refresh the pull request state, origin/main, and remote tags.
  2. Verify all of the following:
    • The release pull request is merged with main as its base.
    • Its merge commit is present on origin/main.
    • Cargo.toml, CHANGELOG.md, and README.md at that commit contain the target version.
    • The vX.Y.Z tag does not already exist locally or remotely.
  3. Ask for explicit approval to create and push vX.Y.Z, naming the exact tag and merge commit SHA in the question. Approval given before the pull request merged does not satisfy this requirement.
  4. After approval, create a lightweight tag, matching existing Duroxide release tags:

    git tag vX.Y.Z <merge-commit-sha>
    git push origin refs/tags/vX.Y.Z
  5. Report the pushed tag and stop. Do not publish the crate or create a GitHub Release; the internal pipeline owns those operations.

Completion Report

Report:

  • The prepared version and release date.
  • The files changed.
  • The release-note summary.
  • Validation failures, if any.
  • The release pull request URL after preparation.
  • The tag and tagged commit after the separately approved post-merge handoff.

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.