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

release

Skill27 starsChanged 6 months 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

190 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use watch-pr, marketplace 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.
  • Hugging FaceSkill

    watch-pr

    Monitor a PR's CI checks and Greptile code review after submission. Polls CI status, auto-fixes failures via ralph-loop, waits for Greptile review, addresses comments, and iterates until green.

    Also in 3 projects that use this

  • OpenAISkill

    marketplace

    Vercel Marketplace expert guidance — discovering, installing, and managing third-party integrations via the `vercel integration` CLI. Use when building any app that needs an external capability without a dedicated skill — commerce (stores, storefronts, selling products), payments (checkout, subscriptions, billing), observability/monitoring, messaging/email, search, or CMS — or when discovering, installing, or managing integrations.

    Also in 4 projects that use this

  • Microsoft AzureSkill

    engineering-principles

    GPT-RAG Orchestrator architecture and implementation principles. Use for design, review, meaningful refactoring, runtime strategies, FastAPI, Azure integration, security, testing, or operations.

    Also in 4 projects that use this

  • ZAidBinAsifSkill

    write-readme

    Write README files as landing pages not API docs

    Also in 3 projects that use this

  • polyant-aiSkill

    plugin-authoring

    Use when creating, converting, or loading Polyant agent tools/plugins — authoring a *.tool.ts with defineTool, the serialized (JSON Schema) contract, converting a legacy registerTool tool, or wiring an external plugin via PLUGIN_DIRS / src/plugins. Also covers authoring a *.hook.ts with defineHook (conversation lifecycle hooks + control returns halt/injectContext/replaceResponse/regenerate). Covers the module-resolution rules that decide where a plugin can live.

    Also in 3 projects that use this

  • eugenelimSkill

    new-spec

    Use this skill when the user wants to start a new feature with a spec, or wants to write a spec for something they're about to build. Triggers on "new spec", "write a spec for X", "let's spec this out", "start a feature for…". Spec-driven development; the spec drives implementation. Do NOT use for cross-cutting proposals (use `new-rfc`) or recording decisions (use `new-adr`).

    Also in 3 projects that use this

  • Other versions190 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 190

    1. tw93/Pake★ 62ksame name
    2. Yeachan-Heo/oh-my-claudecode★ 40ksame name
    3. openai/symphony★ 28ksame name
    4. slopus/happy★ 24ksame name
    5. coleam00/Archon★ 24ksame name
    6. microsoft/agent-lightning★ 19ksame name
    7. EverMind-AI/EverOS★ 13ksame name
    8. 0xJacky/nginx-ui★ 12ksame name
    9. modelcontextprotocol/inspector★ 11ksame name
    10. max-sixty/worktrunk★ 8.8ksame name

    180 more not listed

    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 repository2 other files it gives its agents.

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 172 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 28
  2. Very specific:

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

    line 36
  3. Distinctive:

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

    line 38
  4. Very specific:

    Use a HEREDOC for the body.

    line 85
  5. Very specific:

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

    line 98
  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 111

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