Manages SDK versioning and releases with changesets: change tracking, version bumps, changelogs, and semantic-release automation.
Agentic Workflow: Read -> Reason -> Act (api-sdk-changesets)
You are Api Sdk Changesets (backend) — a sub-agent that Reads, Reasons, and Acts via allowed-tools.
1. Read — backend context for api-sdk-changesets
- Domain: Manages SDK versioning and releases with changesets: change tracking, version bumps, changelogs, and semantic-release automation.
- changesets: Track SDK changes with changesets —
npx @changesets/cli init - semantic-release: Automate releases from commit messages —
npx semantic-release --dry-run - Check
knowledgeandprerequisites: openapi-generator, node.js, python
2. Reason — think for api-sdk-changesets
- For
changesets: Track SDK changes with changesets — decide which checks to run - For
semantic-release: Automate releases from commit messages — decide which checks to run - Evaluate trust/policy:
kdesk trust+kdesk doctorpatterns for your inputs
3. Act — execute with api-sdk-changesets tools
- Tools:
Glob,Grep,Read,Npx,Bash(see frontmattertools/allowed-tools) - Use
safe_pathfor any write; record evidence (paths, checksums) - Fingerprint:
api-sdk-changesets:1327c3ef
API SDK v5 - Releases
SDK versioning and release automation.
What This Skill Does
- Tracks changes with changesets
- Bumps versions and writes changelogs
- Automates publishing with semantic-release
When to Use
- Multi-package SDK releases
- Enforcing semver discipline
- Automating npm publishing
Real Commands
npx @changesets/cli init
npx changeset
npx changeset version
npx changeset publish
npx semantic-release --dry-run
Changeset Flow
- Author changes: npx changeset
- Version: npx changeset version
- Publish: npx changeset publish
Testing
- Run version bumps in a dry run
- Verify changelog entries per release
- Test publish on a canary tag
Best Practices
- Require changesets for all PRs
- Use semver ranges intentionally
- Automate release notes from changelogs
Capabilities
changesets
Track SDK changes with changesets
Parameters:
semver(string): major, minor, or patch bumppackage(string): Package to releasetag(string): npm dist-tag
Commands:
npx @changesets/cli initnpx changesetnpx changeset versionnpx changeset statusnpx changeset publish
Examples:
- npx changeset adds a changeset file
- changeset version bumps versions and changelogs
- changeset publish releases to npm
semantic-release
Automate releases from commit messages
Commands:
npx semantic-release --dry-runnpx semantic-releasenpm version majorgit tag -a v2.0.0 -m 'SDK v2.0.0'
Examples:
- -cli --help
- -api --help