← 返回 Skills 市场
rogue-agent1

Git Changelog Generator

作者 rogue-agent1 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1212
总下载
0
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install git-changelog-gen
功能描述
Generate changelogs from git commits. Supports markdown, plain text, and JSON output with date ranges and tag-based filtering.
使用说明 (SKILL.md)

Git Changelog

When to use

Generate a human-readable changelog from git commit history. Works with any git repository.

Setup

No dependencies required. Uses only git and bash.

How to

Basic changelog (last 30 days or since last tag)

bash scripts/changelog.sh --repo /path/to/repo

Since a specific date

bash scripts/changelog.sh --repo /path/to/repo --since "2026-01-01"

Date range

bash scripts/changelog.sh --repo /path/to/repo --since "2026-01-01" --until "2026-02-01"

JSON output (for programmatic use)

bash scripts/changelog.sh --repo /path/to/repo --format json

Plain text output

bash scripts/changelog.sh --repo /path/to/repo --format plain

Output Formats

Format Description
markdown Default. Headers, commit hashes, authors, dates
plain Simple bullet list
json Array of commit objects with hash, subject, author, date, type

Options

Flag Description Default
--repo \x3Cpath> Repository path Current directory
--since \x3Cdate> Start date Last tag or 30 days ago
--until \x3Cdate> End date Now
--format \x3Cfmt> Output format markdown
--group Group by conventional commit type Off (needs bash 4+)

Notes

  • Automatically detects the last git tag and uses it as the start point
  • Excludes merge commits for cleaner output
  • Conventional commit types (feat/fix/docs/etc) are extracted for JSON output
  • --group mode requires bash 4+ (macOS ships with 3.2; install via brew install bash)
安全使用建议
The skill appears to do what it says: run the provided script against a local git repository to generate a changelog. Before using: (1) inspect or run the script in a sandbox — although harmless-looking, it will output all commit messages and metadata (these can contain secrets); (2) note the shebang points to /opt/homebrew/bin/bash but examples invoke it with 'bash', which avoids shebang issues; (3) ensure you run it only on repositories you trust or where exposing commit text is acceptable. Overall it's coherent and does not request extra permissions or network access.
功能分析
Type: OpenClaw Skill Name: git-changelog-gen Version: 1.0.0 The skill bundle is benign. The `SKILL.md` instructions are straightforward and do not contain any prompt injection attempts. The `scripts/changelog.sh` script correctly validates the `--repo` argument by ensuring it's a valid git repository using `git rev-parse --git-dir` before performing any operations, which prevents arbitrary file system access. All git commands are constructed with properly quoted arguments, mitigating shell injection risks. The script only reads git history and outputs formatted text, with no evidence of data exfiltration, persistence, or malicious execution.
能力评估
Purpose & Capability
Name/description match the included script and SKILL.md. The script operates on a local git repository and produces markdown/plain/text/JSON changelogs as advertised. No unrelated binaries, env vars, or config paths are requested. (Minor note: the script shebang points to /opt/homebrew/bin/bash, but examples call it with 'bash scripts/changelog.sh', so this is not an operational mismatch.)
Instruction Scope
Runtime instructions only invoke the included shell script against a repo path. The script only runs git commands, changes to the provided repository path, and formats commit metadata. It does not reference external endpoints, other system config, or environment variables. Users should be aware that commit messages/metadata may contain sensitive information and will be output.
Install Mechanism
No install spec; skill is instruction-only with one included script. Nothing is downloaded or written to disk by an installer. Dependencies are limited to git and bash, which matches the script's behavior.
Credentials
No environment variables, credentials, or config paths are required. The script does not read shell history or other unrelated files. There is no disproportionate access requested.
Persistence & Privilege
always is false and the skill does not request persistent presence or modify other skill/system configs. It can be invoked by the agent (normal default), but it does not autonomously elevate privileges or store tokens.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install git-changelog-gen
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /git-changelog-gen 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: markdown/plain/JSON output, date ranges, tag-based filtering
元数据
Slug git-changelog-gen
版本 1.0.0
许可证
累计安装 8
当前安装数 8
历史版本数 1
常见问题

Git Changelog Generator 是什么?

Generate changelogs from git commits. Supports markdown, plain text, and JSON output with date ranges and tag-based filtering. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1212 次。

如何安装 Git Changelog Generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install git-changelog-gen」即可一键安装,无需额外配置。

Git Changelog Generator 是免费的吗?

是的,Git Changelog Generator 完全免费(开源免费),可自由下载、安装和使用。

Git Changelog Generator 支持哪些平台?

Git Changelog Generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Git Changelog Generator?

由 rogue-agent1(@rogue-agent1)开发并维护,当前版本 v1.0.0。

💬 留言讨论