Claude-init update-changelog
Update the changelog based on commits in the current git branch
install
source · Clone the upstream repo
git clone https://github.com/Flexonze/claude-init
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/Flexonze/claude-init "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.claude/skills/update-changelog" ~/.claude/skills/flexonze-claude-init-update-changelog && rm -rf "$T"
manifest:
.claude/skills/update-changelog/SKILL.mdsource content
Update Changelog
Update the project's changelog based on the commits in the current branch.
Instructions
-
Identify the changelog file
- Look for
,CHANGELOG.md
, or similarHISTORY.md - Note the existing format and style
- Look for
-
Analyze the current branch
- Get the branch name:
git branch --show-current - Get commits since branching from main:
git log main..HEAD --oneline - Read the full commit messages for context:
git log main..HEAD
- Get the branch name:
-
Categorize changes
- Group commits by type:
- Added (new features)
- Changed (modifications to existing features)
- Fixed (bug fixes)
- Removed (removed features)
- Security (security fixes)
- Deprecated (soon-to-be removed features)
- Group commits by type:
-
Update the changelog
- Add a new "Unreleased" section if needed
- Write clear, user-facing descriptions (not just commit messages)
- Follow the existing format and style of the changelog
- Link to relevant issues/PRs if the project does that
Examples
- "Update the changelog with my changes"
- "Add my branch changes to CHANGELOG.md"
- "What should I add to the changelog?"