跳到正文
TakoAPI
返回技能列表

git-changelog

由 fratua 提供

Git & GitHub
581下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Auto-generate beautiful changelogs from git history, grouped by conventional commit types.

描述

该技能的功能

Reads git commit history and produces a categorized, markdown-formatted changelog grouped by conventional commit types. Handles tag ranges, date ranges, and breaking change detection automatically. Output is ready to paste into CHANGELOG.md or a GitHub release.

Parsing conventional commits and grouping them by type by hand is tedious and error-prone, especially across long ranges; this skill automates the whole process in one step.

何时使用

  • Generating release notes before tagging a new version
  • Creating a CHANGELOG.md entry after a sprint
  • Reviewing what changed between two git tags
  • Catching breaking changes before publishing a package
  • Summarizing recent commits for a team update

示例工作流

输入

User asks: generate a changelog from v1.1.0 to HEAD

智能体
  1. 1

    Verify the current directory is a git repository using git rev-parse

  2. 2

    Determine the commit range from v1.1.0 to HEAD

  3. 3

    Extract commits with hash, subject, author, and date using git log

  4. 4

    Parse each commit subject for conventional commit prefixes and group into categories

  5. 5

    Check for BREAKING CHANGE footers and feat! commits, then render the full markdown output

输出

A markdown changelog with sections for Features, Bug Fixes, and any other detected categories, including short commit hashes and scopes

安装

clawhub install fratua/git-changelog

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接