codebam/hermes-skills/tag-triggered-releases
Claude Code and agent skill by codebam/hermes-skills
- community
Checking that the SKILL.md file is still in the repository.
Use when cutting release tags that fire CI deploys.
Install
npx vskill@latest install codebam/hermes-skills/tag-triggered-releasesSKILL.md
The same SKILL.md was published earlier as codebam/hermes-skills/tag-triggered-releases.
Tag-Triggered Releases
For repos where CI fires a deploy from a tag instead of a branch push — typically a submodule monorepo with per-component tag series (bot-v*, webapp-v*) and a workflow that checks out submodules recursively at the tagged commit. "Cut the release" means: pick the right components, number them from the remote, create the tags, and push in an order the workflow can actually check out.
When to Use
- The user asks to "make new tags", "cut a release", or "tag so we can deploy".
- A workflow in the repo triggers on tags (
on: push: tags: ['*-v*']) and you need to know
what to create and in what order to push it.
- You are in a submodule monorepo where the deploy checks out submodules recursively at a
tagged superproject commit.
- You have to prepare a release in a session that cannot push (no credentials) and hand the
user the exact commands.
Procedure
- Read the repo's release script before typing a single git command.
Repos of this shape usually ship one (scripts/release.sh, make release) and its header documents the triggers and the push order — the authoritative answer, unlike a reconstruction from the workflow file. Running it also gets you: a fetch first (the remote is authoritative for numbering), refusals on dirty worktrees / stale branches / already-existing tags, the same checks CI runs, and a per-component patch bump. Flags worth looking for: --no-push (create locally, print the push order), --no-fetch (offline), --dry-run, -y, -n/--no-sign.
- A signing-by-default script dies when no GPG key is available; that is the cue to
--no-sign and to disclose that the tags are annotated, not signed.
- Number from the remote, never from a tag listing.
git fetch --tagsfirst. If you cannot fetch (no credentials), say so and give the
last-fetch time the number was computed from — never present a stale number as current.
- Never read the next version off `git tag --list | tail`: tag names sort
lexicographically, so v12.6.99 sorts after v12.6.100 and the tail shows an old tag. Sort by version fields: git tag -l '<prefix>[0-9]*' | grep -E '^<prefix>[0-9]+\.[0-9]+\.[0-9]+$' | sort -t. -k1,1n -k2,2n -k3,3n | tail -1, or let the release script compute it.
- Series are per component and their counters drift apart. Tag only components whose code
changed — including a workspace-shared package compiled into a component's bundle. A tag on an unchanged component redeploys identical behaviour; skip it and say why.
- Push in dependency order.
- submodule branch(es) — the workflow's checkout is
submodules: recursive, so the commit
pinned by the tagged superproject commit must already exist on the submodule remote; tagging first fails the checkout.
- superproject branch — records the new gitlink, and pushing it may itself be a trigger
(commonly a dev/staging deploy; say so).
- the tag last — that is the production deploy.
- When you cannot push, hand off instead of improvising. No credentials is a normal state,
not a failure: cut the tags with the script's no-push mode and report the commands in order with the reason for the order, plus the caveats — numbering unverified since the last fetch (name the time), tags annotated rather than GPG-signed and the command to redo them signed, and which components got no tag. Never push, and never re-tag, on the user's behalf when credentials are absent: their host is the authority.
- Verify the tag you actually created before reporting it.
git cat-file -t <tag> (expect tag), git tag -n99 -l <tag> for the message, git log -1 --format='%h %s' <tag>^{} for the commit, and git ls-tree <tag>^{} <submodule> <submodule> to confirm the gitlinks match the branches about to be pushed. Report that evidence, not the intention.
Rules
- "Make tags we can push" means create and stop. Push only when the user asks for the push
itself; otherwise end with the ordered commands.
- Tag the components whose behaviour changed, and only those. A no-op redeploy is noise the
user has to reason about later.
- The tag message is the release's changelog line — write what shipped, not the subject line of
whatever commit happens to be HEAD (the release script's default is "<tag>: <HEAD subject>", which is often a docs or chore commit).
- Run the repo's gate on the integration tree before tagging (or let the release script run its
checks) rather than skipping them with --skip-checks.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/software-development/tag-triggered-releases/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/codebam/hermes-skills/tag-triggered-releases)