用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/lis186/ccxray --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | release |
| description | Prepare and publish a ccxray release — bump version, update CHANGELOG, commit, tag, push, and npm publish. |
| license | MIT |
| metadata | {"author":"ccxray","version":"1.0"} |
Publish a new version of ccxray to npm.
Input: Optionally specify a version bump: patch, minor (default), major, or an exact version like 1.6.0.
Read current version from package.json. Apply the requested bump (default: minor):
node -e "const v=require('./package.json').version; const [a,b,c]=v.split('.').map(Number); console.log(a+'.'+( b+1)+'.0');"
Semver guide:
git describe --tags --abbrev=0
git log <last-tag>..HEAD --oneline --no-merges
Keep only user-visible changes (feat:, fix:). Exclude chore:, ci:, docs:, test:, and version bump commits.
Format (match existing style in CHANGELOG.md):
## X.Y.Z
### Added
- **Feature name**: one-line description
### Fixed
- **Bug name**: one-line description
⚠ STOP HERE. Show the proposed version and CHANGELOG draft to the user. Wait for confirmation before making any changes.
After user confirms:
CHANGELOG.md — insert new section at the top (after # Changelog):
## X.Y.Z
...
package.json — update version field.
npm test
Stop and report if any tests fail.
git add CHANGELOG.md package.json
git commit -m "X.Y.Z"
git tag vX.Y.Z
git push origin main
git push origin vX.Y.Z
⚠ STOP HERE. Confirm with user before publishing — npm publish is irreversible.
npm publish
Verify output contains + ccxray@X.Y.Z.
## Released: ccxray@X.Y.Z
✓ CHANGELOG.md updated
✓ package.json bumped to X.Y.Z
✓ Tests passed (N pass)
✓ Committed and tagged vX.Y.Z
✓ Pushed to origin
✓ Published to npm