Agent skill
release-management
Manage releases with semantic-release, version bumps, and changelog generation. Use when preparing releases, debugging release failures, or understanding version history.
Install this agent skill to your Project
npx add-skill https://github.com/sgcarstrends/sgcarstrends/tree/main/.claude/skills/release-management
SKILL.md
Release Management Skill
Automated releases via semantic-release with unified "v" prefix versioning.
How It Works
- Commits pushed to
maintrigger.github/workflows/release.yml - Checks run first (test + lint matrix)
- semantic-release analyses commits since last tag
- Version bumped based on commit types (see
conventional-commitsskill) CHANGELOG.mdupdated automatically- All
package.jsonfiles updated across the monorepo (pnpm -r exec -- npm version) - Git tag created with
vprefix (e.g.,v4.46.0) - GitHub Release created with auto-generated notes
- Release commit created:
chore(release): v{version} [skip ci] - Vercel auto-deploys the new version
Version Scheme
- Format:
v{major}.{minor}.{patch}(e.g.,v4.46.0) - Unified version across the entire monorepo
- Tag format configured in
.releaserc.json:"tagFormat": "v${version}"
Configuration
.releaserc.json plugins:
@semantic-release/commit-analyzer— conventionalcommits preset@semantic-release/release-notes-generator— conventionalcommits preset@semantic-release/changelog— writesCHANGELOG.md@semantic-release/exec— bumps all package.json versions@semantic-release/git— commits changelog + package.json changes@semantic-release/github— creates GitHub Release, adds "released" label
Checking Release Status
# View recent releases
gh release list --limit 5
# View specific release
gh release view v4.46.0
# Check release workflow status
gh run list --workflow=release.yml --limit 5
# View release workflow logs
gh run view <run-id> --log
Debugging Release Failures
Release Not Triggered
- Verify commit type is
featorfix(notchore,docs, etc.) - Check workflow ran:
gh run list --workflow=release.yml - Verify branch is
main
Version Not Bumped
- Check commit message format matches conventional commits
- Look for
[skip ci]in commit message (release commits include this)
Workflow Failed
- Check GitHub Actions logs:
gh run view <run-id> --log - Common causes: test failures, lint errors, npm publish issues
Manual Release (Emergency Only)
# Create tag manually
git tag -a v4.47.0 -m "v4.47.0"
git push origin v4.47.0
# Create GitHub release from tag
gh release create v4.47.0 --generate-notes
Related
- See
conventional-commitsskill for commit message format - See
changelogskill for changelog details - See
deployment-rollbackskill for rolling back releases - Workflow:
.github/workflows/release.yml - Config:
.releaserc.json
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
component-tester
Run Vitest tests for a specific component with coverage. Use when making changes to React components to ensure tests pass and coverage is maintained.
cache-components
Ensure 'use cache' is used strategically to minimize CPU usage and ISR writes. Use when creating/modifying queries to verify caching decisions align with data update patterns and cost optimization.
ui-design-system
Enforce modern dashboard UI patterns with pill-shaped design, professional colour scheme, and typography standards. Use when building or reviewing UI components for the web application.
typography-spacing-enforcer
Enforce Typography system and modern spacing conventions. Use when implementing new UI components to ensure design consistency with project standards.
conventional-commits
Format commit messages following project conventions with commitlint validation. Use when committing changes, writing PR descriptions, or preparing releases.
dependency-upgrade
Upgrade dependencies safely using pnpm catalog, checking for breaking changes, and testing upgrades. Use when updating packages, applying security patches, upgrading major versions, resolving dependency conflicts, or modernizing tech stack.
Didn't find tool you were looking for?