Create a changeset file describing user-facing changes for the current branch.
Steps
-
Determine the bump type. If not provided by the user, ask which applies:
patch— bug fix or small tweakminor— new feature, command, or flagmajor— breaking change (removed/renamed command, changed output format)
-
Inspect recent changes. Run
git diff main...HEAD --statand read changed files to understand what changed. -
Write a summary. Compose a 1-2 sentence description of the change from a user's perspective. Focus on what changed and why it matters, not implementation details.
-
Generate the changeset file. Create
.changeset/<kebab-case-name>.mdwith this exact format:
---
"@alchemy/cli": <bump-type>
---
<summary>
The kebab-case name should be descriptive (e.g., add-portfolio-command, fix-json-output). Do not use random words.
- Confirm. Show the user the file path and contents for review.
Rules
- One changeset per logical change. If a PR has multiple independent changes, create multiple files.
- Never use
majorwithout explicit user confirmation. - The summary must describe user-visible behavior, not code changes.
- Do not modify existing changeset files unless asked.