add-changeset
Create a changeset file for versioning and changelog generation. Use when the user asks to add a changeset, bump version, or prepare a release.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
Add Changeset
First Todo list item: Find the code in this PR to get context.
Instructions
- If the user does not specify one of
patch,minor, ormajor, use AskUserQuestion to prompt them:- patch: Bug fixes, small changes (backwards compatible)
- minor: New features (backwards compatible)
- major: Breaking changes
Only prompt if they do not provide it
-
Create a changeset file in
.changeset/directory with a descriptive name based on the feature or change (e.g.,add-dark-mode.md,fix-login-bug.md,rename-config-fields.md) -
Add a todo at the end to verify the changeset with
bun run changeset status
Example Changeset
File: .changeset/add-export-feature.md
---
"patchy-cli": patch
---
Add CSV export functionality for usage metrics
Changeset Format
---
"package-name": patch|minor|major
---
Description of the change (used in CHANGELOG)
Naming Convention
Name changeset files descriptively based on the change:
-
add-dark-mode.md(new feature) -
fix-auth-timeout.md(bug fix) -
rename-config-fields.md(refactor) -
breaking-api-v2.md(breaking change)
Avoid random/generated filenames.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-02-04
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!