Skip to main content

changelog

Maintains CHANGELOG.md in the project root using git commit history. Use when the user invokes /changelog, asks to "update the changelog", "generate a changelog", or wants to record what changed before merging a branch. Creates the file from scratch if it doesn't exist (all commits grouped by date); otherwise appends only commits newer than the last recorded date.

来源信息

仓库
https-deeplearning-ai/sc-spec-driven-development-files
最近来源活动
2026年4月13日 21:04
检测到的 SKILL.md 语言
英语
星标
317
Forks
308

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
changelog
description
Maintains CHANGELOG.md in the project root using git commit history. Use when the user invokes /changelog, asks to "update the changelog", "generate a changelog", or wants to record what changed before merging a branch. Creates the file from scratch if it doesn't exist (all commits grouped by date); otherwise appends only commits newer than the last recorded date.
# Changelog Skill ## Workflow 1. Run the script from the project root: ```bash python3 <skill-dir>/scripts/changelog.py ``` Where `<skill-dir>` is the directory containing this skill. Claude Code exposes the skill path — use it directly. 2. The script handles both cases automatically: - **No CHANGELOG.md**: reads full git history, writes the file with all dates - **CHANGELOG.md exists**: finds the newest `## YYYY-MM-DD` heading, fetches commits after that date, prepends new sections 3. Review the output, edit bullet wording if needed, then commit `CHANGELOG.md` as part of the merge commit. ## Format ```markdown # Changelog ## 2026-03-31 - Add responsive design to layout and CSS - Add Vitest test suite for components and routes ## 2026-03-30 - Initial project scaffold ``` - One `# Changelog` title at the top - Date headings as `## YYYY-MM-DD`, newest first - Each commit is one bullet; wording may be cleaned up manually after generation ## Notes - Run from the **project root** (same directory as `.git/`) - Commit subjects come directly from `git log`; clean them up manually if needed - The script is idempotent: re-running when nothing is new prints a message and exits without modifying the file
在 GitHub 查看