Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/default-add-mode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"buddy-changesets": minor
---

Default the `changesets` skill to `add` mode when the request names no mode. Ask for `review` explicitly to audit the pending changesets.
2 changes: 1 addition & 1 deletion skills/changesets/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Pick from what the user asked for:
| "review the changesets", "check the changeset wording", "are the changesets right", pre-merge or pre-release cleanup | `review` |
| Names a mode explicitly (`changesets add`, `changesets review`) | that mode |

`review` is a superset of `add`: it writes a changeset for the current change when one is missing, then audits every file in `.changeset/`. When the request is ambiguous and `.changeset/` already holds pending changesets, prefer `review`.
`review` is a superset of `add`: it writes a changeset for the current change when one is missing, then audits every file in `.changeset/`. When the request is ambiguous or names no mode, default to `add`; run `review` only when the user asks for it.

**Not this skill:**

Expand Down
2 changes: 1 addition & 1 deletion skills/changesets/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To set changesets up in the first place, use **init-changesets** instead.
| `add` | Works out which packages the current change affects, picks the bump type, and writes the changeset file. |
| `review` | Adds a missing changeset, then reads every pending file in `.changeset/` and checks scope, bump accuracy, breaking-change and migration detail, wording, and markdown. |

`review` is the superset — use it before merging or cutting a release, when pending changesets are already sitting in `.changeset/`.
`add` is the default when the request names no mode. `review` is the superset — ask for it before merging or cutting a release, when pending changesets are already sitting in `.changeset/`.

## What it checks in review mode

Expand Down