Release
Use when publishing this agent-skills repository, bumping synchronized Codex, Claude, and Gemini extension versions, creating the release commit, or pushing the release to GitHub.From its SKILL.md
npx -y skills add hhk7734/hhk7734 --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
4.3 KB, as published. Nobody here has run it
Release
Overview
Publish this repository as an agent-skills release. Keep all extension metadata versions synchronized, verify the repository state, commit the release intentionally, and push only the intended changes.
Skill Source Of Truth
plugins/hhk7734/skills is the source of truth for packaged skills. The top-level skills directory is the generated Gemini skill directory and must not overwrite the plugin skill directory during release work.
Version Rules
This project uses Conventional Commits and SemVer. Releases are committed as chore(release): bump extension version to x.y.z on main — no tags are produced.
Compute the bump from the Conventional Commit types of every commit between the last release commit and HEAD, and apply the largest bump that matches:
| Commit type | Bump |
|---|---|
fix, refactor, style, chore, docs, test | patch |
feat | minor |
! (breaking change) | major |
An explicit version supplied by the user always overrides the computed bump.
Workflow
-
Inspect state before changing anything:
git status --short git branch --show-current git remote -v git log --oneline -10 -
Determine the target version.
-
If the user provides a version, use that exact SemVer value.
-
Otherwise, list commits since the last release commit and apply the rule from the Version Rules section above:
LAST_RELEASE=$(git log --grep='^chore(release):' -n 1 --pretty=format:%H) git log "$LAST_RELEASE..HEAD" --onelinePresent the commit-type breakdown and the recommended next version, and wait for confirmation or an override before editing files.
-
Keep these files at the same version:
plugins/hhk7734/.codex-plugin/plugin.jsonplugins/hhk7734/.claude-plugin/plugin.json.claude-plugin/marketplace.jsonundermetadata.versiongemini-extension.json
-
-
Edit only the release metadata, canonical files under
plugins/hhk7734/skills, and any explicitly requested release notes or generated artifacts. Do not move skill directories or reformat unrelated JSON. -
Check whether the generated Gemini skill directory has drifted from the canonical plugin skills:
diff -qr plugins/hhk7734/skills skillsIf it differs, refresh only the Gemini skill directory from the source of truth before validating:
rm -rf skills cp -a plugins/hhk7734/skills skillsNever copy
skillsback intoplugins/hhk7734/skills. -
Validate before committing:
jq . plugins/hhk7734/.codex-plugin/plugin.json plugins/hhk7734/.claude-plugin/plugin.json .claude-plugin/marketplace.json gemini-extension.json >/dev/null rg --hidden -n '"version"\s*:\s*"' --glob '!/.git/**' --glob '!/.tmp/**' . git diff --check git diff --stat HEAD git diff HEADConfirm the only version fields that changed are the intended release metadata fields unless the user explicitly requested more.
-
Stage explicit paths. Never use
git add .orgit add -A. -
Commit with a Conventional Commit message:
git commit -F - <<'EOF' chore(release): bump extension version to x.y.z EOF -
Push only after the commit succeeds and the user asked for a release or publish flow:
git status --short git push origin HEAD -
Report the version, commit hash, push target, and final
git status --short.
Guardrails
- Do not create tags unless the user explicitly asks or the repository later establishes tag-based releases.
- Do not publish with uncommitted unrelated changes staged.
- Preserve user changes in the worktree; if unrelated edits already exist, stage only the release files.
- For direct main publish flows, include generated artifacts when relevant and inspect staged diffs for whitespace-only churn.
- If a validation command fails, fix the root cause before committing instead of bypassing the check.