sequenzia/agent-alchemy/changelog-manager
Claude Code and agent skill by sequenzia/agent-alchemy
- community
Checking that the SKILL.md file is still in the repository.
Reviews git history and updates CHANGELOG.md with entries for [Unreleased] section (converted from agent)
Install
npx vskill@latest install sequenzia/agent-alchemy/changelog-managerSKILL.md
The same SKILL.md was published earlier as sequenzia/agent-alchemy/changelog-manager.
Changelog Manager
When invoked, perform the following changelog management tasks: analyze git history and help update CHANGELOG.md with well-written entries for the [Unreleased] section.
Workflow
Execute these steps in order:
Step 1: Find and Read CHANGELOG.md
- Look for
CHANGELOG.mdin the repository root:
``bash ls -la CHANGELOG.md ``
- If not found, check common locations or ask the user:
docs/CHANGELOG.mdCHANGES.md
- Read the changelog and identify:
- The last released version (e.g.,
## [0.2.0]) - Existing entries under
## [Unreleased] - The changelog format and style used
If no CHANGELOG.md exists, ask the user if they want you to create one.
Step 2: Get Git History Since Last Release (Enhanced)
Path filter note: If a path filter is provided in the prompt (e.g., -- agent-alchemy/sdd/), append it to all git log commands in this step to scope results to that sub-project.
- Find the tag for the last release:
``bash git tag --list 'v*' --sort=-version:refname | head -5 ``
- Get commits with extended format including body (for breaking change notices):
``bash git log v{version}..HEAD --format="%H|%s|%b" --no-merges [path_filter] ``
If no tags exist, get recent commits with warning: ``bash git log --format="%H|%s|%b" --no-merges -50 [path_filter] ``
- Extract PR/issue references for later enrichment:
``bash git log v{version}..HEAD --no-merges --oneline [path_filter] | grep -oE '#[0-9]+' | sort -u ``
- For more context on specific commits, use:
``bash git show --stat {commit_sha} ``
Step 3: Analyze File Changes
Purpose: Understand scope and impact of changes.
Path filter note: If a path filter is provided in the prompt, append it to the git diff commands below to scope results to that sub-project.
- Get files changed with status (A=Added, M=Modified, D=Deleted, R=Renamed):
``bash git diff v{version}..HEAD --name-status [path_filter] ``
- Get summary by directory:
``bash git diff v{version}..HEAD --dirstat [path_filter] ``
- Categorize files by area:
| Path Pattern | Category | Changelog Relevance | |
|---|---|---|---|
src/, lib/ | Core code | High | |
tests/, __tests__/ | Tests | Low (skip) | |
docs/, *.md | Documentation | Medium | |
Root configs (*.json, *.toml) | Configuration | High | |
.github/, CI files | CI/CD | Low (skip) |
- Flag cross-cutting changes: If 5+ directories affected, note "wide-ranging changes" in summary.
Step 4: Deep Diff Analysis
Purpose: Detect API changes and breaking changes.
- Detect new public interfaces:
```bash # Python: new functions/classes (public only, skip underscore-prefixed) git diff v{version}..HEAD -- ".py" | grep -E "^\+\s(def |class )" | grep -v "_"
# JS/TS: new exports git diff v{version}..HEAD -- ".ts" ".js" | grep -E "^\+.*export" ```
- Detect removed interfaces (BREAKING):
```bash # Python git diff v{version}..HEAD -- ".py" | grep -E "^-\s(def |class )" | grep -v "_"
# JS/TS git diff v{version}..HEAD -- ".ts" ".js" | grep -E "^-.*export" ```
- Detect dependency changes:
``bash git diff v{version}..HEAD -- pyproject.toml package.json requirements*.txt ``
- Track findings internally:
new_apis[]- new public functions/classesremoved_apis[]- BREAKINGmodified_apis[]- potentially breakingdependency_changes[]
Step 5: PR/Issue Context Enrichment
Purpose: Get richer context from PRs and issues.
- Check gh CLI availability:
``bash which gh && gh auth status 2>/dev/null ``
- If gh is available, fetch PR context for each PR number found:
``bash gh pr view {number} --json title,body,labels,files ``
- Fallback: If gh unavailable, continue with git data only (log this to user).
- Extract from PR data:
- PR title (often better than commit subject)
- Labels (
breaking-change,bug,feature,security) - PR body for migration notes
Step 6: Categorize Changes (Enhanced)
Primary: Use conventional commit prefixes:
| Prefix | Category | Include in Changelog | |
|---|---|---|---|
feat: | Added | Yes | |
fix: | Fixed | Yes | |
refactor: | Changed | Yes (if user-facing) | |
change: | Changed | Yes | |
perf: | Changed | Yes | |
security: | Security | Yes | |
deprecate: | Deprecated | Yes | |
remove: | Removed | Yes | |
docs: | - | No (internal) | |
chore: | - | No (internal) | |
test: | - | No (internal) | |
ci: | - | No (internal) | |
style: | - | No (internal) | |
build: | - | No (internal) |
Secondary signals (override/augment when detected):
| Signal | Category | Priority | |
|---|---|---|---|
| Removed export detected | Removed + BREAKING | High | |
PR label breaking-change | Add BREAKING flag | High | |
PR label security | Security | High | |
| New export detected | Added | Medium |
For commits without conventional prefixes, use diff analysis results to determine the appropriate category.
Step 7: Synthesize Entries (Enhanced)
Entry sources (priority order):
- PR title (if more descriptive than commit subject)
- Commit subject
- Code analysis (for accuracy)
Entry Format:
- Start with imperative verb (Add, Fix, Change, Remove, etc.)
- Focus on user impact, not implementation details
- Keep entries concise (one line preferred)
- Include scope in parentheses if helpful:
Add support for (authentication)
Breaking change format:
Group related changes when multiple commits touch same feature (>50% file overlap).
Good Examples:
Add dark mode toggle to settings pageFix crash when uploading files larger than 10MBChange password requirements to enforce minimum 12 characters**BREAKING**: Remove deprecated v1 API endpoints
Poor Examples (avoid):
Updated code(too vague)Fixed bug(doesn't explain what)Refactored the authentication module to use dependency injection(too technical)
Step 8: Present Draft for Review (Enhanced)
Show summary stats:
Prominent breaking changes section (if any detected):
Show the user:
- Existing [Unreleased] entries (if any)
- Suggested new entries organized by category
- Commits analyzed with brief summary
Prompt the user to choose:
Step 9: Update CHANGELOG.md
Once approved, modify CHANGELOG.md:
- Add new entries under the appropriate categories in
[Unreleased] - Create category headings if they don't exist
- Preserve existing unreleased entries
- Maintain consistent formatting
Category Order (per Keep a Changelog):
- Added
- Changed
- Deprecated
- Removed
- Fixed
- Security
Sub-project headings: When a scope is provided in the prompt, place entries under a sub-project heading within [Unreleased]:
Use ### for sub-project names and #### for categories within them. If no scope is provided (default behavior), use ### for categories directly as usual — this preserves backward compatibility.
Edge Case Handling
| Scenario | Handling | |
|---|---|---|
| No commits since release | Report "No new commits found since {version}" and exit gracefully | |
| No tags exist | Use last 50 commits with warning to user | |
| gh CLI unavailable | Skip PR enrichment, proceed with git data only | |
| PR not found | Continue without that PR's context | |
| Massive refactor (100+ files) | Warn about scope, suggest grouping entries | |
| No conventional prefix | Use diff analysis for categorization | |
| Merge commits in history | Skip merge commits (use --no-merges) | |
| Commits already in changelog | Compare and skip duplicates | |
| Squash-merged PRs | Treat as single entry, check PR for details |
Breaking Change Detection
Auto-flag as BREAKING:
- Removed public function/class/export
- Removed required parameter
- Changed return type of public function
- PR label contains "breaking"
- Commit body contains "BREAKING CHANGE:"
Flag for review (ask user):
- Renamed function/class
- Added required parameter
- Changed default values
- Moved to different module
Quality Standards
- Never add implementation details (commit SHAs, file paths, technical jargon)
- Write from the user's perspective
- Group related changes when possible
- Flag breaking changes prominently with
**BREAKING**:prefix - Maintain the existing changelog's voice and style
Integration Notes
What this component does: Analyzes git history and updates CHANGELOG.md with well-categorized entries following Keep a Changelog format, including breaking change detection and PR enrichment.
Capabilities needed:
- Shell command execution (git commands, gh CLI)
- File reading and editing (CHANGELOG.md)
- Content search (for diff analysis)
- User interaction (entry approval)
Origin: Converted from agent changelog-manager — originally invoked as a sub-agent Complexity hint: Originally ran on a sonnet model Original tool scope: Shell execution, file reading, file editing, file searching, user interaction
Adaptation guidance:
- This skill is self-contained with no external dependencies
- The
ghCLI integration (Step 5) is optional and gracefully degrades - Path filter support allows scoping to monorepo sub-projects
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingported/20260310/all/skills-flat/changelog-manager/SKILL.md
Popularity
- Repository stars
- 42
- Repository forks
- 7
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 1 Jul 2026, 4 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/sequenzia/agent-alchemy/changelog-manager)