跳到正文
TakoAPI
返回技能列表

git-changelog-gen

由 rogue-agent1 提供

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

简介

Generate changelogs from git commits.

描述

该技能的功能

Generates a human-readable changelog from git commit history. Supports markdown, plain text, and JSON output with date range and tag-based filtering. Automatically uses the last git tag as the start point and excludes merge commits.

Requires no dependencies beyond git and bash, so it runs in any environment without installation or configuration.

何时使用

  • Writing release notes before tagging a new version
  • Summarizing changes between two dates for a sprint review
  • Exporting commit data as JSON for CI pipeline processing
  • Reviewing what changed in a repo over the past month
  • Grouping commits by type in a conventional-commits project

示例工作流

输入

User asks: Generate a markdown changelog for my repo since January 1, 2026

智能体
  1. 1

    Runs bash scripts/changelog.sh with --repo pointing to the target repository

  2. 2

    Passes --since 2026-01-01 to filter commits from that date forward

  3. 3

    Excludes merge commits and extracts conventional commit type prefixes from subjects

  4. 4

    Formats output as markdown with commit hashes, authors, and dates

输出

A markdown-formatted changelog listing all non-merge commits since January 1, 2026, with author attribution and commit hashes

安装

clawhub install rogue-agent1/git-changelog-gen

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

链接