MCP HubMCP Hub
返回技能列表

release-standards

AsiaOstrich
更新于 Today
163 次查看
34
4
34
在 GitHub 上查看
文档处理word

关于

This skill provides semantic versioning (semver) guidelines and changelog formatting standards for software releases. Use it when preparing releases to correctly increment version numbers (major/minor/patch) and structure changelog entries. It includes rules for pre-release identifiers and clear examples for developers.

快速安装

Claude Code

推荐
插件命令推荐
/plugin add https://github.com/AsiaOstrich/universal-dev-skills
Git 克隆备选方式
git clone https://github.com/AsiaOstrich/universal-dev-skills.git ~/.claude/skills/release-standards

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

Release Standards

This skill provides semantic versioning and changelog formatting standards.

Quick Reference

Semantic Versioning Format

MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]

Examples:
2.3.1
1.0.0-alpha.1
3.2.0-beta.2+20250112

Version Incrementing Rules

ComponentWhen to IncrementExample
MAJORBreaking changes1.9.5 → 2.0.0
MINORNew features (backward-compatible)2.3.5 → 2.4.0
PATCHBug fixes (backward-compatible)3.1.2 → 3.1.3

Pre-release Identifiers

IdentifierStabilityAudience
alphaUnstableInternal team
betaMostly stableEarly adopters
rcStableBeta testers

CHANGELOG Categories

CategoryUsage
AddedNew features
ChangedChanges in existing functionality
DeprecatedSoon to be removed
RemovedRemoved features
FixedBug fixes
SecurityVulnerability fixes

Detailed Guidelines

For complete standards, see:

CHANGELOG Entry Format

## [VERSION] - YYYY-MM-DD

### Added
- Add user dashboard with customizable widgets (#123)

### Changed
- **BREAKING**: Change API response format from XML to JSON

### Fixed
- Fix memory leak when processing large files (#456)

### Security
- Fix SQL injection vulnerability (CVE-2025-12345)

Breaking Changes

Mark breaking changes with BREAKING prefix:

### Changed
- **BREAKING**: Remove deprecated `getUserById()`, use `getUser()` instead

Git Tagging

# Create annotated tag (recommended)
git tag -a v1.2.0 -m "Release version 1.2.0"

# Push tag to remote
git push origin v1.2.0

Version Ordering

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

Configuration Detection

This skill supports project-specific configuration.

Detection Order

  1. Check CONTRIBUTING.md for "Disabled Skills" section
    • If this skill is listed, it is disabled for this project
  2. Check CONTRIBUTING.md for "Release Standards" section
  3. If not found, default to Semantic Versioning and Keep a Changelog format

First-Time Setup

If no configuration found and context is unclear:

  1. Ask the user: "This project hasn't configured release standards. Would you like to use Semantic Versioning?"
  2. After user selection, suggest documenting in CONTRIBUTING.md:
## Release Standards

### Versioning
This project uses **Semantic Versioning** (MAJOR.MINOR.PATCH).

### Changelog
This project follows **Keep a Changelog** format.

Configuration Example

In project's CONTRIBUTING.md:

## Release Standards

### Versioning
This project uses **Semantic Versioning** (MAJOR.MINOR.PATCH).

### Changelog
This project follows **Keep a Changelog** format.

### Release Process
1. Update version in package.json
2. Update CHANGELOG.md
3. Create git tag with `v` prefix (e.g., v1.2.0)
4. Push tag to trigger release workflow

License: CC BY 4.0 | Source: universal-doc-standards

GitHub 仓库

AsiaOstrich/universal-dev-skills
路径: skills/release-standards
ai-coding-assistantbest-practicesclaude-codeclaude-code-skillscode-reviewdeveloper-experience

相关推荐技能