Doc Changelog Writer

Description

jiayaoqijia Updated 81 repo stars

File contents

Description

Generate CHANGELOG.md entries from git commits. Automatically categorizes commits into features, fixes, and breaking changes for release documentation.

Inputs

{
  "commits": ["list of commit messages"],
  "version": "1.0.0",
  "date": "2026-02-06"
}

Outputs

{
  "ok": true,
  "data": {
    "changelog": "Changelog markdown content"
  }
}

Usage

Demo Mode

python scripts/main.py --demo

Generate Changelog

echo '{"commits": ["feat: add new endpoint", "fix: memory leak"], "version": "1.0.0"}' | python3 scripts/main.py

Examples

Example 1: Create Release Notes

$ echo '{"commits": ["feat: add new feature", "fix: bug fix"], "version": "1.0.0", "date": "2026-02-06"}' | python3 scripts/main.py
{
  "ok": true,
  "data": {
    "changelog": "## [1.0.0] - 2026-02-06\n\n### Features\n- add new feature\n\n### Fixes\n- bug fix"
  }
}

Error Handling

When an error occurs, the skill returns:

{
  "ok": false,
  "error": "Error description",
  "details": {
    "commits": "Invalid commit list"
  }
}

jiayaoqijia/cryptoskill commit a5252ff358

Frequently asked questions

npx get-skill add jiayaoqijia/doc-changelog-writer-2