agentleFS
ddnexusddnexus/pagy/.claude/skills/release/SKILL.md

release

Skill5k starsChanged 7 days agoMITView on GitHub

Release a new pagy version the way the maintainer wants (version picked from the 💎 commits, bump script run without prompts, CI, release workflow, branches brought in line). Use when asked to release, publish or ship a version, or to run the release skill.

  • Reads credentials
  • Commits and pushes

196 other projects use a version of this.

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projects
Sep 2026Oct 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Most recently taken up by

Who's talking about ddnexus/pagy

The biggest 5 of 55 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 55

Talked about on GitHub, Hacker News and Bluesky (55 times).

On GitHub · 50

45 more on GitHub

On Hacker News · 3

Used with

Projects with it also use create-agent-adapter, changelog-style 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.
  • MicrosoftSkill

    create-agent-adapter

    Technical guide for creating a new Paperclip agent adapter. Use when building a new adapter package, adding support for a new AI coding tool (e.g. a new CLI agent, API-based agent, or custom process), or when modifying the adapter system. Covers the required interfaces, module structure, registration points, and conventions derived from the existing claude-local and codex-local adapters.

    Also in 5 projects that use this

  • GrinvSkill

    changelog-style

    Turn a commit range into CHANGELOG.md entries following common-changelog style. Use when finishing a PR or cutting a release, to write/fix the [Unreleased] section's entries — moving [Unreleased] under a new dated version heading is a separate, automated step (see the release skill / scripts/sync-version.ts), not this skill's job.

    Also in 4 projects that use this

  • GrinvSkill

    docs-consistency-check

    Check README/manifest.json/server.json/CHANGELOG.md/AGENTS.md and docs/*.md for drift against the actual registered tools and source. Use after adding, renaming, or removing a tool, or as part of a live-audit pass.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    component-release

    Prepares a verifiable Agent Landing Zone UI release. Use for release branches, VERSION, changelog entries, tags, release notes, and compatibility evidence; never publish without explicit human approval.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    documentation-consistency

    Keeps AI Landing Zone contributor, user, and operator documentation aligned with shipped Bicep behavior. Use for parameters, defaults, outputs, topology, deployment flow, operations, or releases.

    Also in 8 projects that use this

  • rivet-devSkill

    launch-graphics

    Generate agentOS marketing/launch graphics (launch & social heroes, code-snippet cards) from the committed generators in docs-internal/graphics. Use when asked to make, update, or render an agentOS launch image, social image, "agentOS Apps" graphic, or technical code-snippet image.

    Also in 3 projects that use this

  • +3 more from Grinv

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 3

    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
  1. Distinctive:

    Read their subjects, and their diffs when a subject leaves a doubt, and pick the bump.

    line 26
  2. Distinctive:

    Run the bump script with every question answered, so it never waits for a terminal: go on with unmarked commits, skip the edits, update the …

    line 46
  3. Very specific:

    When the request asks for a dry run, add -f dry_run=true: the workflow then stops after building the gem, and so does this procedure.

    line 84
  4. Distinctive:

    Check that the release, the gem and the docs are out.

    line 89

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

Releasing a version

This is the procedure for releasing pagy. Run it only when asked to release. The request authorizes every step below, including the Version X.Y.Z commit and the pushes that the project rules otherwise reserve to the maintainer, so do not ask for confirmations along the way. Report at the end with the version released and the link to the GitHub release.

Preconditions

Work on dev, in line with origin/dev, with a clean working tree. A dirty tree stops the release: report what is uncommitted and stop, without committing or stashing it.

git status --porcelain                          # must be empty
git fetch --tags origin && git rev-parse dev origin/dev   # must be the same commit

The version

The changes of the release are the commits since the latest tag whose subject starts with 💎. Read their subjects, and their diffs when a subject leaves a doubt, and pick the bump.

tag=$(git describe --tags --abbrev=0 origin/master)
git log --format='%h %s' "$tag"..dev

The bump is a patch when every change is a fix, a performance improvement or an internal change. It is a minor when at least one change adds something (an option, a helper, a locale) or deprecates something. A major is never picked here: a breaking change stops the procedure, report it and ask.

Also list the commits that change gem/ without the 💎. Read each diff: when it changes what the gem does, its line goes into the changelog in the editing step below; otherwise ignore it.

git log --format='%h %s' "$tag"..dev -- gem | grep -v '💎'

The bump

Run the bump script with every question answered, so it never waits for a terminal: go on with unmarked commits, skip the edits, update the top 100 contributors, update the top adopters only for a minor (it scrapes GitHub and rewrites all the tiles, which is slow and noisy for a patch), and do not commit. The token lifts the GitHub rate limit for the adopters update.

scripts/bump.rb patch --no-abort-on-unmarked --no-edit --top100 --no-adopters --no-commit
GITHUB_TOKEN=$(gh auth token) scripts/bump.rb minor --no-abort-on-unmarked --no-edit --top100 --adopters --no-commit

The script prints the gitlog and writes the changes into docs/CHANGELOG.md and .github/latest_release_body.md. Edit those two files only to add the line of an unmarked commit found above, or to reword a subject that a user of the gem would not understand, keeping the two files identical. Then commit and push.

git add -A && git commit -m "Version X.Y.Z" && git push origin dev

CI and the release workflow

The push triggers the API and E2E test workflows on dev. Wait for both; a failure stops the release, report the failing job.

sleep 30 && gh run list --branch dev --limit 2 --json databaseId,name,headSha   # the two runs of the Version commit
gh run watch <id> --exit-status

Then dispatch the release workflow and wait for it. It checks the version, merges dev into master, tags, publishes the gem, creates the GitHub release and publishes the docs.

gh workflow run release.yml -f version=X.Y.Z
sleep 10 && id=$(gh run list --workflow release.yml --limit 1 --json databaseId --jq '.[0].databaseId')
gh run watch "$id" --exit-status

When the request asks for a dry run, add -f dry_run=true: the workflow then stops after building the gem, and so does this procedure.

Verification

Check that the release, the gem and the docs are out.

gh release view X.Y.Z --json tagName,url
curl -s https://rubygems.org/api/v1/versions/pagy/latest.json
gh run list --workflow publish-docs.yml --limit 1 --json status,conclusion

Branches

The workflow merges dev into master with a merge commit that dev must receive: origin/dev is never left behind master. Update local master too.

git fetch origin master:master      # fast-forwards local master, which is not checked out
git merge --ff-only origin/master   # on dev
git push origin dev

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.