release
自动化 oh-my-claudecode 的版本发布流程,支持指定版本号或语义化版本类型触发。完整执行版本号更新、多文件同步、测试验证、代码提交与打标、npm 发布及 GitHub Release 创建,确保发布一致性并自动同步至插件市场。
效率工具开发运维
| name | release |
| description | Automated release workflow for oh-my-claudecode |
| user-invocable | true |
Release Skill
Automate the release process for oh-my-claudecode.
Usage
▼text复制代码/release <version>
Example: /release 2.4.0 or /release patch or /release minor
Release Checklist
Execute these steps in order:
1. Version Bump
Update version in all locations:
package.jsonsrc/installer/index.ts(VERSION constant)src/__tests__/installer.test.ts(expected version).claude-plugin/plugin.jsonREADME.md(version badge and title)
2. Run Tests
▼bash复制代码npm run test:run
All 231+ tests must pass before proceeding.
3. Commit Version Bump
▼bash复制代码git add -A git commit -m "chore: Bump version to <version>"
4. Create & Push Tag
▼bash复制代码git tag v<version> git push origin main git push origin v<version>
5. Publish to npm
▼bash复制代码npm publish --access public
6. Create GitHub Release
▼bash复制代码gh release create v<version> --title "v<version> - <title>" --notes "<release notes>"
7. Verify
- npm: https://www.npmjs.com/package/oh-my-claudecode
- GitHub: https://github.com/Yeachan-Heo/oh-my-claudecode/releases
Version Files Reference
| File | Field/Line |
|---|---|
package.json | "version": "X.Y.Z" |
src/installer/index.ts | export const VERSION = 'X.Y.Z' |
src/__tests__/installer.test.ts | expect(VERSION).toBe('X.Y.Z') |
.claude-plugin/plugin.json | "version": "X.Y.Z" |
README.md | Title + version badge |
Semantic Versioning
- patch (X.Y.Z+1): Bug fixes, minor improvements
- minor (X.Y+1.0): New features, backward compatible
- major (X+1.0.0): Breaking changes
Notes
- Always run tests before publishing
- Create release notes summarizing changes
- Plugin marketplace syncs automatically from GitHub releases
效率工具
开发运维









