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
- microsoft/duroxide-nodetheir own version, first seen Oct 4, 2026
- microsoft/duroxide-pythontheir own version, first seen Oct 3, 2026
- microsoft/duroxidetheir own version, first seen Sep 10, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- microsoft/duroxide★ 221same name
- microsoft/duroxide-node★ 36same name
- 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.
- .github/copilot-instructions.mdCopilot instructions
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
- Very specific: line 8
Use this skill when preparing a duroxide-pg release or creating its version tag after the release pull request has merged.
- Very specific: line 13
Never run cargo publish or publish directly to crates.io.
- Distinctive: line 14
Never request, use, or store publishing credentials.
- Very specific: line 29
Update only the root package version in Cargo.toml.
- Very specific: line 30
Do not change the pg-stress package version or dependency versions unless they are part of the requested release.
- Very specific: line 37
Keep an empty ## [Unreleased] section at the top.
- Distinctive: line 42
Do not invent changes. Use the commits and diff since the previous version tag to confirm the release notes are complete.
- Very specific: line 52
Keep the link to CHANGELOG.md and the release policy notice.
- Distinctive: line 56
Run the packaging-specific check:
- Distinctive: line 74
Ask for explicit user approval before performing remote operations.
- Distinctive: line 77
Commit the release preparation changes.
- Distinctive: line 79
Create a pull request targeting main.
- Distinctive: line 82
Do not create a tag while the pull request is open.
- Distinctive: line 87
Run this phase only after the release pull request has merged into main.
- Distinctive: line 99
If any condition is not met, stop without creating a tag.
- Distinctive: line 110
Ask for explicit approval to create and push the tag.
- Distinctive: line 116
After approval, create an annotated tag on the verified merged commit and push only that tag:
“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.
Files
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 publishor 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-stresspackage version or dependency versions unless they are part of the requested release.
2. Update the Changelog
In CHANGELOG.md:
- Keep an empty
## [Unreleased]section at the top. - Move the pending entries into
## [X.Y.Z] - YYYY-MM-DD. - Summarize all user-visible changes included since the previous release.
- 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:
- Change
Latest Releaseto the target version and summarize its most notable user-visible changes in three to five bullets. - Move the former latest release summary into
Previous Release. - Keep the link to
CHANGELOG.mdand the release policy notice.
4. Validate the Package Locally
Run the packaging-specific check:
cargo package --allow-dirtyReport 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:
- Commit the release preparation changes.
- Push the release branch.
- Create a pull request targeting
main. - 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, andREADME.mdat the merged commit all contain the target version.- The tag
vX.Y.Zdoes 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.ZConfirm 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.
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
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.

