Gen changesets

From PyModel/pythinker-code · View interactive version

Gen changesets is an AI agent skill from the GitHub repository PyModel/pythinker-code. Use when generating changesets in the pythinker-code repository — deciding whether to write one, which package to list, the bump level, the wording, and the confirmation workflow.

How to use this skill

Skill file

Generate Changesets

The only user-facing published package is the CLI: @pymodel/pythinker-code. All other @pymodel/* packages (sdk, agent-core, kosong, oauth, telemetry, and so on) are internal.

1. Whether to Write

Rule of thumb: if users cannot perceive the change, write no changeset. A changeset is a user-facing changelog entry, not a shipping gate — internal changes merged to main ship with the next release anyway, so skipping loses nothing.

Do not write:

Do write: user-perceivable new features or behavior changes, and internal-package changes that fix a user-useful bug or change CLI output/behavior (list @pymodel/pythinker-code for those).

2. What to Write

Create a short kebab-case file under .changeset/:

---
"@pymodel/pythinker-code": patch
---

Fix occasional loss of tool call results in long conversations.

Wording:

3. Bump Level

4. Which Package

5. Workflow

  1. Run git status / git diff --name-only to see which packages actually changed.
  2. Apply section 1; if no changeset is needed, stop.
  3. Pick the package and the bump, and write the one sentence.
  4. Show the changeset text to whoever requested the work and get their confirmation before committing.
  5. Do not guess at changes you do not understand: finish the parts that are clear, then list what is unclear and ask whether you may dig into the code.

Before a release, review the accumulated .changeset/ entries and delete the non-user-facing ones — the release PR regenerates from .changeset/ on main, so deleting a file removes its changelog entry without touching shipped code.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.