Add versioning and a first release
This repo has no tags, no CHANGELOG and no release. There is no way for anyone to say which version of these skills they are using.
That matters more here than it would for a normal library, because of how the skills get consumed. People symlink the whole folder, or copy a single skill directory into their own project. Once a folder is copied it carries no provenance, and "I took jpa-patterns in March" is not something anyone can act on. With 144 forks the same problem appears from the other side: a fork owner has no point to diff against to see what moved upstream.
A release checklist has been sitting in my notes since the beginning and never got done. This issue is to finish it.
Proposal
Cut v1.0.0 once #5 lands.
v1.0.0 rather than v0.x. The skills have been stable for months and are in real use, and a 0.x prefix reads as "not ready" to anyone evaluating whether to adopt them. For a collection of markdown files a stability promise is one I can actually keep: under a major version, skill names and directory layout do not change, which is the only thing a symlink or a copy depends on.
Release notes
Not a dump of git log. A raw commit list tells a reader nothing about which skills changed, which is the one thing they care about.
This repo ships a changelog-generator skill and does not use it. The first CHANGELOG should be generated with it. The output is better than a commit dump, and being able to say the collection uses its own skills is worth something on its own.
One caveat: roughly half the commit history predates any convention, so the first CHANGELOG will need hand editing. From v1.0.0 onward, conventional commits keep it clean.
Decisions to make
Version anchor. Two options:
- A
VERSIONfile at the root. A workflow triggers on changes to it, reads the version, skips if the tag already exists, and publishes. The release becomes a reviewable PR alongside the CHANGELOG entry. - Tag driven, a workflow on
push: tags: 'v*'. Simpler, but the release is not reviewable before it happens and it depends on remembering to tag.
Leaning towards the first. There is no build artifact here, so the version file is purely a marker, and routing the release through a PR suits a project that goes quiet for stretches.
When to automate. The workflow can wait. v1.0.0 can be cut by hand, and the automation added once cutting one by hand starts to feel like a chore. Writing the automation first would mean automating something that has happened zero times.
Out of scope
Release assets. There is nothing to attach, the source archive GitHub generates is the artifact.
Publishing to a package registry. Not until someone asks for it.
Done, v1.0.0 is out: https://github.com/decebals/claude-code-java/releases/tag/v1.0.0
What was decided, so it does not have to be worked out again:
Version anchor. CHANGELOG.md, not a VERSION file. There is no build here, so a version file would exist only to be bumped and would eventually drift from the changelog. The changelog has to be edited at release time anyway, which makes it the one place that cannot fall behind. The top ## [x.y.z] heading is the version, and the [Unreleased] section is skipped by the parser.
Version number. 1.0.0 rather than 0.x. The stability promise is written down in concrete terms: within a major version, skill names and directory layout stay put, which is what copying or symlinking a skill folder actually depends on.
Release notes. Generated with this repo's own changelog-generator skill, in Keep a Changelog format.
All of it is now in docs/RELEASING.md, along with the four manual steps.
Automation is not done, on purpose. Cutting the first release by hand took a few minutes and taught us where the version should live, which is the thing writing a workflow first would have guessed at. Closing this rather than leaving it open as a maybe. When tagging by hand starts to feel like a chore, that gets its own issue.
One thing worth flagging: #8 may change the anchor. If this repo is packaged as an Agent Plugin, plugin.json carries a version field and becomes the natural home, with the changelog staying as the record for humans.