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

release-preparation

Skill44 starsChanged 3 months agoMITView on GitHub

Prepare a duroxide-pg release, create its pull request, and create and push the version tag after the pull request is merged. Never publish directly.

  • 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★ 221same 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 repositoryOne other file 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, 11 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when preparing a duroxide-pg release or creating its version tag after the release pull request has merged.

    line 8
  2. Very specific:

    Never run cargo publish or publish directly to crates.io.

    line 13
  3. Distinctive:

    Never request, use, or store publishing credentials.

    line 14
  4. Very specific:

    Update only the root package version in Cargo.toml.

    line 29
  5. Very specific:

    Do not change the pg-stress package version or dependency versions unless they are part of the requested release.

    line 30
  6. Very specific:

    Keep an empty ## [Unreleased] section at the top.

    line 37
  7. Distinctive:

    Do not invent changes. Use the commits and diff since the previous version tag to confirm the release notes are complete.

    line 42
  8. Very specific:

    Keep the link to CHANGELOG.md and the release policy notice.

    line 52
  9. Distinctive:

    Run the packaging-specific check:

    line 56
  10. Distinctive:

    Ask for explicit user approval before performing remote operations.

    line 74
  11. Distinctive:

    Commit the release preparation changes.

    line 77
  12. Distinctive:

    Create a pull request targeting main.

    line 79
  13. Distinctive:

    Do not create a tag while the pull request is open.

    line 82
  14. Distinctive:

    Run this phase only after the release pull request has merged into main.

    line 87
  15. Distinctive:

    If any condition is not met, stop without creating a tag.

    line 99
  16. Distinctive:

    Ask for explicit approval to create and push the tag.

    line 110
  17. Distinctive:

    After approval, create an annotated tag on the verified merged commit and push only that tag:

    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

Release Preparation

Use this skill when preparing a duroxide-pg release or creating its version tag after the release pull request has merged.

Non-Negotiable Boundaries

  • Never run cargo publish or publish directly to crates.io.
  • Never request, use, or store publishing credentials.
  • Require explicit user approval before pushing a release branch, creating a pull request, or creating and pushing a version tag.
  • Publishing remains a separate Microsoft internal release process. Creating or pushing a tag does not publish the crate.
  • Follow RELEASE_POLICY.md.

Phase 1: Prepare the Release Change

Complete this phase before the release pull request is reviewed.

1. Determine the Version

  • Require an explicit target version.
  • Confirm it is a valid semantic version greater than the current version.
  • Update only the root package version in Cargo.toml.
  • Do not change the pg-stress package version or dependency versions unless they are part of the requested release.

2. Update the Changelog

In CHANGELOG.md:

  1. Keep an empty ## [Unreleased] section at the top.
  2. Move the pending entries into ## [X.Y.Z] - YYYY-MM-DD.
  3. Summarize all user-visible changes included since the previous release.
  4. Preserve the existing Keep a Changelog structure and section names.

Do not invent changes. Use the commits and diff since the previous version tag to confirm the release notes are complete.

3. Update the README

In README.md:

  1. Change Latest Release to the target version and summarize its most notable user-visible changes in three to five bullets.
  2. Move the former latest release summary into Previous Release.
  3. Keep the link to CHANGELOG.md and the release policy notice.

4. Validate the Package Locally

Run the packaging-specific check:

cargo package --allow-dirty

Report any packaging failure. Build and test validation is handled by the pull request checks; do not duplicate the full CI suite locally.

5. Create the Release Pull Request

Review the diff and summarize:

  • Target version
  • Release notes added
  • Validation results
  • Files changed

Ask for explicit user approval before performing remote operations. After approval:

  1. Commit the release preparation changes.
  2. Push the release branch.
  3. Create a pull request targeting main.
  4. Report the pull request URL and stop.

Do not create a tag while the pull request is open. Run Phase 2 in a later invocation after the pull request is merged.

Phase 2: Create the Post-Merge Tag

Run this phase only after the release pull request has merged into main.

1. Verify the Merge State

Before tagging, confirm:

  • The release pull request is merged and its base branch is main.
  • The merged commit is present in the latest origin/main.
  • Cargo.toml, CHANGELOG.md, and README.md at the merged commit all contain the target version.
  • The tag vX.Y.Z does not already exist.

If any condition is not met, stop without creating a tag. Never tag a feature branch or an unmerged release commit.

2. Request Tag Approval

Show the user:

  • The merged pull request URL
  • The exact merged commit to tag
  • The proposed tag name vX.Y.Z

Ask for explicit approval to create and push the tag. Approval from the pull request phase does not carry over; obtain fresh approval immediately before tagging.

3. Create, Push, and Verify the Tag

After approval, create an annotated tag on the verified merged commit and push only that tag:

git tag -a vX.Y.Z <merged-commit> -m "Release vX.Y.Z"
git push origin vX.Y.Z
git show --no-patch --decorate vX.Y.Z

Confirm that the remote tag resolves to the same commit. The skill ends after tag verification. Do not run cargo publish; publication is handled separately by Microsoft's internal release process.

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.