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

release-preparation

Skill34 starsChanged 10 months agoMITView on GitHub

Preparing duroxide-python release pull requests. Use when bumping the package version, updating release notes, or preparing a new PyPI release.

5 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions5 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 5

    1. github/github-mcp-server★ 35ksame name
    2. Caldis/Mos★ 22ksame name
    3. microsoft/duroxide★ 247same name
    4. microsoft/duroxide-pg★ 45same name
    5. microsoft/duroxide-node★ 35same 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 repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Do not publish to PyPI, create a GitHub Release, start the internal release pipeline, or request publishing credentials.

    line 12
  2. Very specific:

    Keep an empty [Unreleased] section above the new release entry.

    line 23
  3. Distinctive:

    Update directly related documentation when the release changes documented behavior.

    line 24
  4. Distinctive:

    Do not invent changelog entries or include unrelated changes in the release preparation.

    line 29
  5. Distinctive:

    Before presenting the changes:

    line 34
  6. Very specific:

    Commit the release preparation, push the branch, and create a pull request.

    line 42
  7. Very specific:

    Check that its Build & Smoke workflow passes.

    line 43
  8. Distinctive:

    After the pull request is merged:

    line 48
  9. Distinctive:

    Ask the user for explicit approval to create and push the release tag.

    line 54
  10. Very specific:

    Create the tag on the recorded merge SHA and push it to origin.

    line 57

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

This skill prepares the repository changes for a release. Publishing is handled by Microsoft's internal release infrastructure as described in RELEASE_POLICY.md.

Do not publish to PyPI, create a GitHub Release, start the internal release pipeline, or request publishing credentials.

Prepare the Release

  1. Confirm the target semantic version with the user if it was not provided.
  2. Set the same version in:
    • pyproject.toml under [project]
    • Cargo.toml under [package]
  3. Move the relevant entries from CHANGELOG.md's [Unreleased] section into a section named for the target version and current date.
  4. Keep an empty [Unreleased] section above the new release entry.
  5. Update directly related documentation when the release changes documented behavior.
  6. Confirm Cargo.toml uses registry versions for duroxide and duroxide-pg, with no local path overrides or [patch.crates-io] section.

Do not invent changelog entries or include unrelated changes in the release preparation.

Validate the Preparation

Before presenting the changes:

  • Confirm the versions in pyproject.toml and Cargo.toml match.
  • Confirm the changelog version and date are correct.
  • Confirm the diff contains only the intended release preparation.

Create the Release Pull Request

Commit the release preparation, push the branch, and create a pull request. Check that its Build & Smoke workflow passes. Do not merge the pull request on the user's behalf.

Tag the Merged Release

After the pull request is merged:

  1. Resolve the pull request's exact merge commit SHA from GitHub and confirm the pull request state is MERGED.
  2. Fetch origin/main, confirm the merge SHA is contained in it, and verify the package and changelog versions at that exact commit.
  3. Ask the user for explicit approval to create and push the release tag. Prior approval to prepare the release or create the pull request is not sufficient.
  4. Confirm the v-prefixed tag does not already exist locally or on origin.
  5. Create the tag on the recorded merge SHA and push it to origin.

For example, package version 0.1.29 uses tag v0.1.29. Treat release tags as immutable; never move or reuse an existing tag. Never substitute the current origin/main or HEAD tip for the release pull request's merge SHA.

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.