Claude-Skills release-manager
git clone https://github.com/borghei/Claude-Skills
T=$(mktemp -d) && git clone --depth=1 https://github.com/borghei/Claude-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/engineering/release-manager" ~/.claude/skills/borghei-claude-skills-release-manager && rm -rf "$T"
engineering/release-manager/SKILL.mdRelease Manager
The agent automates release management by parsing conventional commits into structured changelogs, determining semantic version bumps, and assessing release readiness with checklists, rollback runbooks, and stakeholder communication plans.
Quick Start
# Generate changelog from conventional commits git log --oneline v1.0.0..HEAD | python changelog_generator.py --version 1.1.0 --format both # Determine version bump from commit history git log --oneline v1.0.0..HEAD | python version_bumper.py --current-version 1.0.0 --analysis # Assess release readiness python release_planner.py --input release-plan.json --include-checklist --include-rollback
Core Workflows
Workflow 1: Generate Changelog and Version Bump
- Collect commits since last tag:
git log --oneline v1.0.0..HEAD - Pipe to
to produce a Keep-a-Changelog-format CHANGELOGchangelog_generator.py - Pipe to
to determine MAJOR/MINOR/PATCH bump from commit typesversion_bumper.py - Review changelog grouping (Added, Fixed, Changed, Breaking Changes)
- Validation checkpoint: All
commits appear under Added; allfeat
under Fixed; breaking changes highlightedfix
git log --oneline v1.2.0..HEAD | python changelog_generator.py \ --version 1.3.0 --date 2026-03-21 --base-url https://github.com/org/repo --summary
Workflow 2: Assess Release Readiness
- Prepare release plan JSON with features, quality gates, stakeholders, and target date
- Run
with checklist, communication, and rollback flagsrelease_planner.py - Review blocking issues and readiness score
- Address blockers (missing approvals, failed gates, overdue items)
- Validation checkpoint: Readiness score >80%; zero blocking issues; rollback runbook generated with time estimates
python release_planner.py --input release-plan.json \ --output-format json --include-checklist --include-communication --include-rollback
Workflow 3: Hotfix Release
- Create hotfix branch from last stable tag
- Apply minimal fix and run
withversion_bumper.py--prerelease rc - Generate changelog entry for the fix
- Assess readiness with expedited checklist
- Validation checkpoint: Fix addresses root cause only; rollback procedure tested; stakeholders notified
Version Bump Rules
| Commit Type | Bump | Example |
|---|---|---|
or suffix | MAJOR | |
| MINOR | |
, , | PATCH | |
, , , | None | |
Pre-release progression:
alpha.N -> beta.1 -> rc.1 -> stable release.
Rollback Triggers
- Error rate: >2x baseline within 30 minutes
- Latency: >50% P95 increase
- Feature failures: Core functionality broken
- Security incident: Vulnerability exploited
- Data corruption: Database integrity compromised
Anti-Patterns
- Monolithic releases -- large, infrequent releases with high blast radius; prefer small, frequent releases
- Manual deployments -- error-prone and inconsistent; automate every step that can be automated
- No rollback plan -- every release must have a tested rollback procedure before going live
- Skipping quality gates -- deploying without test coverage, security scan, or dependency audit
- Last-minute changes -- code freeze exists for a reason; changes after freeze need explicit approval
- Non-conventional commits -- free-form commit messages break changelog generation and version bumping
- Environment drift -- staging must mirror production; drift causes false confidence in testing
Troubleshooting
| Problem | Cause | Solution |
|---|---|---|
| Changelog generator produces empty output | Non-conventional commit messages that don't match the pattern | Ensure all commits follow conventional commit format; non-matching messages default to type which is excluded from user-facing changelogs |
Version bumper recommends despite meaningful commits | Commits use types in the ignore list (, , , , , ) | Use for new features and for bug fixes; override with to map additional types to bump levels |
Release planner reports status unexpectedly | Missing required approvals (, ) on features or failed required quality gates | Review the array in the assessment output; ensure all features have the necessary approval flags set to in the input JSON |
| Pre-release version not incrementing correctly | Existing pre-release type does not match the requested type, causing a reset to | When promoting from alpha to beta or beta to rc, the counter resets to 1 by design; to stay on the same track, pass the same pre-release type |
| Git log parsing misses commits | Input uses full format but lines are not properly indented with 4 spaces | Use for the simplest input format, or ensure the full format output preserves the standard 4-space commit message indent |
| Readiness score seems too low | Quality gates default to status when not explicitly set, and pending gates score zero points | Provide explicit with accurate values in the release plan JSON, or complete the gates before running assessment |
| Rollback time estimate is inaccurate | Default rollback steps use generic time estimates that don't reflect your infrastructure | Supply custom in the release plan JSON with values that match your actual deployment environment |
Success Criteria
- Changelog accuracy: 100% of conventional commits are correctly categorized (feat to Added, fix to Fixed, etc.) with zero miscategorized entries
- Version bump correctness: Recommended version matches SemVer rules in all cases -- breaking changes produce MAJOR, features produce MINOR, fixes produce PATCH
- Readiness assessment coverage: All blocking issues (missing approvals, failed quality gates, overdue timelines) are surfaced with zero false negatives
- Release cycle time reduction: Teams using the planner reduce release preparation time by 40% or more compared to manual checklist tracking
- Rollback preparedness: Every release assessed by the planner has a complete, actionable rollback runbook with time estimates and verification steps
- Stakeholder communication: Communication plans cover all identified stakeholders with appropriate timing (T-48h external, T-24h internal, T+1h post-deploy)
- Tool integration time: New teams can configure and run all three scripts against their repository within 30 minutes of initial setup
Scope & Limitations
This skill covers:
- Parsing conventional commits and generating structured changelogs in Markdown and JSON formats
- Determining semantic version bumps (major/minor/patch) with pre-release support (alpha, beta, rc)
- Assessing release readiness across features, quality gates, approvals, and timelines
- Generating rollback runbooks, communication plans, and release checklists from structured input
This skill does NOT cover:
- Actual CI/CD pipeline execution or deployment automation (see
)engineering/ci-cd-pipeline-generator - Live monitoring, alerting, or incident response during deployments (see
)engineering/monitoring-alerting-setup - Code review processes or pull request management (see
)engineering/code-review-automation - Infrastructure provisioning, container orchestration, or environment management (see
)engineering/infrastructure-as-code
Integration Points
| Skill | Integration | Data Flow |
|---|---|---|
| Embed changelog generation and version bumping as pipeline stages | Git log output flows into ; version bump output feeds pipeline tagging steps |
| Validate that PR commits follow conventional commit format before merge | Commit messages validated upstream ensure clean input for changelog generation |
| Define rollback triggers based on monitoring thresholds from the rollback runbook | Rollback trigger thresholds (error rate >2x, latency >50%) feed into alert rule configuration |
| Breaking API changes flagged by the reviewer map to MAJOR version bumps | API review findings populate arrays in the release plan JSON |
| Deployment steps in the rollback runbook reference infrastructure rollback commands | Rollback runbook fields contain infrastructure-specific commands (kubectl, DNS, load balancer) |
| Release plan JSON structure aligns with PM release tracking artifacts | PM feature lists and approval statuses feed directly into input format |
Tool Reference
changelog_generator.py
Purpose: Parses git log output in conventional commit format and generates structured changelogs. Groups commits by type (Added, Fixed, Changed, etc.), extracts scope and issue references, and highlights breaking changes.
Usage:
git log --oneline v1.0.0..HEAD | python changelog_generator.py python changelog_generator.py --input commits.txt --version 2.0.0 --format json cat commits.json | python changelog_generator.py --input-format json --summary
Flags/Parameters:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| | string | stdin | Input file path; reads from stdin if omitted |
| | choice | | Output format: , , or |
| | string | | Version label for the changelog section header |
| | string | today | Release date in YYYY-MM-DD format |
| | string | empty | Base repository URL for commit links (e.g., ) |
| choice | | Input format: (oneline or full) or (array of commit objects) | |
| | string | stdout | Output file path; prints to stdout if omitted |
| | flag | false | Append release summary statistics (total commits, by type, breaking changes, issue references) |
Example:
git log --oneline v1.2.0..HEAD | python changelog_generator.py \ --version 1.3.0 \ --date 2026-03-21 \ --base-url https://github.com/myorg/myapp \ --format both \ --summary
Output Formats:
- markdown: Keep a Changelog format with sections for Breaking Changes, Added, Changed, Deprecated, Removed, Fixed, Security. Commits grouped by scope within each section.
- json: Structured object with
,version
,date
(counts by type, by author, scopes, issue references), andsummary
(arrays of commit objects per category).categories - both: Markdown changelog followed by JSON output, each with a heading separator.
version_bumper.py
Purpose: Analyzes conventional commits since the last tag to determine the correct semantic version bump (major/minor/patch). Supports pre-release versions (alpha, beta, rc) and generates version bump commands for npm, Python, Rust, Git, and Docker.
Usage:
git log --oneline v1.2.0..HEAD | python version_bumper.py --current-version 1.2.0 python version_bumper.py -c 2.0.0-beta.3 -i commits.json --input-format json --prerelease rc git log --oneline v1.0.0..HEAD | python version_bumper.py -c 1.0.0 -f json --analysis --include-commands
Flags/Parameters:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| | string | required | Current version (e.g., , , ) |
| | string | stdin | Input file with commits; reads from stdin if omitted |
| choice | | Input format: (oneline) or (array of commit objects) | |
| | choice | none | Generate pre-release version: , , or |
| | choice | | Output format: , , or |
| | string | stdout | Output file path; prints to stdout if omitted |
| flag | false | Include version bump commands for npm, Python, Rust, Git, and Docker | |
| flag | false | Include file update snippets for package.json, pyproject.toml, setup.py, Cargo.toml, init.py | |
| string | none | JSON string mapping commit types to bump levels (e.g., ) | |
| string | | Comma-separated list of commit types to ignore for bump determination | |
| | flag | false | Include detailed commit analysis (breaking changes list, features list, fixes list, ignored list) |
Example:
git log --oneline v2.1.0..HEAD | python version_bumper.py \ --current-version 2.1.0 \ --output-format json \ --analysis \ --include-commands \ --include-files
Output Formats:
- text: Human-readable summary with current version, recommended version, bump type, and optional analysis/commands.
- json: Structured object with
,current_version
,recommended_version
, and optionalbump_type
,analysis
, andcommands
fields.file_updates - commands: Shell-ready version bump commands organized by platform (npm, Python, Rust, Git, Docker).
release_planner.py
Purpose: Takes a release plan JSON (features, quality gates, stakeholders, target date) and assesses release readiness. Generates a readiness report with scoring, a release checklist, a stakeholder communication plan with message templates, and a rollback runbook.
Usage:
python release_planner.py --input release-plan.json python release_planner.py -i plan.json -f json --include-checklist --include-rollback python release_planner.py -i plan.json -f markdown --include-checklist --include-communication --include-rollback
Flags/Parameters:
| Flag | Short | Type | Default | Description |
|---|---|---|---|---|
| | string | required | Path to release plan JSON file |
| | choice | | Output format: , , or |
| | string | stdout | Output file path; prints to stdout if omitted |
| flag | false | Include the full release checklist (pre-release validation, quality gates, approvals, documentation, deployment) | |
| flag | false | Include stakeholder communication plan with timeline and message templates | |
| flag | false | Include rollback runbook with step-by-step procedures, triggers, and verification checks | |
| float | | Minimum test coverage threshold percentage for quality gate validation |
Example:
python release_planner.py \ --input release-plan.json \ --output-format json \ --output readiness-report.json \ --include-checklist \ --include-communication \ --include-rollback \ --min-coverage 85.0
Input JSON Structure: The input file expects a JSON object with keys:
release_name, version, target_date (ISO format), features (array of feature objects with id, title, type, status, risk_level, approvals, etc.), quality_gates (optional array), stakeholders (optional array), and rollback_steps (optional array). When quality_gates or rollback_steps are omitted, sensible defaults are generated automatically.
Output Formats:
- text: Plain text report with status, readiness score, blocking issues, warnings, recommendations, feature summary, and quality gate summary.
- markdown: Formatted Markdown report with headings, status icons, and structured feature/checklist sections.
- json: Complete structured object with
,assessment
,checklist
, andcommunication_plan
fields (null when not requested).rollback_runbook