evanfang0054/cc-system-creator-scripts/changelog

Claude Code and agent skill by evanfang0054/cc-system-creator-scripts

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

基于 git commits 自动生成 CHANGELOG.md 变更日志。支持语义化版本、分类整理、多格式输出。触发场景包括"生成变更日志"、"更新 CHANGELOG"、"版本记录"。

Install

npx vskill@latest install evanfang0054/cc-system-creator-scripts/changelog

SKILL.md

The same SKILL.md was published earlier as evanfang0054/cc-system-creator-scripts/changelog.

变更日志生成技能

概述

自动从 Git 提交历史生成结构化的 CHANGELOG.md,遵循 Keep a Changelog 规范。

变更类型

类型说明示例
feat新功能新增用户登录功能
fixBug 修复修复登录验证失败问题
docs文档更新更新 API 文档
style代码格式调整代码缩进格式
refactor代码重构重构用户服务模块
perf性能优化优化列表渲染性能
test测试相关添加用户模块单元测试
chore构建/工具更新构建配置
ciCI/CD添加自动部署流程
revert回滚回滚登录功能变更

输出格式

标准 CHANGELOG 格式
markdown
# Changelog
本项目的所有重要变更都将记录在此文件中。
格式基于 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.0.0/),
并且本项目遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
## [Unreleased]
### Added
-待发布的新功能
## [1.2.0] - 2026-03-02
### Added
-新增用户登录功能
-新增权限管理模块
### Fixed
-修复登录验证失败问题
-修复表格分页显示错误
### Changed
-优化首页加载速度
-更新依赖版本
### Removed
-移除废弃的 API 接口
## [1.1.0] - 2026-02-15
### Added
-新增数据导出功能
### Fixed
-修复文件上传失败问题

使用方式

生成完整 CHANGELOG
/changelog
生成指定版本范围
/changelog v1.0.0 v1.2.0
添加新版本
/changelog --new-version 1.3.0
只显示未发布变更
/changelog --unreleased
输出为 JSON 格式
/changelog --format json

Git 命令参考

获取两个标签之间的提交
bash
git log v1.0.0..v1.1.0 --pretty=format:"%s" --no-merges
获取所有标签
bash
git tag -l --sort=-version:refname
获取上次标签以来的提交
bash
git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:"%s" --no-merges
按类型筛选提交
bash
git log --pretty=format:"%s" --no-merges | grep "^feat"

解析规则

Conventional Commit 格式
<type>(<scope>): <subject>
<body>
<footer>
解析示例
提交信息类型范围主题
feat(auth): add OAuth loginfeatauthadd OAuth login
fix: resolve null pointerfix-resolve null pointer
docs(api): update endpoint docsdocsapiupdate endpoint docs

自动化配置

package.json 集成
json
{
"scripts": {
"changelog": "claude -p '/changelog --new-version'",
"release": "npm version patch && npm run changelog"
}
}
GitHub Actions 集成
yaml
name: Update Changelog
on:
push:
tags:
- 'v*'
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Generate Changelog
run: |
# 使用 claude-code 生成 changelog

模板定制

自定义分类
json
{
"categories": {
"added": ["feat", "feature"],
"fixed": ["fix", "bugfix"],
"changed": ["refactor", "perf", "style"],
"deprecated": ["deprecate"],
"removed": ["remove"],
"security": ["security"]
}
}
自定义标题映射
json
{
"titles": {
"added": "新增功能",
"fixed": "问题修复",
"changed": "变更优化",
"security": "安全更新"
}
}

常见场景

场景 1:准备发布
bash
# 1. 确保所有提交已推送
git push
# 2. 生成变更日志
/changelog --new-version 1.2.0
# 3. 创建标签
git tag v1.2.0
# 4. 推送标签
git push --tags
场景 2:补丁版本
bash
# 快速修复后的变更记录
/changelog v1.2.0 HEAD
场景 3:回溯历史
bash
# 生成从项目开始的完整 changelog
/changelog --all

质量检查

  • [ ] 版本号遵循语义化版本
  • [ ] 日期格式统一 (YYYY-MM-DD)
  • [ ] 变更分类准确
  • [ ] 无重复条目
  • [ ] 链接可访问

注意事项

  1. 首次生成:如果项目没有标签,会从第一个提交开始生成
  2. 合并提交:默认跳过 merge commits
  3. 中文提交:完全支持中文提交信息
  4. Breaking Changes:自动识别并在文档中高亮显示

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
3

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 23 Mar 2026, 8 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/evanfang0054/cc-system-creator-scripts/changelog/badge)](https://verified-skill.com/skills/evanfang0054/cc-system-creator-scripts/changelog)

Something wrong with this skill or its page? Tell us.