Loading...
Loading...
Changesets for versioning and changelog management in monorepos. Use when managing package versions, generating changelogs, or publishing packages. Use for changesets, versioning, changelog, semver, monorepo-versioning, release, publish, bump.
npx skill4agent add oakoss/agent-skills changesetschangeset versionchangeset publish.changeset/package.jsonCHANGELOG.mdversionversion1.0.0-beta.00.0.0-timestamp| Option | Default | Description |
|---|---|---|
| | Changelog generator package or |
| | Auto-commit on |
| | npm publish access; set |
| | Branch used for change detection |
| | Groups of packages that share highest bump type |
| | Groups of packages that share exact version |
| | Packages excluded from changeset versioning |
| | When to bump dependents: |
| | Version/tag behavior for |
| Pattern | Command / Config | Key Points |
|---|---|---|
| Initialize | | Creates |
| Add changeset | | Interactive prompt for packages and bump type |
| Add empty changeset | | Declares no packages need versioning (satisfies CI) |
| Version packages | | Consumes changesets, bumps versions, updates changelogs |
| Publish packages | | Publishes to npm, creates git tags |
| Check status | | Lists pending changesets; exits 1 if changes lack changesets |
| Status since branch | | Only checks changes since diverging from main |
| Enter prerelease | | Enables prerelease mode (beta, alpha, rc, next) |
| Exit prerelease | | Returns to normal versioning mode |
| Snapshot version | | Creates 0.0.0-timestamp versions for testing |
| Snapshot publish | | Publishes snapshot without overwriting latest dist-tag |
| Link packages | | Packages share the highest version bump type |
| Fix packages | | Packages share the exact same version number |
| Ignore packages | | Excludes packages from changeset versioning |
| Public access | | Required for publishing public scoped packages |
| GitHub changelog | | Adds PR links and contributor attribution |
| Auto-commit | | Version and add commands auto-commit changes |
| Internal deps | | Controls when internal dependents get bumped |
| Mistake | Correct Pattern |
|---|---|
Committing between | Run |
Forgetting | Use |
Using | Use |
Setting | Set |
Not including | Full git history is needed for changeset detection |
Running | Always run build step before |
| Entering prerelease mode on main branch | Use a dedicated branch for prereleases to avoid blocking normal releases |
| Ignoring packages that others depend on | Ignored packages skip bumps, breaking dependents — use sparingly |
| Publishing snapshots with default tag | Always use |
Not setting | Both |
Using | The official |
Manually editing generated | Edit changeset files instead; changelogs are regenerated on |
ExploreTaskIf theskill is available, delegate build orchestration, task caching, and CI optimization to it. If theturboreposkill is available, delegate workspace setup, dependency linking, catalogs, and Docker deployment to it. See its monorepo integration reference for the end-to-end release pipeline.pnpm-workspace