agentleFS
FgForrestFgForrest/mcp-jdwp-java/.claude/skills/release/SKILL.md

release

Skill33 starsChanged 12 days agoMITView on GitHub

Use when cutting a new release of the jdwp-debugging plugin — bumping the user-facing version, writing a CHANGELOG entry, committing, tagging, and pushing. Triggers — "do a release", "ship X.Y.Z", "release the last commits", "bump the version", "tag a release".

  • 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

6 rules. 0 are common, 3 are distinctive, and 3 are 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.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run all of these before touching anything.

    line 27
  2. Very specific:

    Only fix: / chore: / docs: / review: → patch (X.Y.Z+1).

    line 35
  3. Distinctive:

    When in doubt between minor and patch, ask the user.

    line 37
  4. Very specific:

    Use a HEREDOC for the body.

    line 84
  5. Very specific:

    All past release tags are annotated (not lightweight) — keep it that way.

    line 97
  6. Distinctive:

    If you bumped the version on a feature branch and the PR was already merged into main before you committed, the release commit sits on an …

    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

Plugin Release

End-to-end workflow for releasing the jdwp-debugging plugin from this repo.

Never push, force-push, tag-delete-on-remote, or merge without explicit user permission. Local commits and local tags are reversible; remote pushes are not.

What gets released (vs not)

User-facing artifactBump on release?
.claude-plugin/marketplace.json versionYES — both occurrences
CHANGELOG.md new section at topYES
Annotated git tag vX.Y.ZYES
pom.xml <version> (Maven artifact)NO — internal build id only
jdwp-mcp-server/pom.xml <version>NO
README.mdNO (no version reference there)

The plugin version (in marketplace.json) is decoupled from the Maven version. Don't try to keep them in sync.

Pre-flight checks

Run all of these before touching anything.

  1. Identify the last release. git for-each-ref --sort=-taggerdate --format='%(refname:short) %(taggerdate:short) %(subject)' refs/tags/ | head -5. The most recent vX.Y.Z tag is the baseline. Sanity-check: the latest [X.Y.Z] entry at the top of CHANGELOG.md must equal the version in .claude-plugin/marketplace.json and equal the most recent tag. If any of those three disagree, fix that drift before bumping. (We hit this in 2.2.0 — v2.1.2 tag was missing and had to be back-filled.)
  2. Enumerate unreleased commits. git log <last-tag>..HEAD --oneline --no-merges. Read the full bodies for anything ambiguous — the feature/fix/breaking signal lives in the commit body, not the subject.
  3. Pick the SemVer bump from the commit set:
    • Any feat: (new MCP tool, new behavior) → minor (X.Y+1.0).
    • Only fix: / chore: / docs: / review: → patch (X.Y.Z+1).
    • Any breaking change (removed/renamed MCP tool, changed default that breaks user scripts) → major (X+1.0.0).
    • When in doubt between minor and patch, ask the user. The release plays out in public — over-bumping is fine, under-bumping is awkward.
  4. Check branch topology. git log --all --decorate --oneline --graph -10. The release commit must land on main. Three possible starting states:
    • On main with clean unreleased commits ahead → simplest case, commit there.
    • On a feature branch that's NOT yet merged → commit on the branch, PR will carry the release in. Bump before merging so the PR review sees the version change.
    • On a feature branch that's ALREADY merged via PR → you're on an orphan tip. Cherry-pick onto main (see "Cherry-pick recovery" below). This is the trap we hit in 2.2.0.
  5. Confirm the working tree. git status --short. Untracked junk like FIX_*.md, core/, .factorypath, IDE files must stay out of the release commit. Stage explicitly (git add <file> <file>), never git add -A / git add ..

Procedure

1. Bump .claude-plugin/marketplace.json

Two "version" strings to change — top-level marketplace version AND the inner plugins[0].version. Both must move to the new X.Y.Z together.

2. Write the CHANGELOG.md entry

New section at the top, above the previous version. Format is Keep a Changelog, already established in the file:

## [X.Y.Z] — YYYY-MM-DD

### New — <one-line headline>

<2-4 sentence paragraph explaining the motivation, what was broken or
missing before, and what the change does. User-perspective, not
implementation-perspective.>

- **Bold lead-in** — body sentence explaining one bullet.
- **Another bullet** — …

### Fixed — <one-line headline>

<…>

Section headings to choose from (use the ones that fit): ### New, ### Fixed, ### Breaking, ### Output token savings, ### Docs. Mirror the past entries ([2.1.0], [2.2.0]) for tone — paragraphs first, bulleted detail second. Resolve any #N GitHub issue references in the text (resolves #4) — they're useful for cross-linking.

Date: today's date in YYYY-MM-DD. The em-dash separator — is part of the convention.

3. The release commit

git add .claude-plugin/marketplace.json CHANGELOG.md
git commit -m "chore: release X.Y.Z — <short headline>"

Use a HEREDOC for the body. Three paragraphs is the established length (see 7b95e87, 1c40a71):

  1. Headline feature, what it does, resolves which issue.
  2. Concurrency / behavior fixes that ship alongside.
  3. Review polish summary.

Stage only those two files. Never include untracked files or unrelated edits.

4. Annotated tag

git tag -a vX.Y.Z -m "vX.Y.Z — <same short headline as commit>"

All past release tags are annotated (not lightweight) — keep it that way. Subject convention: vX.Y.Z — short description, em-dash separator. Verify with git for-each-ref --format='%(refname:short) %(objecttype) %(subject)' refs/tags/vX.Y.Z — objecttype must read tag, not commit.

5. Push (requires explicit user permission)

git push origin main
git push origin vX.Y.Z

Confirm with the user before each push. Never --force to main.

Cherry-pick recovery (when the release commit is orphaned)

If you bumped the version on a feature branch and the PR was already merged into main before you committed, the release commit sits on an orphan tip. Recovery:

git checkout main
git merge --ff-only origin/main          # catch local main up
git cherry-pick <release-commit-sha>     # replays onto main, new SHA
git tag -d vX.Y.Z                        # if the tag was made on the orphan
git tag -a vX.Y.Z <new-sha> -m "vX.Y.Z — …"

The cherry-pick produces a new SHA. The old tag (if any) still points at the orphan commit — recreate it at the new SHA before pushing. Don't push the orphan; let the feature branch die naturally.

Back-filling a missing tag

A past release commit without a tag (we found v2.1.2 was never tagged):

git tag -a vX.Y.Z <release-commit-sha> -m "vX.Y.Z — <copy headline from commit>"
git push origin vX.Y.Z

Tag the release commit itself (the one with chore: release X.Y.Z in the subject), not the merge that pulled it in.

Red flags

  • marketplace.json and CHANGELOG.md show different versions after your edits → you forgot one of the two version strings in JSON, or skipped the changelog.
  • git log <last-tag>..HEAD lists merge commits but no feature commits → you're tagging from the wrong baseline; find the actual last release commit.
  • The release commit's parent is not the current origin/main tip → either rebase or cherry-pick before pushing.
  • git for-each-ref refs/tags/vX.Y.Z shows objecttype commit not tag → lightweight tag by accident, redo with -a.
  • Working tree has untracked files when you stage → audit them; git add -A will swallow them.

Verification after push

git fetch origin
git log HEAD..origin/main --oneline      # should be empty
git log origin/main..HEAD --oneline      # should be empty
git ls-remote --tags origin | grep vX.Y.Z   # tag exists on remote

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.