Agent Skillsfabro-sh/fabro › changelog

changelog

GitHub

从Git历史中提取用户可见变更,按日期生成Mintlify MDX格式的产品更新日志,并自动管理文档索引和水印。

.claude/skills/changelog/SKILL.md fabro-sh/fabro

Trigger Scenarios

更新产品更新日志 添加更新日志条目 编写发布说明

Install

npx skills add fabro-sh/fabro --skill changelog -g -y
More Options

Non-standard path

npx skills add https://github.com/fabro-sh/fabro/tree/main/.claude/skills/changelog -g -y

Use without installing

npx skills use fabro-sh/fabro@changelog

指定 Agent (Claude Code)

npx skills add fabro-sh/fabro --skill changelog -a claude-code -g -y

安装 repo 全部 skill

npx skills add fabro-sh/fabro --all -g -y

预览 repo 内 skill

npx skills add fabro-sh/fabro --list

SKILL.md

Frontmatter
{
    "name": "changelog",
    "description": "Generate and update the product changelog in Mintlify docs. Use when the user asks to update the changelog, add a changelog entry, document recent changes, or write release notes. Reads git history on main, filters to user-facing changes, and writes dated MDX files to docs\/public\/changelog\/."
}

Changelog

Generate user-facing changelog entries from git history and write them as Mintlify MDX files.

Workflow

1. Read watermark

Read .claude/skills/changelog/watermark for the last processed commit SHA. If the file is missing (first run), use the commit from 30 days ago as the starting point: git log --before="30 days ago" --format=%H -1 main.

2. Gather changes

Run git log --oneline --no-merges <watermark>..HEAD to get commits since the watermark. Read commit messages and changed files to understand the actual user-facing impact — don't just reword commit messages.

3. Filter and group by date

Group commits by their commit date (git log --format="%h %ad %s" --date=short). Each date that has user-facing changes gets its own entry file. Dates with only internal changes get no entry.

Include only changes visible to end users:

  • New features and capabilities
  • Bug fixes that affected users
  • Breaking changes or behavioral changes
  • New integrations or provider support
  • Performance improvements users would notice
  • UI/UX changes

Exclude:

  • Internal refactors with no behavior change
  • Test-only changes
  • CI/CD pipeline changes
  • Dependency bumps (unless they fix a user-facing issue)
  • Code style or linting changes

If there are no user-facing changes in the entire range, tell the user and stop.

4. Write changelog entries

Create one file per date at docs/public/changelog/YYYY-MM-DD.mdx, using the commit date (not today's date). If a file already exists for a date, regenerate it with the full set of commits for that day (not just new ones). Follow the references linked above for format, writing style, and hero vs. accordion decisions.

  • Batch related commits into a single feature section (e.g., multiple hook-related commits become one "Lifecycle hooks" section)

5. Update docs/public/docs.json

Add all new pages to the Changelog tab's pages array in docs/public/docs.json. List entries most recent first. The page path is changelog/YYYY-MM-DD (no .mdx extension).

6. Write watermark

Write the output of git rev-parse HEAD to .claude/skills/changelog/watermark.

7. Clean up legacy single-file changelog

If docs/public/changelog.mdx still exists as the old single-file changelog, delete it and remove its reference from docs/public/docs.json.

Version History

  • 7501ada Current 2026-07-25 09:40

Same Skill Collection

.claude/skills/docs/SKILL.md
.fabro/skills/rust-style-guide/SKILL.md

Metadata

Files
0
Version
d3825fb
Hash
bf46a7f8
Indexed
2026-07-25 09:40

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-20 07:47
浙ICP备14020137号-1 $Гость$