agentleFS
DailybotHQDailybotHQ/ai-diff-reviewer/.agents/skills/release/SKILL.md

release

Skill1 starsChanged 4 months agoMITView on GitHub

Cut a new vX.Y.Z release tag, update CHANGELOG, push to origin, publish a GitHub Release. The release.yml workflow then auto-updates the moving major tag for the current line (e.g. v2) so consumers pinning @v2 pick up the new version.

  • Commits and pushes

196 other projects use a version of this.

Adopted by

Most recently taken up by

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

8 rules. 0 are common, 4 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 186 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Does NOT bump versions or generate changelog entries from scratch — those should already exist under [Unreleased] in CHANGELOG.md.

    line 23
  2. Very specific:

    Does NOT update the moving major tag manually — release.yml does that on the release event.

    line 24
  3. Very specific:

    Does NOT push breaking changes without a major-version discussion.

    line 25
  4. Distinctive:

    Run before doing anything destructive:

    line 33
  5. Distinctive:

    If anything is wrong, stop and surface the issue to the user.

    line 50
  6. Distinctive:

    Update the comparison links at the bottom:

    line 58
  7. Distinctive:

    If the auto-extracted notes look wrong, edit them in the GitHub UI afterwards.

    line 97
  8. Very specific:

    If vX didn't move to the new tag, check the release.yml run — it might have failed.

    line 110

“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

Skill: Release

Objective

Cut a SemVer release of AI Diff Reviewer — chore(release): vX.Y.Z commit, tag, push, and GitHub Release publication. The release.yml workflow handles the moving major tag automatically.

This skill is the canonical procedure; the slash-command entry point at .agents/commands/release.md is the user-facing interface.

Non-goals

  • Does NOT bump versions or generate changelog entries from scratch — those should already exist under [Unreleased] in CHANGELOG.md.
  • Does NOT update the moving major tag manually — release.yml does that on the release event.
  • Does NOT push breaking changes without a major-version discussion. If this is a vN.0.0, a separate process (issue, migration guide) must have happened first.

Inputs

  • version — the SemVer tag to cut, e.g. v1.2.0. Required. Ask the user if not provided.

Pre-flight

Run before doing anything destructive:

# On the right branch?
git rev-parse --abbrev-ref HEAD              # must be `main`
git fetch origin && git status               # working tree clean, up to date

# Compile-check passes?
python3 -m py_compile scripts/reviewer.py    # exit 0

# Action.yml parses?
python3 -c "import yaml; yaml.safe_load(open('action.yml'))"

# CHANGELOG has [Unreleased] entries?
grep -A1 "^## \[Unreleased\]" CHANGELOG.md

If anything is wrong, stop and surface the issue to the user. Do not proceed.

Steps

1. Update CHANGELOG.md

  • Promote ## [Unreleased] to ## [X.Y.Z] — YYYY-MM-DD (today's date).
  • Insert a fresh empty ## [Unreleased] block above the new versioned entry.
  • Update the comparison links at the bottom:
- [Unreleased]: https://github.com/DailybotHQ/ai-diff-reviewer/compare/<prev>...HEAD
- [<prev-version>]: ...
+ [Unreleased]: https://github.com/DailybotHQ/ai-diff-reviewer/compare/<new>...HEAD
+ [<new-version>]: https://github.com/DailybotHQ/ai-diff-reviewer/compare/<prev>...<new>
+ [<prev-version>]: ...

2. Commit

git add CHANGELOG.md
git commit -m "chore(release): vX.Y.Z"

3. Push the commit

git push origin main

4. Tag and push the tag

git tag vX.Y.Z
git push origin vX.Y.Z

5. Publish the GitHub Release

gh release create vX.Y.Z \
  --title "vX.Y.Z" \
  --notes-from-tag \
  --latest

If the auto-extracted notes look wrong, edit them in the GitHub UI afterwards.

6. Verify

After ~1 minute:

git fetch --tags
git rev-parse vX                              # major tag should match vX.Y.Z
git log --oneline vX -1                       # should be the release commit
gh run list --workflow=release.yml --limit 1  # the release workflow should be green

If vX didn't move to the new tag, check the release.yml run — it might have failed.

Post-release

  • Confirm with the user whether to announce. Patch releases usually don't; minor/major usually do.
  • For a major release, double-check that README.md's uses: DailybotHQ/ai-diff-reviewer@vN line points at the new major.

Failure modes

  • Compile-check fails before tagging. Fix on main, push, then start over.
  • Tag push fails because tag exists. A previous attempt left the tag locally. Verify git tag -l vX.Y.Z matches the intended commit; if so, just push it. If not, delete and retag (git tag -d vX.Y.Z) — but only if it doesn't exist on the remote yet.
  • gh release create fails. Likely the tag isn't pushed yet, or gh isn't authenticated. Check gh auth status.
  • release.yml fails to move the major tag. Investigate the workflow log; a manual fallback is git tag -f vX vX.Y.Z && git push origin vX --force — but only if you understand the workflow's behaviour.

Rollback

Releases are public. Don't delete tags — consumers may have pulled them. Don't force-move the major tag back — same reason. Instead, cut vX.Y.{Z+1} with the fix; the moving major tag advances forward to it.

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.