跳到正文
cccskills
免费在 GitHub 公开

release-notes-generator

Turns Git commits and pull request details into release notes for CHANGELOG.md, a release pull request, and Slack. It categorizes changes, explains user impact in plain language, and flags database migrations that need attention.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Generate release notes in 3 formats (CHANGELOG.md, PR body, Slack announcement) from git commits. Automatically categorizes changes and converts technical language to user-friendly messaging. Use for releases, changelogs, version notes, what's new summaries, or ship announcements.

集成工具SlackGitHub
查看安装方法

适用场景

  • Preparing release notes since the last release
  • Summarizing changes across a specified version range
  • Drafting a release pull request body
  • Writing a user-friendly Slack release announcement
  • Checking for database migrations before a release

包含的文件(8)

  • SKILL.md7.5 KB
  • assets/changelog-template.md1.9 KB
  • assets/README.md459 B
  • assets/slack-template.md2.0 KB
  • references/commit-categories.md3.2 KB
  • references/README.md474 B
  • references/tech-to-product-mappings.md3.3 KB
  • scripts/README.md483 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Release notes generator

Generate comprehensive release notes in 3 formats from git commits.

Workflow

  1. Analyze git history since last release tag or specified version
  2. Fetch PR details (titles, descriptions, labels) via gh api
  3. Categorize changes into features, bug fixes, improvements, security, breaking changes
  4. Generate 3 outputs: CHANGELOG.md section (technical), PR release body (semi-technical), Slack message (user-friendly)
  5. Transform language from technical jargon to accessible messaging
  6. Alert on migrations if database migrations are detected

How to use

Basic usage

Generate release notes since last release
Create release notes for version 0.18.0

With specific range

Generate release notes from v0.17.0 to HEAD

Preview only

Preview release notes without writing files

Output formats

1. CHANGELOG.md Section

Technical format for developers:

## [0.18.0] - 2025-12-08

### Objective
[1-2 sentence summary]

### New Features
#### [Feature Name] (#PR)
- **Description**: ...
- **Impact**: ...

### Bug Fixes
- **[Module]**: Description (#issue, [error-tracker] ISSUE-XX)

### Technical Improvements
#### Performance / UI/UX / Architecture
- [Description]

### Database Migrations
[If applicable]

### Statistics
- PRs: X
- Features: Y
- Bugs: Z

2. PR release body

Uses template from .github/PULL_REQUEST_TEMPLATE/release.md:

  • Objective summary
  • Features with specs links
  • Bug fixes with error tracker references
  • Improvements by category
  • Migration instructions
  • Deployment checklist

3. Slack announcement

Product-focused format from .github/COMMUNICATION_TEMPLATE/slack-release.md:

  • PR link included for traceability
  • Non-technical language
  • Focus on user impact (end-users, admins, stakeholders)
  • Emojis for readability
  • Statistics summary

Workflow integration

This skill integrates with the release workflow:

1. Analyze commits: git log <last-tag>..HEAD
2. Determine version number (MAJOR.MINOR.PATCH)
3. Generate 3 outputs
4. Create PR develop -> main with "Release" label
5. Update CHANGELOG.md
6. After merge: create git tag
7. Generate Slack announcement

Tech-to-product transformation

The skill automatically transforms technical language:

TechnicalProduct
"N+1 query optimization with DataLoader""Faster list loading"
"AI embeddings implementation with pgvector""New intelligent search"
"Fix scope permissions in getPermissionScope()""Fixed access permissions bug"
"Migration webpack -> Turbopack"Do not communicate
"React hooks refactoring"Do not communicate
"Fix N+1 in user loaders""Performance improvement"
"Add retry logic for DB connection errors""Better connection stability"

Commit categories

Commits are categorized by conventional commit prefix:

PrefixCategoryInclude in Slack?
feat:New FeaturesYes
fix:Bug FixesYes (if user-facing)
perf:PerformanceYes (simplified)
security:SecurityYes
refactor:ArchitectureNo
chore:MaintenanceNo
docs:DocumentationNo
test:TestsNo
style:StyleNo

Console output format

When generating release notes, ALWAYS display a clear summary in the console with:

Migration alert (CRITICAL)

If migrations are detected, display prominently:

╔══════════════════════════════════════════════════════════════════╗
║  ⚠️  [WARNING] DATABASE MIGRATIONS REQUIRED                      ║
╠══════════════════════════════════════════════════════════════════╣
║                                                                  ║
║  This release contains X migration(s):                           ║
║                                                                  ║
║  • 20251210123456_add_feature_description                        ║
║  • 20251211094532_update_status_enum                             ║
║                                                                  ║
║  Action required BEFORE deployment:                              ║
║  → Run: [migration-command]                                      ║
║                                                                  ║
╚══════════════════════════════════════════════════════════════════╝

If NO migrations:

✅ [OK] No database migrations required

Detection method

Check for new migration files since last release:

# Find new migrations since last tag
git diff <last-tag>..HEAD --name-only -- migrations/

Example

User: "Generate release notes since v0.17.0"

Output:

Analyzing commits from v0.17.0 to HEAD...

Found:
- 15 commits
- 8 PRs merged
- 2 new features
- 5 bug fixes
- 3 improvements

╔══════════════════════════════════════════════════════════════════╗
║  ⚠️  [WARNING] DATABASE MIGRATIONS REQUIRED                      ║
╠══════════════════════════════════════════════════════════════════╣
║  This release contains 1 migration(s):                           ║
║  • 20251208143021_add_user_preferences                           ║
║  Action required: [migration-command]                             ║
╚══════════════════════════════════════════════════════════════════╝

--- CHANGELOG.md Section ---
[Technical format output]

--- PR Release Body ---
[Semi-technical format output]

--- Slack Announcement ---
[Product-focused format output]

Write to files? (CHANGELOG.md, clipboard for PR/Slack)

Commands used

# Get last release tag
git tag --sort=-v:refname | head -n 1

# List commits since tag
git log <tag>..HEAD --oneline --no-merges

# Get PR details
gh api repos/{owner}/{repo}/pulls/{number}

# Get commit details
git show --stat <sha>

Tips

  • Run from repository root
  • Ensure gh CLI is authenticated
  • Review generated content before publishing
  • Adjust product language for your audience
  • Use --preview to see output without writing

Reference files

  • assets/changelog-template.md - CHANGELOG section template
  • assets/slack-template.md - Slack announcement template
  • references/tech-to-product-mappings.md - Transformation rules
  • references/commit-categories.md - Categorization rules

Related skills

  • github-actions-templates - For CI/CD workflows
  • changelog-generator - Original inspiration (ComposioHQ)

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Evaluate Claude Code agents, skills, and commands with weighted quality criteria. Get scores, readiness grades, template comparisons, and practical improvement suggestions in Markdown or JSON reports to guide reviews before release.

中文简介正在准备中。当前显示英语简介。

  • Review skills before release
  • Compare agent definitions with reference templates
  • Quickly check critical quality criteria
FlorianBruniaux/claude-code-ultimate-guide62032026年10月18日 更新

Assess a codebase across seven areas, including exposed credentials, security, dependencies, structure, and tests. Receive category scores, findings tied to file locations, and a prioritized improvement plan with smaller tasks that can be completed quickly.

中文简介正在准备中。当前显示英语简介。

  • Assessing the overall health of an inherited project
  • Reviewing exposed credentials and security risks
  • Identifying dependency and test coverage gaps
FlorianBruniaux/claude-code-ultimate-guide62032026年10月18日 更新

Measure code patterns such as casts to any or disabled lint rules, then run repeated, targeted edits. Keep changes that improve the chosen metric, revert unsuccessful changes, and track results for each improvement loop.

中文简介正在准备中。当前显示英语简介。

  • Finding code patterns to prioritize for cleanup
  • Preparing measurement files for an improvement loop
  • Repeating targeted edits to reduce casts to any
FlorianBruniaux/claude-code-ultimate-guide62032026年10月18日 更新

best-of-n

免费

Generate several separate solutions, compare them against criteria fixed in advance, and verify the selected result through executable checks or an independent reviewer. Keep a proof log documenting candidates, evidence, failures, and remaining limits.

中文简介正在准备中。当前显示英语简介。

  • Comparing implementation options before choosing one
  • Verifying a solution when a wrong choice would be costly
  • Keeping evaluation evidence for delivery or audit
FlorianBruniaux/claude-code-ultimate-guide62032026年10月18日 更新

canary

免费

Monitor a live application after deployment and compare it with a saved baseline, a record of its earlier state. Check page responses, loading times, and new errors, flag persistent changes, and produce a per-page health report.

中文简介正在准备中。当前显示英语简介。

  • Recording a healthy baseline before deployment
  • Monitoring production immediately after deployment
  • Checking key pages for slower responses or failures
FlorianBruniaux/claude-code-ultimate-guide62032026年10月18日 更新

catchup

免费

Rebuild project context after clearing a conversation or returning to work. Review recent Git history, uncommitted changes, and TODO markers to get a structured summary of project status and suggested next steps.

中文简介正在准备中。当前显示英语简介。

  • Restoring project context after /clear
  • Reviewing recent changes after a long break
  • Checking unfinished work before choosing the next task
FlorianBruniaux/claude-code-ultimate-guide62032026年10月18日 更新

查看 FlorianBruniaux 的全部技能

报告此技能的问题