agentleFS
rakaarwakyrakaarwaky/agents-arwaky/skills/git/releasing/SKILL.md

releasing

Skill0 starsChanged 4 days agoMITView on GitHub

Release, cut a release, ship a new version, publish or tag a release for the mergify CLI, recover a failed release run.

  • Commits and pushes

19 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use applying-template-updates, authoring-issues-prs and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • pvliesdonkSkill

    applying-template-updates

    Use when asked to work through, apply, resolve or review a template update pull request (the weekly `copier/update` branch opened by the copier-update workflow), after running `copier update --trust` by hand, or when a template update looks like it leaves no room for something this project needs.

    Also in 3 projects that use this

  • pvliesdonkSkill

    authoring-issues-prs

    Use when filing a bug, opening or creating a GitHub issue, drafting an epic or ticket, writing up a finding or review observation worth tracking, sizing a change before coding, or opening a pull request for this repository. Routes the change to the right repo first (library / template / domain), picks the right issue form, sizes the change to one PR, links epic children as native sub-issues, and applies CONTRIBUTING.md before anything is posted.

    Also in 3 projects that use this

  • zpower426Skill

    roadmapping

    Communicate the product evolution timeline and key milestones, balancing long-term goals with short-term delivery.

    Also in 3 projects that use this

  • quocldSkill

    logging-standard

    Use when writing or reviewing code that logs, when creating or changing a logger, request or job correlation, or log redaction, and when the user says "setup log", "setup logger", "thêm log", "chuẩn hoá log", "log bị lộ token", "log quá nhiều", "review log".

    Also in 3 projects that use this

  • MicrosoftSkill

    writing-release-notes

    Generates release notes and changelog entries for the DocumentDB extension for Visual Studio Code, and announces releases on GitHub Discussions. Use when preparing version releases, creating patch update notes, writing changelog entries, documenting new features and fixes, or posting a release or patch release announcement to Discussions. Handles both major/minor versions (new file) and patch updates (append to existing file).

    Also in 3 projects that use this

  • +7 more from pvliesdonk

The file

Files
SKILL.md

Releasing mergify-cli — autonomous headless release agent

Global Rules

  • Repo guard first: confirm git remote -v is Mergifyio/mergify-cli and the version scheme is CalVer (YYYY.M.D.N) targeting PyPI + Homebrew. If the repo uses semver/crates.io (e.g. a Rust workspace like lint-arwaky), stop — this skill does not apply; use that repo's own release process.
  • This is an agent instruction, not a human runbook. Run every step end-to-end, stop only on hard failures, and report a final status at the end.
  • The only step reported to the user and not executed is the Homebrew tap PR merge, which needs a human.
  • Everything is driven by .github/workflows/release.yml. There is no version to bump in any file — pyproject.toml and Cargo.toml keep placeholder versions and the workflow stamps the tag at build time. The release prep PR commits the version stamp and changelog; it is not a manual edit of version files.
  • Versions are calver: YYYY.M.D.N (no zero padding, N starts at 1 each UTC day).
  • Never commit the version bump directly to main or push a release tag outside the prep PR flow. The prep PR (Step 1) is mandatory: CI must run green on the release branch before merge, and the tag is created only on the merge commit. Bypassing it ships an unverified release.
  • Never run gh release create or 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.
  • Step 4 (Publish) is irreversible and outward-facing — it locks the release and pushes to PyPI. The headless flow proceeds straight to publish; this is the intended autonomous behavior, not a stop-and-ask step.
  • RELEASING.md at the repo root 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.

Routing

StepReferencePurpose
Step 0references/step-0-version-bump.mdVersion bump and changelog generation: compute NEW_VERSION, generate changelog with git-cliff, run the bump script (scripts/bump.sh / scripts/bump.py). Working directory: project root.
Step 1references/step-1-prep-pr.mdRelease prep PR: create branch, open PR, wait for green CI, auto-approve and merge with admin, switch back to main.
Step 2references/step-2-preflight.mdPre-flight checks: verify main is clean (CI green, no leftover draft release), report what ships since the previous tag. Stop on anything red.
Step 3references/step-3-build-draft.mdBuild the draft: trigger release.yml, watch (~5–10 min), verify the draft carries exactly seven assets. Proceed immediately to Step 4.
Step 4references/step-4-publish.mdPublish: gh release edit "$tag" --draft=false --latest, watch the publish job (~5–10 min), confirm PyPI + Homebrew tap PR.
Step 5references/step-5-verify.mdVerify after publishing: confirm PyPI reports the new version and the Homebrew tap PR is open. Report final status.

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.