Release
Cut a release of the compound plugin — verify, bump, commit, tag, push, and reinstall locally.From its SKILL.md
npx -y skills add mthanhlm/compound --skill releaseAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
6.1 KB, as published. Nobody here has run it
Release
Cuts a release of this plugin. Repo-local, so it never ships to anyone who installs it.
Users only receive an update when version in plugin.json changes — the cache is keyed
on that string. A release that forgets the bump is a release nobody gets.
Step 1 — Refuse to release broken
Run all of them. Every one must pass before anything else happens:
claude plugin validate . --strict
./tests/test-compound-lint.sh
./tests/test-hooks.sh
./bin/compound-lint wiki
If any fails, stop and report it. Do not fix it as part of the release — a release that also changes behaviour is two things at once, and the failure is the more interesting one.
./tests/test-triggers.sh runs real sessions and costs tokens and minutes. Run it when any
description: changed since the last tag, and skip it otherwise. Say which you did.
Then confirm the working tree is clean apart from what is being released, and that main
has no unpushed divergence you did not expect.
Completion criterion: every check above passed, and you can name what changed since the last tag.
Step 2 — Choose the version
Read git log <last-tag>..HEAD and decide, semver:
- patch — fixes and wording that change no behaviour
- minor — a new skill, a new rule in the working agreement, a new hook
- major — a removed or renamed command, or anything that breaks an existing repo's setup
Removing a command is major even when it feels small: someone's muscle memory breaks.
State the version and the one-line reason. This is the only judgement call in the release, so make it visible rather than silent.
Completion criterion: a version number, and the change that justifies its level.
Step 3 — Bump and record
Set version in .claude-plugin/plugin.json.
Add an entry at the top of CHANGELOG.md — under ## <version> — <YYYY-MM-DD>, grouped
into Added, Changed, Fixed, Removed. Write for someone deciding whether to
update, not for someone reading the diff: what changes for them, not which files moved.
Completion criterion: the manifest version and the newest changelog heading match.
Step 4 — Commit and tag
git add -A
git commit -m "Release <version>"
git tag -a v<version> -m "<version>"
Commits are authored as the repo's configured identity. Do not pass --author; if
git config user.name is wrong, that is a git config fix, not a release-time override.
Completion criterion: the tag points at the release commit.
Step 5 — Push
git push is blocked by this plugin's own hook, deliberately. Publishing this repo is the
one exception, and it needs two things to be true at once:
COMPOUND_RELEASE=1 git push origin main --follow-tags
- the push must target this plugin's own repo, which the hook checks by comparing plugin manifest names, and
- the command must spell out the prefix, so it stays deliberate and visible.
Neither half works alone. The prefix is worthless in any other repo on the machine, so there is nothing here to suggest to anyone as a way around the block in their own work — it would not work if they tried.
No remote yet? Stop and say so. Creating a GitHub repo is an outward-facing act and it is
the maintainer's to make, not something a release should do on its own. Same if the push
fails on authentication: report it, and do not try gh, a token, or a different remote.
Completion criterion: git ls-remote --tags origin shows the new tag, and
git rev-parse HEAD matches git rev-parse origin/main.
Step 6 — Install the way a new user does, from nothing
Run the exact two commands the README gives, against a torn-down install. Not
marketplace update — that only proves an already-configured marketplace refreshes, and
says nothing about whether a stranger following the README ends up with a working plugin.
This step is how the install instructions get tested, and they are the first thing anyone
runs.
The installed plugin must come from GitHub, not from this working copy. A directory-source marketplace serves whatever is on disk — including edits never committed and never pushed — so verifying against one proves nothing about what a user receives.
Tear it down completely first:
claude plugin uninstall compound@compound
claude plugin marketplace remove compound
rm -rf ~/.claude/plugins/cache/compound ~/.claude/plugins/marketplaces/compound
Then run the documented path, verbatim, exactly as the README prints it:
claude plugin marketplace add mthanhlm/compound
claude plugin install compound@compound
If either command has to be adjusted to work, the README is wrong — fix the README, do not adjust the command here. What is written down is what people will run.
Then inspect:
claude plugin marketplace list
claude plugin details compound
Four things must hold, and none of them is "the commands succeeded" — install succeeds
while serving stale files, which is exactly how this went wrong before
(wiki/local-install-gotchas.md):
marketplace addandinstallboth ran clean with no arguments changed.marketplace listreportsSource: GitHub (mthanhlm/compound).plugin detailsreports the version just tagged.- The skill and hook counts match what the manifest ships.
Completion criterion: all four hold, from an install built by the README's own commands after a full teardown.
Step 7 — Report
State:
- the version, and the one-line reason for its level
- what the changelog entry says
- the confirmed installed version, and that it came from GitHub
Then give the two commands a new user runs, so they can be copied straight out:
claude plugin marketplace add mthanhlm/compound
claude plugin install compound@compound
Followed by /compound:setup once per repo.
If a GitHub release would help, offer it — gh release create v<version> --notes-from-tag
— but only when asked. Publishing a release is a separate outward-facing act from pushing a
tag.