一键导入
changesets
Generate a changeset file with a changelog entry for package releases. Use when a PR introduces user-facing changes that should trigger a version bump.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Generate a changeset file with a changelog entry for package releases. Use when a PR introduces user-facing changes that should trigger a version bump.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Shipping workflow using standard Git and GitHub CLI. Provides guidance for committing, branching, and creating PRs.
Shipping workflow using Graphite CLI. Provides guidance for committing, branching, and creating PRs with Graphite's single-commit-per-branch model.
Add missing JSDoc docblocks to exported symbols in TypeScript projects. Use when writing new exports or when code is missing documentation.
Guidelines for writing developer-friendly READMEs for TypeScript libraries. Use when creating a new package, changing a public API, or updating documentation.
| name | changesets |
| description | Generate a changeset file with a changelog entry for package releases. Use when a PR introduces user-facing changes that should trigger a version bump. |
| argument-hint | [patch|minor|major] |
| allowed-tools | Bash(npx changeset add --empty) |
Create a new changeset file for the current project using the changesets CLI, then fill it with a proper changelog entry based on recent changes.
package.json.patch for fixes, minor for features, major for breaking changes.minor bumps may be treated as breaking.npx changeset add --empty to generate a new changeset file with a random name. NEVER create changeset files manually.---
'<package-a>': patch
'<package-b>': patch
---
<concise changelog entry>
Add a **BREAKING CHANGES** section (bold paragraph, not a header) after the changelog entry when:
major, ORminor AND the current major version is 0 (i.e. pre-1.0)...and the changes actually introduce breaking changes.
The breaking changes section should list each breaking change with a bold title summarizing the change, followed by a brief explanation and a diff code block showing the before/after migration when applicable. For example:
Replace the `useGranularImports` boolean option with a new `importStrategy` option.
**BREAKING CHANGES**
**`useGranularImports` replaced with `importStrategy`.** The boolean option has been replaced with a string union for finer control.
\`\`\`diff
- renderVisitor('./output', { useGranularImports: true });
+ renderVisitor('./output', { importStrategy: 'granular' });
\`\`\`
**Default import behavior changed.** The default strategy is now `'preferRoot'`, which falls back to granular packages for symbols not on the root entrypoint.
\`\`\`diff
- renderVisitor('./output'); // equivalent to useGranularImports: false
+ renderVisitor('./output'); // equivalent to importStrategy: 'preferRoot'
\`\`\`
Not every breaking change needs a diff — use them when there's a clear before/after code change to show. For type removals or behavioral changes, a text explanation is sufficient.
When invoked as a command, follow these steps:
[patch|minor|major] (optional): Override the bump level for all affected packages.git status for uncommitted changes. If there are meaningful working tree changes, use those. Otherwise, use the latest commit(s) on the current branch (compared to the base branch from .changeset/config.json).package.json to determine affected packages. Ignore changes that are not relevant to a changeset — e.g. typo fixes in comments, dependency version bumps in package.json, changes to CI config, docs-only changes in non-doc packages, etc. Use your judgement to filter out noise.npx changeset add --empty to generate a new changeset file with a random name..md file in .changeset/ (excluding README.md).