Hunk Release Workflow
modem-dev/hunk
Maintainer workflow for preparing, publishing, verifying and curating Hunk releases, with confirmation gates before tags, publishes and public edits.
Cut a new homeassistant-claude-kit version. An agent skill from dcb/homeassistant-claude-kit.
$ npx skills add dcb/homeassistant-claude-kit --skill release -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install dcb/homeassistant-claude-kit release --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/dcb/homeassistant-claude-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/release .claude/skills/release && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "release" agent skill from https://github.com/dcb/homeassistant-claude-kit/tree/main/.claude/skills/release into .claude/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/dcb/homeassistant-claude-kit/tree/main/.claude/skills/releaseType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add dcb/homeassistant-claude-kit --skill release -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install dcb/homeassistant-claude-kit release --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dcb/homeassistant-claude-kit.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/release .agents/skills/release && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "release" agent skill from https://github.com/dcb/homeassistant-claude-kit/tree/main/.claude/skills/release into .agents/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dcb/homeassistant-claude-kit --skill release -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install dcb/homeassistant-claude-kit release --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dcb/homeassistant-claude-kit.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/release .cursor/skills/release && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "release" agent skill from https://github.com/dcb/homeassistant-claude-kit/tree/main/.claude/skills/release into .cursor/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/dcb/homeassistant-claude-kit.git --path .claude/skills/release--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add dcb/homeassistant-claude-kit --skill release -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install dcb/homeassistant-claude-kit release --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dcb/homeassistant-claude-kit.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/release .gemini/skills/release && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "release" agent skill from https://github.com/dcb/homeassistant-claude-kit/tree/main/.claude/skills/release into .gemini/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install dcb/homeassistant-claude-kit releaseInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add dcb/homeassistant-claude-kit --skill release -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/dcb/homeassistant-claude-kit.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/release .github/skills/release && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "release" agent skill from https://github.com/dcb/homeassistant-claude-kit/tree/main/.claude/skills/release into .github/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add dcb/homeassistant-claude-kit --skill release -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install dcb/homeassistant-claude-kit release --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/dcb/homeassistant-claude-kit.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/release .opencode/skills/release && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "release" agent skill from https://github.com/dcb/homeassistant-claude-kit/tree/main/.claude/skills/release into .opencode/skills/release/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "release", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
releaseCut a new homeassistant-claude-kit version. An agent skill from dcb/homeassistant-claude-kit.
Release is an agent skill from dcb/homeassistant-claude-kit. Cut a new homeassistant-claude-kit version. Curates commits since the last tag into kit-changelog.yaml entries, derives the semver bump, renders CHANGELOG.md, bumps .kit-version + dashboard/package.json, then creates a signed tag and (confirmed) GitHub release. Producer-only — runs entirely inside the kit repo, reads only its own git history. Trigger phrases: "cut a release", "release the kit", "bump the kit version", "tag a new version", "run the release skill", "publish vX.Y.Z".
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/changelog-schema.md`).
It sits in Development, covering Git workflow and Changelog and release notes. It works with GitHub, npm, Home Assistant and Git. The repository describes itself as: AI-guided Home Assistant setup — automation templates, mobile-first React dashboard, and Claude Code skills for configuration management. The licence is MIT.
9 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c0d05e2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
gitghpythonFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Release loads about 3.1k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 123 tokens; SKILL.md has 1,293 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from dcb/homeassistant-claude-kit at commit c0d05e2, republished under its MIT licence (© dcb). 1,293 words, ~3,119 tokens.
.claude/skills/release/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.This skill is the producer half of kit versioning. It reads ONLY the kit's own git
history and writes the version artifacts — the git tag, .kit-version, kit-changelog.yaml,
CHANGELOG.md, and dashboard/package.json — in one commit so version and content always
travel together. It is idempotent per version: re-running it on a version that is already
released, tagged, and pushed is a no-op at every step (append-only changelog, pre-existing-tag
guard, idempotent GitHub release). The changelog's detect/apply prose is authored
generically and is never executed.
See references/changelog-schema.md for the full record schema, the intent contract, the
deterministic commit→type mapping, and the rendering rules.
Run each check; branch on the sentinel it prints.
# Clean working tree (untracked files are allowed; tracked modifications are not)
git diff --quiet && git diff --cached --quiet && echo "TREE_OK" || echo "TREE_DIRTY"
# On the default branch
def=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
[ -z "$def" ] && def=main
[ "$(git branch --show-current)" = "$def" ] && echo "BRANCH_OK" || echo "BRANCH_WRONG"
# A baseline tag exists and is >= v0.1.0
git fetch --tags --quiet 2>/dev/null
last=$(git tag --list 'v*' --sort=-v:refname | head -1)
[ -n "$last" ] && echo "LAST_TAG=$last" || echo "TAGS_MISSING"
# Signing capability (decides -s vs -a in Step 7)
if [ -n "$(git config --get user.signingkey)" ] && git tag -s __sigprobe__ -m x >/dev/null 2>&1; then
git tag -d __sigprobe__ >/dev/null 2>&1; echo "SIGN_OK"
else
git tag -d __sigprobe__ >/dev/null 2>&1; echo "SIGN_NONE"
fi
# GitHub CLI auth (for the release in Step 8)
gh auth status >/dev/null 2>&1 && echo "GH_OK" || echo "GH_NONE"v0.1.0 tag must exist first (it is created once, during the versioning foundation). Do not invent one.git tag -s to git tag -a and log: "no usable signing key — creating an annotated (unsigned) tag." Never abort for this.gh release create and print the exact command for the user to run later.The changelog's detect/apply can only be synthesized well if commit messages carry intent.
git log "$last"..HEAD --no-merges --pretty='%h%x09%s'For each releasable commit (one NOT in the skip-list of Step 3), require a Conventional-Commit
subject (^(feat|fix|change|removed|security|perf|refactor|docs|chore|style|test|ci|build)(\(.+\))?!?: )
and a body that explains why / how you'd know you're affected.
*(deps) commits that are non-Conventional → warn and skip (do not block the release).detect/apply.git rev-list --count "$last"..HEAD # 0 → nothing new
git log "$last"..HEAD --no-merges --reverse --pretty='%h%x09%s%n%b'--no-merges).git show --stat --name-only <sha>) — needed for the file-aware skip decision (Step 3) and for conditions/detect_hint.Group related commits into one logical change each (a feature's many commits → one entry with a commit range; a follow-up fix to an unreleased feature folds into that feature's entry). This grouping is the only step that uses judgment — everything downstream is deterministic.
One entry = exactly one type. Never merge a fix and a feat into one entry, even if they touch
the same files — emit two entries, each with its own commits subset, so each renders in its correct
section. Present the proposed grouping to the user for confirmation before synthesizing entries.
Derive type and breaking from Conventional Commits — a lookup, not judgment:
feat: → feature · fix: → fix · security-tagged fix → security · a behavioral refactor!/change: → change · a removal → removed.breaking: true iff any grouped commit has ! after type/scope OR a BREAKING CHANGE: footer (orthogonal to type).docs, chore, style, test, ci, refactor, build — but FILE-AWARE. A skip-typed commit that touches a transportable path (docs/templates/**, dashboard/src/**, config/**, .kit-version, kit-changelog.yaml, the skills) is not skipped → reclassify it as change. (A docs: commit that edits a shipped card template is a real, transportable change.)revert: — if it reverts a commit in this same $last..HEAD range, drop BOTH the reverted commit and the revert (they cancel; no entry, no bump). If it reverts a prior-release commit, classify change (or fix).If, after classification, there are zero releasable entries (e.g. everything was skip-listed), print "N commits found but none are releasable" and exit 0 — no bump, no tag.
The version must be known before entries are stamped. From the Step-3 classifications:
feature OR breaking (0.x rule).targetVersion.>= 1.0.0, breaking → MAJOR instead. Do not auto-cross 1.0.0 — that is a maintainer decision; confirm.)So fix/security/change/removed-only releases are PATCH (never "no bump"). Confirm targetVersion with the maintainer.
For each curated group build a kit-changelog.yaml entry (schema in references/changelog-schema.md):
id (new stable slug), version: <targetVersion>, type, breaking, title, commits, conditions,
detect (+ optional generic detect_hint), apply, default_action.
detect/apply generically — describe the pattern/component, never a specific entity ID.default_action: ask for behavioral fixes/changes; skip-if-absent when feature-gated; auto only for self-contained, path-safe additions. It is a ceiling, never authority to run transported files.kit-changelog.yaml under changes:. NEVER rewrite or reorder existing entries. De-dup: if an entry with the same id, or a ## [targetVersion] section, already exists, skip the append (idempotency).CHANGELOG.md from kit-changelog.yaml (Keep a Changelog 1.1.0): ## [x.y.z] - YYYY-MM-DD (date from the release, latest-first); sections Added / Changed / Removed / Fixed / Security mapped from type; one-line bullets with inline commit links; [**BREAKING**] prefix on breaking entries; omit an Unreleased section; compare links at the bottom. Render is deterministic (stable order by id within a version; no today()). Every entry appears in exactly one section.git diff --exit-code CHANGELOG.md, which always trips because you just wrote it.) Also assert bullet-count == entry-count for the version..kit-version version: → targetVersion; bump dashboard/package.json version → targetVersion.python tools/validate_changelog.py — abort before committing on any failure.# Stage ONLY the artifacts, by explicit path — never `git add -A`.
git add kit-changelog.yaml CHANGELOG.md .kit-version dashboard/package.json
git commit -m "release: vX.Y.Z"
# Pre-existing-tag guard — never -f.
git rev-parse -q --verify "refs/tags/vX.Y.Z" >/dev/null && echo "TAG_EXISTS" || echo "TAG_FREE"git tag -s vX.Y.Z -m "Release vX.Y.Z" (or git tag -a if Step 0 said SIGN_NONE).-f; if the tag points at a different commit than the one just built, report it and stop for manual intervention; otherwise fall through to Step 8's idempotent GitHub-release check.git reset --hard <pre-release-HEAD> and git tag -d vX.Y.Z.Local creation is complete. The commit and tag exist locally; nothing has been pushed. The push is a separate, explicitly confirmed step.
# Resolve the kit remote by URL match — never assume `origin`.
kit_remote=$(git remote -v | awk '/homeassistant-claude-kit(\.git)?[[:space:]].*\(push\)/{print $1; exit}')
[ -n "$kit_remote" ] && git remote get-url "$kit_remote" || echo "NO_KIT_REMOTE"origin (an install's origin may be the user's own private config repo).git push "$kit_remote" "refs/tags/vX.Y.Z"
git push "$kit_remote" HEAD:"$def"git push --tags; never a bare/inferred remote; never -f.owner_repo=$(git remote get-url "$kit_remote" | sed -E 's#(git@github.com:|https://github.com/)##; s#\.git$##')
gh release view "vX.Y.Z" --repo "$owner_repo" >/dev/null 2>&1 \
&& echo "REL_EXISTS (skip)" \
|| gh release create "vX.Y.Z" --repo "$owner_repo" --title "vX.Y.Z" --notes-from-tagReleased vX.Y.Z. Added N changelog entr(y/ies), bumped
.kit-versionanddashboard/package.json, renderedCHANGELOG.md, and pushed a signed (or annotated) tag to<kit-remote-url>. GitHub release: created / already existed / command printed. Re-runningreleaseon this version is a no-op.
| Symptom | Likely cause | Fix |
|---|---|---|
TREE_DIRTY at Step 0 | Uncommitted tracked changes | Commit or stash; releases never sweep in WIP |
| Intent-gate lists commits | Non-Conventional / body-less releasable commits | Reword via interactive rebase before releasing |
| "Nothing to release" | HEAD is at the last tag (empty range) | Expected no-op; nothing to do |
| "none are releasable" | All commits are skip-listed (docs/chore/…) and touch no transportable path | No release needed |
| Render-check shows a diff | CHANGELOG.md was hand-edited | Re-render from kit-changelog.yaml; never edit the .md by hand |
validate_changelog.py fails | Malformed/missing schema field | Fix the offending entry; re-run before committing |
SIGN_NONE | No usable signing key | Annotated -a tag is created automatically; configure user.signingkey for signed tags |
TAG_EXISTS | Version already tagged | Do not -f; if it diverges, resolve manually; else continue to the GitHub-release check |
NO_KIT_REMOTE | Only a non-kit remote configured | Add/identify the kit remote explicitly; never push to origin blindly |
GH_NONE | gh not authenticated | gh auth login, or create the release manually — the tag is already pushed |
© dcb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file (references) in .claude/skills/release of dcb/homeassistant-claude-kit.
Open the folder on GitHubat commit c0d05e2
Release next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Release this skilldcb/homeassistant-claude-kit | 123 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Hunk Release Workflowmodem-dev/hunk | 9.5k | — | ~3.8k | Automated safety check: Pass | MIT | |
| ZCF Release AutomationUfoMiao/zcf | 6.1k | — | ~3.4k | Automated safety check: Pass | MIT | |
| ClawRouter Release ChecklistBlockRunAI/ClawRouter | 6.6k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Release Bumpjamiepine/voicebox | 57k | — | ~1.1k | Automated safety check: Pass | MIT | |
| Verdaccio Pull Request Workflowverdaccio/verdaccio | 18k | — | ~1.9k | Automated safety check: Pass | MIT |
modem-dev/hunk
Maintainer workflow for preparing, publishing, verifying and curating Hunk releases, with confirmation gates before tags, publishes and public edits.
UfoMiao/zcf
Automates a version release with changesets: analyzes code changes, writes a bilingual CHANGELOG, bumps the version and commits through a release branch and pull request.
BlockRunAI/ClawRouter
Walks the agent through every ClawRouter release step in order, from the version bump and changelog entry to build, tests, npm publish, git tag and GitHub release.
jamiepine/voicebox
Ends a release cycle by moving the Unreleased changelog notes under a dated version heading, bumping version files with bumpversion and tagging the commit.
verdaccio/verdaccio
Takes a change through a verdaccio pull request: branch, local checks, changeset, title and body, labels, CI and review rounds, and ports to other release lines.
redis/go-redis
Prepares a go-redis release locally: picks the next semver, gathers merged PRs, writes the RELEASE-NOTES entry and bumps versions, without publishing.
dcb/homeassistant-claude-kit
Batch rename Home Assistant entities to follow a consistent naming convention.
dcb/homeassistant-claude-kit
Run after setup-infrastructure to map rooms, entities, and preferences to the dashboard and automation templates.
dcb/homeassistant-claude-kit
Pull a newer homeassistant-claude-kit version into this (diverged) install, applying only the changes still relevant here.
Works with
Categories
Cut a new homeassistant-claude-kit version. An agent skill from dcb/homeassistant-claude-kit. Release is an agent skill from dcb/homeassistant-claude-kit. Cut a new homeassistant-claude-kit version.
Release fits situations like: phrases: cut a release; release the kit; bump the kit version; tag a new version.
Run `npx skills add dcb/homeassistant-claude-kit --skill release -a claude-code`. Or copy the skill folder (.claude/skills/release in dcb/homeassistant-claude-kit) into .claude/skills/release in your project. Claude Code loads it when a task matches its description.
Run `npx skills add dcb/homeassistant-claude-kit --skill release -a codex`. Or copy the skill folder (.claude/skills/release in dcb/homeassistant-claude-kit) into .agents/skills/release in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dcb/homeassistant-claude-kit --skill release -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/release, .gemini/skills/release, .github/skills/release and .opencode/skills/release in your project.
Going by SKILL.md and its folder, Release needs the command-line tools its instructions call (git, gh and python). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Release is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Release: Hunk Release Workflow (modem-dev/hunk, 9.5k stars), ZCF Release Automation (UfoMiao/zcf, 6.1k stars), ClawRouter Release Checklist (BlockRunAI/ClawRouter, 6.6k stars) and Release Bump (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
dcb (a GitHub user) maintains it in dcb/homeassistant-claude-kit, which has 123 GitHub stars. The repository holds 4 skills in this directory. The repository was last updated on October 2, 2026.
Source: dcb/homeassistant-claude-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.