source-command-release
Use this skill when the user asks to run the migrated source command release.
Command Template
Release & Publish
Prepare, publish, and monitor package release.
Pre-Release Checks
Quality Gates:
- All tests pass
- No lint errors
- Build successful
- No security vulnerabilities
- Dependencies up to date
- CHANGELOG updated
- README accurate
- Breaking changes documented
Version Decision:
- Breaking changes →
major - New features →
minor(default) - Bug fixes →
patch
Release Process
For TypeScript/JavaScript Projects
Create Changeset:
bunx changeset- Select package
- Choose version bump type
- Write clear summary
Version Bump:
bunx changeset version- Updates package.json
- Updates CHANGELOG.md
- Consumes changeset
Commit & Push:
git add -A git commit -m "chore(release): <package>@<version>" git pushMonitor CI:
gh run list --workflow=release --limit 5 gh run watch <run-id>Verify Publication:
npm view <package>@<version>
For Other Projects
- Update version in manifest (package.json, setup.py, etc.)
- Update CHANGELOG
- Create git tag
- Push tag to trigger release
- Monitor CI/CD
Post-Release
- Verify package published
- Test installation:
npm install <package>@latest - Create GitHub release with notes
- Announce (if public package)
- Close related issues/PRs
Troubleshooting
CI fails on install:
- Update lockfile locally:
bun install - Commit and push
Tests fail in CI:
- Run tests locally:
npm test - Fix issues, commit, push
Build fails:
- Check build locally:
npm run build - Fix errors, commit, push
Exit Criteria
- Package published successfully
- CI workflow completed
- GitHub release created
- Version verified on registry
- Installation tested
Report: Version number, publish time, registry URL.