npx skills add ...
npx skills add schpet/linear-cli --skill release
This skill should be used when the user asks to "make a release", "create a release", "cut a release", "release a new version", "publish a release", or mentions preparing for release. Provides comprehensive workflow for reviewing changes, updating changelog, determining semver bump, and publishing.
npx skills add schpet/linear-cli --skill release
This skill provides a systematic workflow for creating and publishing releases for the linear-cli project. It handles changelog management, version bumping, testing, and tagging.
Use this skill when preparing to release a new version of linear-cli. The workflow ensures all changes are documented, tests pass, and versions are properly tagged before publishing.
Ensure the following tools are available:
changelog skill for changelog managementsvbump for version bumping (installed)jj for version control operationsjust for running the release tasksDetermine the commits that have been made since the last release:
This shows all commits from the most recent tag to the current commit.
For each commit identified above, evaluate whether it warrants a changelog entry. Focus on user-facing changes:
Include in changelog:
Exclude from changelog:
Use the changelog CLI to add entries. Use --attribute-pr with the commit SHA to automatically look up the associated PR and add attribution, excluding schpet and schpetbot:
Omit --attribute-pr for commits without an associated PR or when attribution isn't relevant.
Types match Keep a Changelog categories:
added - New featureschanged - Changes in existing functionalitydeprecated - Soon-to-be removed featuresremoved - Removed featuresfixed - Bug fixessecurity - Security improvementsAfter adding all relevant changelog entries, show the unreleased section of CHANGELOG.md to the user and ask them to review it:
[Unreleased] sectionBased on the types of changes in the changelog, determine and recommend the appropriate semantic version bump:
Major (X.0.0):
Minor (0.X.0):
Patch (0.0.X):
Present the recommendation to the user:
Wait for user confirmation before proceeding.
Once the user confirms the version bump, run the changelog release command with the appropriate semver level:
This updates CHANGELOG.md, converting the Unreleased section to a versioned release.
After the changelog is released, execute the complete tag process from the justfile. This includes:
Run quality checks:
Update version files:
Regenerate skill documentation:
Create commit and tag:
Push to remote:
Report completion:
If any step fails:
Always stop and report errors clearly. Never continue the release process if a critical step fails.
tag recipe handles the complete process from line 5-21jj for all version control operations (per project CLAUDE.md)--ignore-working-copy for read-only jj operationsjj git push and git push origin --tags are needed (jj for bookmark, git for tags)After successful release:
See justfile lines 5-21 for the complete tag recipe implementation.
Based on the changelog entries, I recommend a <MAJOR/MINOR/PATCH> version bump because:
- [reason 1]
- [reason 2]
Current version: <current>
Proposed version: <proposed>
Should I proceed with this version bump?changelog release <major|minor|patch>