bcmyguest/personal-skills/release-setup
Claude Code and agent skill by bcmyguest/personal-skills
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Automated releases from Conventional Commits with git-cliff — owns the canonical cliff.toml (commit types → semver bump → release notes) shared by every release flow in this repo, and fully implements the GitLab CI variant (tag vX.Y.Z + GitLab Release with generated notes on every default-branch push). Use when asked to automate releases, tagging, changelogs, or release notes — on GitLab directly; for GitHub the language setup skills (rust-setup, uv-setup) ship the workflow and copy cliff.toml from here.
Install
npx vskill@latest install bcmyguest/personal-skills/release-setupSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as bcmyguest/personal-skills/release-setup.
Release automation from Conventional Commits
One doctrine, shared by every release flow:
- Commit types drive the version:
feat→ minor, breaking → major, else
patch; the first releasable commit produces v0.1.0 (initial_tag).
- git-cliff computes the bump (
git cliff --bumped-version) and renders the
notes (git cliff --unreleased --tag vX.Y.Z); if the bumped version equals the latest tag, nothing releasable landed and the pipeline no-ops.
- The committed manifest version is never hand-bumped — release pipelines
stamp the tag version in at build time.
- Registry publishing is Trusted Publishing only (OIDC) — never a
long-lived token in CI secrets or variables.
`templates/cliff.toml` is the canonical copy of the git-cliff config; the rust-setup and uv-setup release flows copy it from here. Enforce the commit convention at commit time via the pre-commit-setup skill's conventional-commits.repos.yaml fragment (with the --hook-type commit-msg install).
GitHub
The workflows are language-specific (binary matrices, crates.io vs PyPI), so they ship with the language skill — follow rust-setup or uv-setup, which copy cliff.toml from this skill.
GitLab
Fully implemented here, language-agnostic, no placeholders:
Wire it into .gitlab-ci.yml — add the include, and make sure a release stage exists (or rename the jobs' stage to one that does):
How it runs: on every push to the default branch, release:plan (git-cliff image) computes the bumped version and renders release-notes.md; release:publish (release-cli image) then creates the tag and the GitLab Release with those notes.
Caveats
- Protected tags: if the project protects
v*tags
(Settings → Repository → Protected tags), the job token can only create them when the pipeline runner is allowed to — grant Maintainers "create" on the pattern or relax it.
- Full history: the plan job sets
GIT_DEPTH: 0; don't override it with
a shallow clone setting, git-cliff needs the tags.
- Publishing packages is out of scope here, but both crates.io and PyPI
support Trusted Publishing from GitLab CI (OIDC id_tokens); consult the registry's trusted publisher docs and append a publish job gated on RELEASE == "true".
Verify
- Locally, with git-cliff installed:
git cliff --bumped-versionprints the
version the next default-branch push would release; git cliff --unreleased --tag <that-version> previews the notes.
- After pushing the wiring, CI → Editor → Validate (or the pipeline lint API)
should accept the config, and the first pipeline on the default branch should show both jobs (no-op until a releasable commit lands).
Checklist (GitLab)
- [ ]
cliff.toml+release.gitlab-ci.ymlcopied verbatim to the repo root - [ ] include added;
releasestage present instages: - [ ] Conventional Commits enforced via pre-commit-setup (commit-msg hook installed)
- [ ] protected-tag settings allow the pipeline to create
v*tags - [ ]
git cliff --bumped-versionsanity-checked locally (if git-cliff available) - [ ] first default-branch pipeline green; releasable commit produces tag + release with notes
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/release-setup/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
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/bcmyguest/personal-skills/release-setup)