Release Skill
Use this skill when the user says "release", "cut a release", "ship it", or similar.
This skill curates a release for the Claude Manager VS Code extension. The CI/CD workflow (.github/workflows/release.yml) handles the actual version bump, build, packaging, and publish to the Marketplaces — this skill just prepares human-readable release notes and decides the bump level via the commit message.
Flow
1. Verify git state
bashgit status git branch --show-current
- Working tree must be clean (no uncommitted changes)
- If not on
main, ask the user whether to merge the current branch first - Check there's anything to release:
git log $(git describe --tags --abbrev=0)..HEAD --onelinemust be non-empty
If no commits since last tag, stop and tell the user there's nothing to release.
2. Gather commits since last release
bashLAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "") if [ -z "$LAST_TAG" ]; then git log --oneline else git log $LAST_TAG..HEAD --oneline fi
Read the list. Ignore commits authored by github-actions[bot] (those are auto-bumps).
3. Categorize commits
Group commits by conventional-commit prefix:
| Prefix | Section title |
|---|---|
feat: / feature: | Features |
fix: | Bug Fixes |
perf: | Performance |
refactor: | Refactoring |
docs: | Documentation |
style: | UI/Styling |
test: | Tests |
build: / chore: / ci: | Build / CI |
| anything else | Other |
Skip commits that are purely version bumps (release: v1.2.3) or merge commits (Merge branch) unless they carry meaningful content.
4. Decide bump level
Inspect commit messages to determine patch / minor / major:
- Major: any commit message contains
[major]or starts withbreaking:orBREAKING CHANGE - Minor: any commit message contains
[minor]or starts withfeat:orfeature: - Patch: anything else (fixes, chores, docs, perf, refactor, style)
5. Compute next version
Read current version from package.json:
bashnode -p "require('./package.json').version"
Apply the bump rule to get the next version (e.g., 1.1.1 + minor → 1.2.0).
6. Generate the release notes markdown
Create a new file at docs/releases/v{nextVersion}.md with this structure:
markdown# v{nextVersion} _Released YYYY-MM-DD_ <one-sentence summary of the release — what's the headline feature or theme> ## ✨ Features - <feat: commit subject> ([short-sha](link-to-commit)) - ... ## 🐛 Bug Fixes - <fix: commit subject> ([sha]) - ... ## ⚡ Performance - ... ## 💅 UI / Styling - ... ## 📦 Build / CI - ... ## 📚 Documentation - ... ## 🔧 Refactoring - ... ## Other - ... --- **Full changelog**: https://github.com/vishalguptax/claude-code-manager/compare/{lastTag}...{nextVersion}
Skip empty sections. If a section has no commits, omit it entirely. Keep commit subjects as-is (don't paraphrase) but strip the feat: / fix: etc. prefix so the section headings carry the type info.
Links: use https://github.com/vishalguptax/claude-code-manager/commit/{full-sha} as the href, show the 7-char short SHA as the link text.
7. Update CHANGELOG.md at repo root
Prepend a new entry to CHANGELOG.md (create it if it doesn't exist) in this format:
markdown# Changelog ## [{nextVersion}] - YYYY-MM-DD <same one-sentence summary as the release notes file> See [docs/releases/v{nextVersion}.md](docs/releases/v{nextVersion}.md) for full details. ## [{previousVersion}] - ... ...
This keeps the root CHANGELOG short and marketplace-friendly while the per-release files hold the full detail.
8. Commit everything
Stage the new release notes file and the updated CHANGELOG.md. Commit with a message that includes the bump keyword so the CI workflow picks the right level:
- Patch:
release: v{nextVersion}(no keyword needed, default is patch) - Minor:
release: v{nextVersion} [minor] - Major:
release: v{nextVersion} [major]
Example:
bashgit add docs/releases/v1.2.0.md CHANGELOG.md git commit -m "release: v1.2.0 [minor]"
9. Push
bashgit push
The CI workflow .github/workflows/release.yml will:
- Run tests
- Build the extension
- Bump
package.jsonversion (same bump we computed, via the commit message keyword) - Re-commit the version bump back to
mainasgithub-actions[bot] - Tag
{nextVersion} - Package the
.vsix - Publish to VS Code Marketplace (if
VSCE_PATsecret set) - Publish to Open VSX (if
OVSX_TOKENsecret set) - Create a GitHub Release with the
.vsixattached, using the content ofdocs/releases/v{nextVersion}.mdas the release body (workflow reads the file)
10. Report back
Tell the user:
- The new version number
- The bump level (patch / minor / major)
- How many commits are included
- Where the release notes file was created
- That CI is now handling the publish
- Link to Actions:
https://github.com/vishalguptax/claude-code-manager/actions
Guardrails
- Never bump version in package.json directly — let the CI workflow do it to avoid conflicts.
- Never create the git tag directly — CI creates it after bumping.
- Never run
npm publishorvsce publishlocally — CI owns publishing. - Don't include bot commits in release notes (they're version bumps, not meaningful changes).
- Don't release from a dirty tree — stop and ask the user to commit or stash first.
- Don't release from a feature branch without asking — the main branch is the release source.
- If the user hasn't added the
VSCE_PAT/OVSX_TOKENsecrets, the publish steps are skipped silently but the GitHub Release still gets created — mention this in the report.
File expected by CI
The CI workflow expects the release notes file at:
docs/releases/v{version}.md
It uses body_path on the softprops/action-gh-release step to load the file content into the GitHub Release body. If the file is missing, the workflow falls back to GitHub's auto-generated release notes.


