releasing
Skill0 starsChanged 55 days agoMITView on GitHub
Cut and ship a new release of the `mergify` CLI — build the draft release with its platform binaries, publish it, and verify PyPI and the Homebrew tap picked it up. Use when asked to release, cut a release, ship a new version, publish a release, tag a version, or when a release run failed and needs recovery. Triggers on "release", "new version", "cut a release", "ship it", "publish the release", "bump the version", "release failed", "PyPI publish failed".
- Commits and pushes
9 other projects use a version of this.
Adopted by
Most recently taken up by
- pvliesdonk/markdown-vault-mcptheir own version, first seen Oct 3, 2026
- alexei-led/ccgramtheir own version, first seen Oct 1, 2026
- pvliesdonk/scholar-mcptheir own version, first seen Sep 30, 2026
- qiaeru/skills-githubtheir own version, first seen Sep 23, 2026
- tronschell/shinbotheir own version, first seen Sep 12, 2026
- amyodov/yet-another-agentic-chattheir own version, first seen Sep 11, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- alexei-led/ccgram★ 277same name
- OdradekAI/bundles-forge★ 229same name
- pvliesdonk/markdown-vault-mcp★ 34same name
- jianger666/cursor-feedback-extension★ 32same name
- amyodov/yet-another-agentic-chat★ 4same name
- AnglerfishChess/chess-uci-mcp★ 2same name
- pvliesdonk/scholar-mcp★ 2same name
- qiaeru/skills-github★ 1same name
- tronschell/shinbo★ 1same 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 repository156 other files it gives its agents.
- AGENTS.mdAGENTS.md
- aes-agentSkill
- aes-capabilitiesSkill
- aes-contractSkill
- aes-docsSkill
- aes-lint-arwakySkill
- aes-migrationSkill
- aes-rootSkill
- aes-surfaceSkill
- aes-taxonomySkill
- aes-testing-suiteSkill
- aes-utilitySkill
- omnirouteSkill
- xai-apiSkill
- android-emulator-linux-gpsSkill
- chromium-profile-provisioningSkill
- flatpak-chromium-automationSkill
- qwen-web-arwaky-devSkill
- qwen-webSkill
- agent-tool-collectionSkill
- coding-agent-delegationSkill
- computer-useSkill
- hermes-agentSkill
- hermes-home-cleanupSkill
- hermes-messaging-gatewaysSkill
- merge-reconcilerSkill
- codegraphSkill
- cleanup-consolidateSkill
- codacy-analysis-cliSkill
- codacy-cloud-cliSkill
- codacy-code-reviewSkill
- codebase-inspectionSkill
- coderabbit-reviewSkill
- configure-codacy-cloudSkill
- configure-codacySkill
- fix-bypassSkill
- fix-markdown-inline-htmlSkill
- harness-source-auditSkill
- no-mistakesSkill
- ponytail-auditSkill
- ponytail-debtSkill
- ponytail-gainSkill
- ponytail-helpSkill
- ponytail-reviewSkill
- ponytailSkill
- report-linter-false-positiveSkill
- setup-coverageSkill
- architecture-diagramSkill
- ascii-artSkill
- ascii-videoSkill
- baoyu-infographicSkill
- comfyuiSkill
- excalidrawSkill
- humanizerSkill
- manim-videoSkill
- no-ai-slopSkill
- p5jsSkill
- popular-web-designsSkill
- pretextSkill
- sketchSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 48
Leave tag empty unless the user asked for a specific version.
- Distinctive: line 82
Only after the user explicitly says to publish:
“Common” is measured: kept by at least 6 in 10 of the 6 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
Releasing mergify-cli
Everything is driven by .github/workflows/release.yml. There is no version
to bump in any file — pyproject.toml and Cargo.toml keep their placeholder
versions and the workflow stamps the tag in at build time. Never open a "release
prep" PR.
Versions are calver: YYYY.M.D.N (no zero padding, N starts at 1 each UTC day).
RELEASING.md at the repo root is the human-facing runbook and explains why
the flow is shaped this way (GitHub's immutable-releases policy). Read it when
something goes wrong or the workflow itself needs changing.
Guardrails
- Never run
gh release createor push a tag by hand. A release created outside the workflow has no binaries, and once published it is immutable — the asset assertion then permanently blocks the PyPI publish for that version. - Never click / script "Draft a new release" in the Releases UI. Same trap.
- Stage 2 (Publish) is irreversible and outward-facing — it locks the release and pushes to PyPI. Always get the user's explicit go-ahead before publishing, even if they already asked for "a release"; report the draft URL and stop.
- Stage 1 is safe and repeatable: a draft can be deleted and rebuilt.
Stage 1 — build the draft
Pre-flight (report anything red, don't silently proceed):
gh run list --workflow=ci.yaml --branch main --limit 1 # main is green
gh release list --limit 3 # no leftover draft
git log --oneline $(git describe --tags --abbrev=0)..origin/main # what shipsTrigger it:
gh workflow run release.yml # auto-picks YYYY.M.D.<next>
# or, only when a specific version is needed:
gh workflow run release.yml -f tag=2026.9.4.1 -f target_commitish=<sha>Leave tag empty unless the user asked for a specific version; leave
target_commitish empty unless cherry-picking a release off an older line.
Watch it (~5–10 min):
gh run list --workflow=release.yml --limit 1
gh run watch <run-id> --exit-statusIt builds the five-target wheel matrix, extracts the mergify binary from each
wheel, packages the archives + SHA256SUMS, dumps cli-schema.json, signs the
binaries with build provenance, and creates the draft release with notes
generated from the PRs merged since the previous tag.
Then verify — the draft must carry exactly these seven assets:
tag=$(gh release list --limit 1 --json tagName --jq '.[0].tagName')
gh release view "$tag" --json isDraft,url,assets --jq '{draft:.isDraft,url:.url,assets:[.assets[].name]}'mergify-<tag>-x86_64-unknown-linux-gnu.tar.gzmergify-<tag>-aarch64-unknown-linux-gnu.tar.gzmergify-<tag>-x86_64-apple-darwin.tar.gzmergify-<tag>-aarch64-apple-darwin.tar.gzmergify-<tag>-x86_64-pc-windows-msvc.zipSHA256SUMScli-schema.json
Give the user the draft URL and the generated notes to review. Stop here.
Stage 2 — publish
Only after the user explicitly says to publish:
gh release edit "$tag" --draft=false --latestThat fires release: published, which re-asserts the seven assets, rebuilds the
wheels with the same version stamp, and pushes to PyPI via Trusted Publishing
(~5–10 min). Watch the release run the same way as in stage 1.
Note edits must happen before this (gh release edit "$tag" --notes-file
notes.md) — drafts are mutable, published releases are not.
Verify after publishing
gh run list --workflow=release.yml --limit 2 # publish job green
curl -s https://pypi.org/pypi/mergify-cli/json | jq -r .info.version
gh pr list --repo Mergifyio/homebrew-tap --author mergify-ci-botThe Homebrew formula bump is automatic: the homebrew-tap-sync workflow in
Mergifyio/mergify-ci-bot opens a PR against Mergifyio/homebrew-tap within
~20 minutes of publish, updating RELEASE and the four per-arch checksums from
SHA256SUMS. It still needs a human to merge it. The docs site picks up
cli-schema.json off the latest release on its own — nothing to do there.
Recovery
| Symptom | Fix |
| Stage 1 failed mid-run | No release exists yet, or a draft does. Delete the draft (gh release delete <tag> --cleanup-tag) and re-run stage 1. |
| Draft missing assets | Delete the draft and re-run stage 1 — never backfill by hand. |
assert-binaries-present failed after publish | The release was created outside the workflow and is now immutable. Delete the release and its tag, then re-run stage 1 with the same tag. |
| PyPI publish failed (transient / outage) | Wheels are built; re-run just the failed job: gh run rerun <run-id> --failed. |
| Wrong version already on PyPI | PyPI versions can't be reused or overwritten. Ship the next N — do not try to reuse the tag. |
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.

