发布管理器

Universal

Release Manager

by alirezarezvani

从 Git 提交自动生成 changelog、判断 SemVer 版本升级并检查发布就绪度,串起发版规划、沟通、Hotfix、回滚和渐进发布,适合团队做稳定可追踪的软件发布。

把版本、部署和变更日志串成一条线,帮团队告别手工发布混乱;发布链路覆盖完整,复杂协作场景也能稳稳拿下。

11.5k效率与工作流未扫描2026年3月5日

安装

claude skill add --url github.com/alirezarezvani/claude-skills/tree/main/engineering/release-manager

文档

Tier: POWERFUL
Category: Engineering
Domain: Software Release Management & DevOps

Overview

The Release Manager skill provides comprehensive tools and knowledge for managing software releases end-to-end. From parsing conventional commits to generating changelogs, determining version bumps, and orchestrating release processes, this skill ensures reliable, predictable, and well-documented software releases.

Core Capabilities

  • Automated Changelog Generation from git history using conventional commits
  • Semantic Version Bumping based on commit analysis and breaking changes
  • Release Readiness Assessment with comprehensive checklists and validation
  • Release Planning & Coordination with stakeholder communication templates
  • Rollback Planning with automated recovery procedures
  • Hotfix Management for emergency releases
  • Feature Flag Integration for progressive rollouts

Key Components

Scripts

  1. changelog_generator.py - Parses git logs and generates structured changelogs
  2. version_bumper.py - Determines correct version bumps from conventional commits
  3. release_planner.py - Assesses release readiness and generates coordination plans

Documentation

  • Comprehensive release management methodology
  • Conventional commits specification and examples
  • Release workflow comparisons (Git Flow, Trunk-based, GitHub Flow)
  • Hotfix procedures and emergency response protocols

Release Management Methodology

Semantic Versioning (SemVer)

Semantic Versioning follows the MAJOR.MINOR.PATCH format where:

  • MAJOR version when you make incompatible API changes
  • MINOR version when you add functionality in a backwards compatible manner
  • PATCH version when you make backwards compatible bug fixes

Pre-release Versions

Pre-release versions are denoted by appending a hyphen and identifiers:

  • 1.0.0-alpha.1 - Alpha releases for early testing
  • 1.0.0-beta.2 - Beta releases for wider testing
  • 1.0.0-rc.1 - Release candidates for final validation

Version Precedence

Version precedence is determined by comparing each identifier:

  1. 1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta
  2. 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1
  3. 1.0.0-rc.1 < 1.0.0

Conventional Commits

Conventional Commits provide a structured format for commit messages that enables automated tooling:

Format

code
<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Types

  • feat: A new feature (correlates with MINOR version bump)
  • fix: A bug fix (correlates with PATCH version bump)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code
  • refactor: A code change that neither fixes a bug nor adds a feature
  • perf: A code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • chore: Changes to the build process or auxiliary tools
  • ci: Changes to CI configuration files and scripts
  • build: Changes that affect the build system or external dependencies
  • breaking: Introduces a breaking change (correlates with MAJOR version bump)

Examples

code
feat(user-auth): add OAuth2 integration

fix(api): resolve race condition in user creation

docs(readme): update installation instructions

feat!: remove deprecated payment API
BREAKING CHANGE: The legacy payment API has been removed

Automated Changelog Generation

Changelogs are automatically generated from conventional commits, organized by:

Structure

markdown
# Changelog

## [Unreleased]
### Added
### Changed  
### Deprecated
### Removed
### Fixed
### Security

## [1.2.0] - 2024-01-15
### Added
- OAuth2 authentication support (#123)
- User preference dashboard (#145)

### Fixed
- Race condition in user creation (#134)
- Memory leak in image processing (#156)

### Breaking Changes
- Removed legacy payment API

Grouping Rules

  • Added for new features (feat)
  • Fixed for bug fixes (fix)
  • Changed for changes in existing functionality
  • Deprecated for soon-to-be removed features
  • Removed for now removed features
  • Security for vulnerability fixes

Metadata Extraction

  • Link to pull requests and issues: (#123)
  • Breaking changes highlighted prominently
  • Scope-based grouping: auth:, api:, ui:
  • Co-authored-by for contributor recognition

Version Bump Strategies

Version bumps are determined by analyzing commits since the last release:

Automatic Detection Rules

  1. MAJOR: Any commit with BREAKING CHANGE or ! after type
  2. MINOR: Any feat type commits without breaking changes
  3. PATCH: fix, perf, security type commits
  4. NO BUMP: docs, style, test, chore, ci, build only

Pre-release Handling

python
# Alpha: 1.0.0-alpha.1 → 1.0.0-alpha.2
# Beta: 1.0.0-alpha.5 → 1.0.0-beta.1  
# RC: 1.0.0-beta.3 → 1.0.0-rc.1
# Release: 1.0.0-rc.2 → 1.0.0

Multi-package Considerations

For monorepos with multiple packages:

  • Analyze commits affecting each package independently
  • Support scoped version bumps: @scope/package@1.2.3
  • Generate coordinated release plans across packages

Release Branch Workflows

Git Flow

code
main (production) ← release/1.2.0 ← develop ← feature/login
                                           ← hotfix/critical-fix

Advantages:

  • Clear separation of concerns
  • Stable main branch
  • Parallel feature development
  • Structured release process

Process:

  1. Create release branch from develop: git checkout -b release/1.2.0 develop
  2. Finalize release (version bump, changelog)
  3. Merge to main and develop
  4. Tag release: git tag v1.2.0
  5. Deploy from main

Trunk-based Development

code
main ← feature/login (short-lived)
    ← feature/payment (short-lived)  
    ← hotfix/critical-fix

Advantages:

  • Simplified workflow
  • Faster integration
  • Reduced merge conflicts
  • Continuous integration friendly

Process:

  1. Short-lived feature branches (1-3 days)
  2. Frequent commits to main
  3. Feature flags for incomplete features
  4. Automated testing gates
  5. Deploy from main with feature toggles

GitHub Flow

code
main ← feature/login
    ← hotfix/critical-fix

Advantages:

  • Simple and lightweight
  • Fast deployment cycle
  • Good for web applications
  • Minimal overhead

Process:

  1. Create feature branch from main
  2. Regular commits and pushes
  3. Open pull request when ready
  4. Deploy from feature branch for testing
  5. Merge to main and deploy

Feature Flag Integration

Feature flags enable safe, progressive rollouts:

Types of Feature Flags

  • Release flags: Control feature visibility in production
  • Experiment flags: A/B testing and gradual rollouts
  • Operational flags: Circuit breakers and performance toggles
  • Permission flags: Role-based feature access

Implementation Strategy

python
# Progressive rollout example
if feature_flag("new_payment_flow", user_id):
    return new_payment_processor.process(payment)
else:
    return legacy_payment_processor.process(payment)

Release Coordination

  1. Deploy code with feature behind flag (disabled)
  2. Gradually enable for percentage of users
  3. Monitor metrics and error rates
  4. Full rollout or quick rollback based on data
  5. Remove flag in subsequent release

Release Readiness Checklists

Pre-Release Validation

  • All planned features implemented and tested
  • Breaking changes documented with migration guide
  • API documentation updated
  • Database migrations tested
  • Security review completed for sensitive changes
  • Performance testing passed thresholds
  • Internationalization strings updated
  • Third-party integrations validated

Quality Gates

  • Unit test coverage ≥ 85%
  • Integration tests passing
  • End-to-end tests passing
  • Static analysis clean
  • Security scan passed
  • Dependency audit clean
  • Load testing completed

Documentation Requirements

  • CHANGELOG.md updated
  • README.md reflects new features
  • API documentation generated
  • Migration guide written for breaking changes
  • Deployment notes prepared
  • Rollback procedure documented

Stakeholder Approvals

  • Product Manager sign-off
  • Engineering Lead approval
  • QA validation complete
  • Security team clearance
  • Legal review (if applicable)
  • Compliance check (if regulated)

Deployment Coordination

Communication Plan

Internal Stakeholders:

  • Engineering team: Technical changes and rollback procedures
  • Product team: Feature descriptions and user impact
  • Support team: Known issues and troubleshooting guides
  • Sales team: Customer-facing changes and talking points

External Communication:

  • Release notes for users
  • API changelog for developers
  • Migration guide for breaking changes
  • Downtime notifications if applicable

Deployment Sequence

  1. Pre-deployment (T-24h): Final validation, freeze code
  2. Database migrations (T-2h): Run and validate schema changes
  3. Blue-green deployment (T-0): Switch traffic gradually
  4. Post-deployment (T+1h): Monitor metrics and logs
  5. Rollback window (T+4h): Decision point for rollback

Monitoring & Validation

  • Application health checks
  • Error rate monitoring
  • Performance metrics tracking
  • User experience monitoring
  • Business metrics validation
  • Third-party service integration health

Hotfix Procedures

Hotfixes address critical production issues requiring immediate deployment:

Severity Classification

P0 - Critical: Complete system outage, data loss, security breach

  • SLA: Fix within 2 hours
  • Process: Emergency deployment, all hands on deck
  • Approval: Engineering Lead + On-call Manager

P1 - High: Major feature broken, significant user impact

  • SLA: Fix within 24 hours
  • Process: Expedited review and deployment
  • Approval: Engineering Lead + Product Manager

P2 - Medium: Minor feature issues, limited user impact

  • SLA: Fix in next release cycle
  • Process: Normal review process
  • Approval: Standard PR review

Emergency Response Process

  1. Incident declaration: Page on-call team
  2. Assessment: Determine severity and impact
  3. Hotfix branch: Create from last stable release
  4. Minimal fix: Address root cause only
  5. Expedited testing: Automated tests + manual validation
  6. Emergency deployment: Deploy to production
  7. Post-incident: Root cause analysis and prevention

Rollback Planning

Every release must have a tested rollback plan:

Rollback Triggers

  • Error rate spike: >2x baseline within 30 minutes
  • Performance degradation: >50% latency increase
  • Feature failures: Core functionality broken
  • Security incident: Vulnerability exploited
  • Data corruption: Database integrity compromised

Rollback Types

Code Rollback:

  • Revert to previous Docker image
  • Database-compatible code changes only
  • Feature flag disable preferred over code rollback

Database Rollback:

  • Only for non-destructive migrations
  • Data backup required before migration
  • Forward-only migrations preferred (add columns, not drop)

Infrastructure Rollback:

  • Blue-green deployment switch
  • Load balancer configuration revert
  • DNS changes (longer propagation time)

Automated Rollback

python
# Example rollback automation
def monitor_deployment():
    if error_rate() > THRESHOLD:
        alert_oncall("Error rate spike detected")
        if auto_rollback_enabled():
            execute_rollback()

Release Metrics & Analytics

Key Performance Indicators

  • Lead Time: From commit to production
  • Deployment Frequency: Releases per week/month
  • Mean Time to Recovery: From incident to resolution
  • Change Failure Rate: Percentage of releases causing incidents

Quality Metrics

  • Rollback Rate: Percentage of releases rolled back
  • Hotfix Rate: Hotfixes per regular release
  • Bug Escape Rate: Production bugs per release
  • Time to Detection: How quickly issues are identified

Process Metrics

  • Review Time: Time spent in code review
  • Testing Time: Automated + manual testing duration
  • Approval Cycle: Time from PR to merge
  • Release Preparation: Time spent on release activities

Tool Integration

Version Control Systems

  • Git: Primary VCS with conventional commit parsing
  • GitHub/GitLab: Pull request automation and CI/CD
  • Bitbucket: Pipeline integration and deployment gates

CI/CD Platforms

  • Jenkins: Pipeline orchestration and deployment automation
  • GitHub Actions: Workflow automation and release publishing
  • GitLab CI: Integrated pipelines with environment management
  • CircleCI: Container-based builds and deployments

Monitoring & Alerting

  • DataDog: Application performance monitoring
  • New Relic: Error tracking and performance insights
  • Sentry: Error aggregation and release tracking
  • PagerDuty: Incident response and escalation

Communication Platforms

  • Slack: Release notifications and coordination
  • Microsoft Teams: Stakeholder communication
  • Email: External customer notifications
  • Status Pages: Public incident communication

Best Practices

Release Planning

  1. Regular cadence: Establish predictable release schedule
  2. Feature freeze: Lock changes 48h before release
  3. Risk assessment: Evaluate changes for potential impact
  4. Stakeholder alignment: Ensure all teams are prepared

Quality Assurance

  1. Automated testing: Comprehensive test coverage
  2. Staging environment: Production-like testing environment
  3. Canary releases: Gradual rollout to subset of users
  4. Monitoring: Proactive issue detection

Communication

  1. Clear timelines: Communicate schedules early
  2. Regular updates: Status reports during release process
  3. Issue transparency: Honest communication about problems
  4. Post-mortems: Learn from incidents and improve

Automation

  1. Reduce manual steps: Automate repetitive tasks
  2. Consistent process: Same steps every time
  3. Audit trails: Log all release activities
  4. Self-service: Enable teams to deploy safely

Common Anti-patterns

Process Anti-patterns

  • Manual deployments: Error-prone and inconsistent
  • Last-minute changes: Risk introduction without proper testing
  • Skipping testing: Deploying without validation
  • Poor communication: Stakeholders unaware of changes

Technical Anti-patterns

  • Monolithic releases: Large, infrequent releases with high risk
  • Coupled deployments: Services that must be deployed together
  • No rollback plan: Unable to quickly recover from issues
  • Environment drift: Production differs from staging

Cultural Anti-patterns

  • Blame culture: Fear of making changes or reporting issues
  • Hero culture: Relying on individuals instead of process
  • Perfectionism: Delaying releases for minor improvements
  • Risk aversion: Avoiding necessary changes due to fear

Getting Started

  1. Assessment: Evaluate current release process and pain points
  2. Tool setup: Configure scripts for your repository
  3. Process definition: Choose appropriate workflow for your team
  4. Automation: Implement CI/CD pipelines and quality gates
  5. Training: Educate team on new processes and tools
  6. Monitoring: Set up metrics and alerting for releases
  7. Iteration: Continuously improve based on feedback and metrics

The Release Manager skill transforms chaotic deployments into predictable, reliable releases that build confidence across your entire organization.

相关 Skills

PPT处理

by anthropics

Universal
热门

处理 .pptx 全流程:创建演示文稿、提取和解析幻灯片内容、批量修改现有文件,支持模板套用、合并拆分、备注评论与版式调整。

涉及PPTX的创建、解析、修改到合并拆分都能一站搞定,连备注、模板和评论也能处理,做演示文稿特别省心。

效率与工作流
未扫描119.1k

技能工坊

by anthropics

Universal
热门

覆盖 Skill 从创建到迭代优化全流程:起草能力、补测试提示、跑评测与基准方差分析,并持续改写内容和描述,提升效果与触发准确率。

技能工坊把技能从创建、迭代到评测串成闭环,方差分析加描述优化,特别适合把触发准确率打磨得更稳。

效率与工作流
未扫描119.1k

Word文档

by anthropics

Universal
热门

覆盖Word/.docx文档的创建、读取、编辑与重排,适合生成报告、备忘录、信函和模板,也能处理目录、页眉页脚、页码、图片替换、查找替换、修订批注及内容提取整理。

搞定 .docx 的创建、改写与精排版,目录、批量替换、批注修订和图片更新都能自动化,做正式文档尤其省心。

效率与工作流
未扫描119.1k

相关 MCP 服务

文件系统

编辑精选

by Anthropic

热门

Filesystem 是 MCP 官方参考服务器,让 LLM 安全读写本地文件系统。

这个服务器解决了让 Claude 直接操作本地文件的痛点,比如自动整理文档或生成代码文件。适合需要自动化文件处理的开发者,但注意它只是参考实现,生产环境需自行加固安全。

效率与工作流
83.9k

by wonderwhy-er

热门

Desktop Commander 是让 AI 直接执行终端命令、管理文件和进程的 MCP 服务器。

这工具解决了 AI 无法直接操作本地环境的痛点,适合需要自动化脚本调试或文件批量处理的开发者。它能让你用自然语言指挥终端,但权限控制需谨慎,毕竟让 AI 执行 rm -rf 可不是闹着玩的。

效率与工作流
5.9k

EdgarTools

编辑精选

by dgunning

热门

EdgarTools 是无需 API 密钥即可解析 SEC EDGAR 财报的开源 Python 库。

这个工具解决了金融数据获取的痛点——直接让 AI 读取结构化财报,比如让 Claude 分析苹果的 10-K 文件。适合量化分析师或金融开发者快速构建数据管道。但注意,它依赖 SEC 网站稳定性,高峰期可能延迟。

效率与工作流
2.0k

评论