用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/debuglebowski/slayzone --skill release命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | release |
| description | Create a new release for SlayZone |
| trigger | none |
Create a new release for SlayZone. The version argument is: $ARGUMENTS
Read the current version from packages/apps/app/package.json.
Interpret $ARGUMENTS:
patch — bump the patch number (e.g. 0.2.0 -> 0.2.1)minor — bump the minor number (e.g. 0.2.1 -> 0.3.0)major — bump the major number (e.g. 0.3.0 -> 1.0.0)0.5.0)Invoke the slay-auto-title skill to rename the current task to reflect the release (e.g. Release v<new-version>). Skip if the task title already matches.
Update "version" in packages/apps/app/package.json (canonical source of truth), then run:
node scripts/sync-versions.mjs
This stamps the shared version into every workspace manifest (cli, all domains/shared/apps, root, website). Do NOT hand-edit other manifests — the script owns them and pnpm lint:versions enforces it.
Run npx changelogen --from <previous-tag> --to main --output CHANGELOG.md --hideAuthorEmail (use pnpx if available).
The tool will prepend a ## <old-tag>...main section to CHANGELOG.md. After it runs:
## <old-tag>...main to ## v<new-version>compare/<old-tag>...v<new-version>Read packages/apps/app/src/renderer/src/components/changelog/changelog-data.json.
Add a new entry at the top of the JSON array for the new version:
version: the new version string (without v prefix)date: today's date in YYYY-MM-DD formattagline: a short, catchy 2-4 word tagline summarizing the release themeitems: user-facing changes only (breaking changes, features, improvements, fixes). Skip CI, docs, tests, chores, website-only changes. Keep descriptions concise (1 sentence). Match the tone and style of existing entries. List breaking items first, then features, improvements, fixes.Categories:
breaking — backwards-incompatible changes that require user action (migrations, removed features, changed defaults, renamed settings)feature — new user-facing capabilitiesimprovement — enhancements to existing featuresfix — bug fixes users would noticeDeduplicate by feature, not by commit. One feature often spans multiple commits (initial impl + follow-up fixes + polish + refactor). Collapse all commits touching the same user-facing capability into a single entry. Group by what the user sees, not by git history. If a feature was added then later fixed in the same release window, emit one entry describing the final state (usually feature, not feature + fix). Same for iterative improvements to one area — merge into one improvement entry.
git add -A -- '*package.json'
git add CHANGELOG.md packages/apps/app/src/renderer/src/components/changelog/changelog-data.json
git commit -m "release: v<new-version>"
Stop and ask the user to confirm before tagging and pushing. Show them:
Only after confirmation:
git tag v<new-version>
git push && git push origin v<new-version>
Print a summary:
v* tag push — builds macOS/Linux/Windows + deploys Convexpackages/apps/app/package.json by scripts/sync-versions.mjs. Only the app version matters to electron-builder; the rest (incl. root) are synced for consistency and enforced by pnpm lint:versions.git push