Agent skill · DevOps & Cloud

devops/changelog-generation

自动生成 CHANGELOG,基于 git 提交历史和 pipeline 产物信息,遵循 Conventional Commits 和 Keep a Changelog 规范

echoVicgithub.com/echoVicGitHub ↗
claude-codecursorMIT
Install
npx skills add echoVic/boss-skill --skill changelog-generation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 1.0.0
Requires: - devops/deployment-process
Path: skill/skills/devops/changelog-generation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 557
Language: TypeScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# CHANGELOG 自动生成 ## 适用场景 在部署成功完成后自动生成或追加 CHANGELOG,记录本次发布的所有变更。适用于: - 部署完成后的发布记录 - 版本发布前的变更汇总 - 对外发布说明的自动生成 ## 核心方法 ### 步骤 1:信息收集 1. **Git 历史解析**: ```bash # 获取从上次 tag 到 HEAD 的所有提交 git log $(git describe --tags --abbrev=0 2>/dev/null || git rev-list --max-parents=0 HEAD)..HEAD --pretty=format:"%H|%s|%an|%ai" ``` - 如果没有 tag,取最近 50 条提交 - 解析 Conventional Commits 格式:`type(scope): description` 2. **Pipeline 产物读取**: - `.boss/<feature>/prd.md` → 功能描述和用户价值 - `.boss/<feature>/deploy-report.md` → 部署环境和版本信息 - `.boss/<feature>/tasks.md` → 完成的任务列表 3. **版本号确定**: - 优先使用 `package.json` 中的 version - 其次使用最新 git tag - 如无法确定,使用日期格式 `YYYY.MM.DD` ### 步骤 2:变更分类 按 Conventional Commits 规范分类: | 类型 | CHANGELOG 分类 | 说明 | |------|---------------|------| | `feat` | **Added** | 新增功能 | | `fix` | **Fixed** | 修复问题 | | `perf` | **Performance** | 性能优化 | | `refactor` | **Changed** | 重构(非功能变更) | | `docs` | **Documentation** | 文档更新 | | `style` | _(不记录)_ | 代码格式 | | `test` | _(不记录)_ | 测试相关 | | `chore` | _(不记录)_ | 构建/工具变更 | | `BREAKING CHANGE` | **⚠️ Breaking Changes** | 破坏性变更(始终置顶) | 对于非 Conventional Commits 格式的提交: - 根据关键词推断分类(add/new → Added, fix/bug → Fixed, update/change → Changed) - 无法分类的归入 **Changed** ### 步骤 3:内容生成 ##

What's inside
Steps it walks through
  1. 适用场景
  2. 核心方法
  3. 步骤 1:信息收集
  4. 步骤 2:变更分类
  5. 步骤 3:内容生成
  6. 步骤 4:输出写入
  7. 输出要求
Commands it runs
git log $(git describe --tags --abbrev=0 2>/dev/null || git rev-list --max-parents=0 HEAD)..HEAD --pretty=format:"%H|%s|%an|%ai"
More from boss-skill
All skills →
About this skill
What does the devops/changelog-generation skill do?

自动生成 CHANGELOG,基于 git 提交历史和 pipeline 产物信息,遵循 Conventional Commits 和 Keep a Changelog 规范

How do I install it?

Run `npx skills add echoVic/boss-skill --skill changelog-generation --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From echoVic/boss-skill, a repository with 557 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going