agr-release
Skill451 starsChanged 7 months agoMITView on GitHub
Release process for the agr package. Handles version bumping (major/minor/patch/beta), changelog updates, pre-release quality checks, git tagging, and monitoring the GitHub Actions publish pipeline. Use this skill whenever the user wants to cut a release, bump the version, publish to PyPI, or asks about the release process — even if they just say "let's ship it" or "time for a new version".
- Commits and pushes
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kasperjunge/agent-resources-projectword for word, first seen Oct 8, 2026
Other versions1 project uses a version of this.
Word for word · 1
- kasperjunge/agent-resources-project★ 451100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agr-cliSkill
- skill-debriefSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. About 0 are common, 12 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Verify the preconditions. If any fail, stop and tell the user.
- Distinctive: line 28
Ask the user what kind of release this is:
- Distinctive: line 34
If the user already said what type they want, don't ask again.
- Distinctive: line 38
Before touching any files, understand what's being released.
- Distinctive: line 56
Run all three locally before proceeding.
- Distinctive: line 66
If anything fails, fix it before continuing.
- Distinctive: line 70
Not every release needs doc changes — use judgement.
- Distinctive: line 82
If nothing user-facing changed (internal refactors, test improvements, dependency bumps), skip this step and move on.
- Distinctive: line 103
Make sure all changes from Step 1 are included under the right categories
- Very specific: line 104
Add a new empty ## [Unreleased] section at the top
- Distinctive: line 137
After pushing the tag, monitor the GitHub Actions pipeline:
- Distinctive: line 151
If any stage fails, read the logs and help the user fix it:
- Distinctive: line 180
If the pipeline fails and you need to retry:
- Very specific: line 183
Delete the tag locally and remotely: git tag -d vX.Y.Z && git push origin :refs/tags/vX.Y.Z
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
agr Release Process
This skill walks through the full release process for the agr package. The release is
tag-driven: pushing a vX.Y.Z tag triggers the GitHub Actions pipeline that runs quality
checks, builds the package, publishes to PyPI, and creates a GitHub Release.
Your job is to prepare everything so that when the tag is pushed, the pipeline succeeds on the first try.
Before you start
Verify the preconditions. If any fail, stop and tell the user.
- Clean working tree —
git statusshould show no uncommitted changes - On the
mainbranch — releases should only come from main - Up to date with remote —
git pullto make sure you're not behind
Ask the user what kind of release this is:
- patch (0.7.10 → 0.7.11) — bug fixes, small changes
- minor (0.7.10 → 0.8.0) — new features, backwards-compatible
- major (0.7.10 → 1.0.0) — breaking changes
- beta (0.7.11b1) — pre-release for testing
If the user already said what type they want, don't ask again.
Step 1: Figure out what changed
Before touching any files, understand what's being released.
# See all commits since the last release tag
git log $(git describe --tags --abbrev=0)..HEAD --onelineAlso check the [Unreleased] section in CHANGELOG.md — it may already have entries. Cross-reference with the git log to make sure nothing is missing. If there are commits that aren't reflected in the changelog, add them.
Group changes into the standard Keep a Changelog categories:
- Added — new features
- Changed — changes to existing functionality
- Fixed — bug fixes
- Removed — removed features
- Docs — documentation-only changes
Step 2: Run quality checks
Run all three locally before proceeding. These are the same checks the CI pipeline runs, so catching failures here saves a round-trip.
uv run ruff check .
uv run ruff format --check .
uv run pytest -m "not e2e and not network and not slow"
uv run ty checkIf anything fails, fix it before continuing. The release commit should pass CI cleanly.
Step 3: Check if docs need updating
Not every release needs doc changes — use judgement. Docs updates are warranted when:
- A CLI command was added, removed, or its flags changed
- A new module or public API was added
- Behavior that users rely on changed in a way they'd notice
The docs to consider:
README.md— the primary entry point, should reflect current capabilitiesdocs/docs/reference.md— CLI command referencedocs/docs/index.md— landing page / getting started- Other files in
docs/docs/as relevant (sdk.md, configuration.md, etc.) - Skills in
skills/— if any exist and are affected by the changes
If nothing user-facing changed (internal refactors, test improvements, dependency bumps), skip this step and move on.
Step 4: Bump the version
The version lives in pyproject.toml (the single source of truth — importlib.metadata picks it up at runtime via agr/__init__.py):
pyproject.tomlline 7:version = "X.Y.Z"
Calculate the new version based on the current version and the release type the user chose.
For beta releases, append b1 (or increment the beta number if one already exists):
0.7.10→0.7.11b1(first beta of next patch)0.7.11b1→0.7.11b2(next beta)0.7.11b2→0.7.11(promote beta to stable)
Step 5: Update the changelog
In CHANGELOG.md:
- Replace
## [Unreleased]with## [X.Y.Z] - YYYY-MM-DD(today's date) - Make sure all changes from Step 1 are included under the right categories
- Add a new empty
## [Unreleased]section at the top - Review the entries — they should be concise but descriptive enough that a user scanning the changelog understands what changed without reading the code
The changelog format matters because the GitHub Actions pipeline extracts the version's section to use as release notes. Malformed entries = bad release notes.
Step 6: Commit, tag, and push
# Stage the changed files
git add pyproject.toml agr/__init__.py CHANGELOG.md
# Plus any docs files you updated
# Commit
git commit -m "release: vX.Y.Z"
# Tag
git tag vX.Y.Z
# Push commit and tag
git push origin main
git push origin vX.Y.ZWait for the user to confirm before pushing. Show them a summary of what will be pushed:
- The version being released
- The changelog entry
- Which files were modified
- The tag that will be created
Step 7: Monitor the pipeline
After pushing the tag, monitor the GitHub Actions pipeline:
# Watch the workflow run
gh run list --workflow=publish.yml --limit=1
gh run watch $(gh run list --workflow=publish.yml --limit=1 --json databaseId -q '.[0].databaseId')The pipeline has four stages:
- Quality Checks — ruff + pytest
- Build Package —
uv build+ verify - Publish to PyPI — trusted publishing via OIDC
- Create GitHub Release — extracts notes from CHANGELOG.md
If any stage fails, read the logs and help the user fix it:
gh run view <run-id> --log-failedCommon failure modes:
- Quality checks fail → something slipped past local checks, fix and re-tag
- PyPI publish fails → usually a version conflict (version already exists on PyPI)
- Release notes extraction fails → changelog format issue
Step 8: Verify the release
Once the pipeline succeeds, confirm:
# Check PyPI (may take a minute to propagate)
pip index versions agr
# Check the GitHub release exists
gh release view vX.Y.ZTell the user the release is live and share the links:
- PyPI: https://pypi.org/project/agr/X.Y.Z/
- GitHub Release: the URL from
gh release view
If something goes wrong after pushing
If the pipeline fails and you need to retry:
- Fix the issue
- Delete the tag locally and remotely:
git tag -d vX.Y.Z && git push origin :refs/tags/vX.Y.Z - Amend the release commit if needed, or create a new fix commit
- Re-tag and re-push
This is destructive — confirm with the user before deleting tags.
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.

