semver-release-craft
Universal semantic versioning, release management, and Git tagging standard. Enforces Single Source of Truth (SSOT) version registers (package.json…
от hemanth17r★ 33 звезды на GitHub
Установить semver-release-craft в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
SemVer Release Craft & Release Architecture Standard
The Prime Directive
Never commit or deploy software with disconnected, arbitrary, or unpinned version states.
Every release must have a mathematically consistent Semantic Version (vMAJOR.MINOR.PATCH), a verified Single Source of Truth (SSOT) register in the codebase, an annotated Git tag, and a synchronized changelog entry.
1. The 3-Tier SemVer Decision Matrix
When preparing a release, analyze the Git diff since the last release tag:
v MAJOR . MINOR . PATCH
│ │ │
│ │ └── PATCH (0.0.X): Bug fixes, styling polish, microcopy, internal refactors
│ └────────── MINOR (0.X.0): Additive new features, new endpoints/screens, backward-compatible
└────────────────── MAJOR (X.0.0): Breaking API changes, schema removals, fundamental paradigm shifts
2. Universal 5-Step Release Execution Protocol
Whenever this skill is triggered, execute these 5 steps in order:
Step 1: Detect the Single Source of Truth (SSOT)
Scan the repository root for the language-specific version register:
- Node / TypeScript / JavaScript:
package.json("version": "X.Y.Z") - Python:
pyproject.toml(version = "X.Y.Z") orsetup.py - Rust:
Cargo.toml(version = "X.Y.Z") - Go:
version.goor Git tags only - Dart / Flutter:
pubspec.yaml(version: X.Y.Z+build)
If the application has an internal constant (e.g. export const APP_VERSION), ensure it dynamically references or mirrors the SSOT register to prevent drift.
Step 2: Determine Current vs. Target Version
- Query existing tags:
git tag --sort=-v:refname - Read current version from SSOT file.
- Compare diff:
git log $(git describe --tags --abbrev=0)..HEAD --oneline - Apply SemVer rules to calculate the exact next version:
- Contains breaking changes? $\to$ Bump MAJOR (e.g.,
1.2.4$\to$2.0.0). - Contains new features/screens? $\to$ Bump MINOR (e.g.,
1.2.4$\to$1.3.0). - Contains only bug fixes/polish? $\to$ Bump PATCH (e.g.,
1.2.4$\to$1.2.5).
- Contains breaking changes? $\to$ Bump MAJOR (e.g.,
Step 3: Update the SSOT Version Register
Update the target version in package.json, pyproject.toml, or Cargo.toml. Never leave it stale.
Step 4: Update or Generate CHANGELOG.md
Prepend a structured entry following standard Keep a Changelog conventions:
## [vX.Y.Z] - YYYY-MM-DD
### Added
- New features added in this release.
### Fixed
- Bugs and defects resolved.
### Changed
- Backward-compatible updates or refactors.
### Breaking Changes (if MAJOR)
- List breaking modifications.
Step 5: Commit and Cut Annotated Git Tag
- Stage modified version and changelog files:
git add <version_file> CHANGELOG.md git commit -m "chore(release): vX.Y.Z" - Create an annotated Git tag with a release summary:
git tag -a vX.Y.Z -m "Release vX.Y.Z: <Summary of changes>" - Push commit and tag to remote (unless hold-git-push is active):
git push origin <branch> --tags
3. Pre-Release Verification Checklist
Before cutting any release tag:
- Working tree is clean (no uncommitted dirty files).
- Test suite passes with 0 failures (
pytest,npm test,cargo test). - Production build succeeds (
npm run build,cargo build, etc.). - No temporary debug logs, print statements, or secrets are committed.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл semver-release-craft?
Universal semantic versioning, release management, and Git tagging standard. Enforces Single Source of Truth (SSOT) version registers (package.json, pyproject.toml, Cargo.toml), automated SemVer bump classification (MAJOR.MINOR.PATCH), structured CHANGELOG maintenance, and annotated Git release tagging. Trigger when asked to "prepare release", "tag version", "cut release", "bump version", "semver release", "release version", "tag release", or "publish release".
Как установить скилл semver-release-craft?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл semver-release-craft запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…