Skills for Real Engineers. Straight from my .agents directory.
changelog-gen
Agent skill fromlaolaoshiren/claude-code-skills-zh
Changelog 生成器 - 从 Git 历史自动生成 CHANGELOG
How to install changelog-gen
npx skills add laolaoshiren/claude-code-skills-zh# or add only this skill to Claude Code: copy the folder
skills/changelog-gen/
# into
~/.claude/skills/changelog-gen/ (all projects)
.claude/skills/changelog-gen/ (one project)
1# Changelog 自动生成23## 触发条件4当用户要求生成 changelog、更新日志、版本记录、release notes 时激活此技能。56## 工作流程78### 第 1 步:获取 Git 历史9```bash10# 先获取最近的 tag,再用 revision range 查询11git describe --tags --abbrev=012git log --oneline <last-tag>..HEAD1314# 或指定范围15git log --oneline v1.0.0..HEAD1617# 仓库没有 tag 时,明确选择起始提交或查看全部历史18git log --oneline19```2021### 第 2 步:分类提交22按 Conventional Commits 分类:2324| 分类 | Type 标识 | 图标 |25|------|----------|------|26| 新功能 | `feat` | ✨ |27| Bug 修复 | `fix` | 🐛 |28| 文档 | `docs` | 📝 |29| 重构 | `refactor` | ♻️ |30| 性能优化 | `perf` | ⚡ |31| 测试 | `test` | 🧪 |32| 构建/工具 | `chore` | 🔧 |33| Breaking Changes | 含 `BREAKING CHANGE:` 或 `!` | ⚠️ |34| 安全修复 | `fix(security)` 或含 CVE | 🔒 |35| 依赖更新 | `deps` 或 `chore(deps)` | 📦 |3637### 第 3 步:版本号确定策略3839遵循 Semantic Versioning 规则:4041| 变更类型 | 版本变化 | 示例 |42|---------|---------|------|43| Breaking Changes | 主版本 +1 | 1.2.0 → 2.0.0 |44| 新功能 (feat) | 次版本 +1 | 1.2.0 → 1.3.0 |45| Bug 修复 (fix) | 修订版本 +1 | 1.2.0 → 1.2.1 |46| 安全修复 (fix(security)) | 修订版本 +1(紧急发布) | 1.2.0 → 1.2.1 |4748**判断依据**:49- 提交信息含 `BREAKING CHANGE:` 或 type 后加 `!`(如 `feat!:`)→ 主版本50- 存在 `feat` 提交 → 次版本51- 仅 `fix`/`docs`/`chore` 等 → 修订版本5253### 第 4 步:生成 CHANGELOG5455## 输出格式5657```markdown58# Changelog5960## [1.3.0] - 2026-06-176162### ⚠️ Breaking Changes63- 移除废弃的 `/api/v1/users` 端点,统一使用 `/api/v2/users` (#130)6465### ✨ 新功能66- 新增用户认证模块 (#123)67- 支持 OAuth2 登录 (#124)68- 新增批量导出功能 (#128)6970### 🔒 安全修复71- 升级 lodash 修复原型污染漏洞 CVE-2025-XXXX (#129)7273### 🐛 Bug 修复74- 修复分页查询偏移量错误 (#125)75- 修复并发写入导致的数据竞争 (#127)7677### ⚡ 性能优化78- 优化大列表渲染性能,减少 50% 内存占用 (#126)7980### 📝 文档81…
Excerpt shown under the repository's MIT license.
More skills in claude-code-skills-zh
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
