一键导入
changelog
// Generate a changelog entry from conventional commits since the last release tag. Determines semver bump automatically or accepts an override (e.g., /changelog minor).
// Generate a changelog entry from conventional commits since the last release tag. Determines semver bump automatically or accepts an override (e.g., /changelog minor).
| name | changelog |
| description | Generate a changelog entry from conventional commits since the last release tag. Determines semver bump automatically or accepts an override (e.g., /changelog minor). |
| argument-hint | [patch|minor|major] |
| allowed-tools | Bash(git *), Read, Edit, Glob, Grep |
Generate a new CHANGELOG.md entry from conventional commits since the last release tag.
Read CLAUDE.md before writing — especially the Conventions and Workflow sections.
git describe --tags --abbrev=0git log -20 --onelinegit tag --sort=-v:refname | head -1
Strip the v prefix to get CURRENT_VERSION.
Get full commit bodies (needed for BREAKING CHANGE and Reported-by:):
git log <tag>..HEAD --format='---COMMIT---%n%H%n%s%n%b' --reverse
Parse each subject as type(scope): description.
Skip entirely:
chore(release) — release automationdocs-only, style-only, ci-only, test-only, build-only,
chore-only — unless the change is user-facingChangelog sections:
| Type | Section | Bump |
|---|---|---|
feat | Features | minor |
fix, perf | Fixes | patch |
BREAKING CHANGE in body or ! after type | Features (note breaking) | major |
A commit is "user-facing" if it changes behavior observable by someone
running gha-dash. When in doubt, skip — the changelog should be useful,
not exhaustive.
$ARGUMENTS is patch, minor, or major — use that override.majorfeat → minorpatch0, a breaking change bumps
minor instead of major.Compute NEW_VERSION by bumping CURRENT_VERSION.
Match the existing CHANGELOG.md format exactly:
## X.Y.Z (YYYY-MM-DD)
### Features
- **Bold title** — terse, user-facing description
### Fixes
- **Bold title** — terse, user-facing description
Rules:
v prefix### Features or ### Fixes if that section has entries- **Bold title** — descriptionReported-by: trailer, append (reported by @handle)Show the user:
CURRENT_VERSION → NEW_VERSION (type)Ask: "Does this look right? I'll prepend it to CHANGELOG.md when you approve."
CHANGELOG.md# Changelog\n and before the first
## X.Y.Z linepackage.json or create tags — CI handles versioningchore (skip). Mention in review.Review code for potential issues and improvements. Use when asked to review specific files, functions, or code sections.
Review and plan focused git commits from tangled changes
Update TPP for engineer handoff when context is running low or session is ending.
Iterative deep planning with critiques and alternatives. Use when facing complex design decisions requiring thorough analysis.
Work on a Technical Project Plan. Use when starting work on a TPP from _todo/, resuming a TPP, or when the user references a TPP file.