| name | changeset |
| description | Create a changeset from git history for the current branch. Use when the user asks to create a changeset, prepare a release, or generate a changeset from commits. Use when this capability is needed. |
| metadata | {"author":"eli0shin"} |
Create Changeset from Git History
Create a changeset for the current branch automatically:
- Gather all changes:
- Run
git log main..HEAD --oneline to get all commits on this branch
- Run
git diff to see unstaged changes
- Run
git diff --cached to see staged changes
- Analyze the commits and current changes to determine the semver bump:
major if any commit contains "BREAKING" or "!"
minor if any commit starts with "feat"
patch otherwise (fix, chore, refactor, docs, etc.)
- Generate a concise summary (1-2 sentences) describing all changes (commits + uncommitted)
- Create a changeset file by running
bunx changeset add --empty then editing the created file, OR by directly writing a new file to .changeset/ with a random kebab-case name (e.g., tall-lions.md)
The changeset file format:
---
'cli-lsp-client': <patch|minor|major>
---
<your generated summary>
Do not ask any questions - determine everything from the git history and create the changeset file directly.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.