skills/release-standards/SKILL.md
[UDS] Guide release process and changelogs
npx skillsauth add asiaostrich/universal-dev-standards releaseInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide the release process following Semantic Versioning and changelog best practices.
引導遵循語義化版本和變更日誌最佳實踐的發布流程。
| Subcommand | Mode | Description | 說明 |
|------------|------|-------------|------|
| start | All | Start a release branch/process | 開始發布流程 |
| finish | CI/CD | Finalize release (tag, merge) | 完成發布(標籤、合併) |
| promote | Manual/Hybrid | Promote RC to Stable | RC → Stable 晉升 |
| deploy | Manual/Hybrid | Record deployment to environment | 記錄部署紀錄 |
| manifest | Manual/Hybrid | Generate build-manifest.json | 產生打包資訊清單 |
| verify | Manual/Hybrid | Verify manifest consistency | 驗證清單一致性 |
| changelog | All | Generate or update CHANGELOG.md | 產生或更新變更日誌 |
| check | All | Run pre-release verification | 執行發布前檢查 |
Configure via uds init or uds config --type release_mode:
| Mode | Description | 說明 |
|------|-------------|------|
| ci-cd | Automatic publishing via CI/CD pipeline (default) | CI/CD 自動發布(預設) |
| manual | Manual packaging + RC workflow | 手動打包 + RC 工作流程 |
| hybrid | CI builds artifact + manual deployment | CI 建置 + 手動部署 |
| Type | Pattern | npm Tag | 用途 |
|------|---------|---------|------|
| Stable | X.Y.Z | @latest | Production release | 正式版 |
| Beta | X.Y.Z-beta.N | @beta | Public testing | 公開測試 |
| Alpha | X.Y.Z-alpha.N | @alpha | Internal testing | 內部測試 |
| RC | X.Y.Z-rc.N | @rc | Release candidate | 候選版本 |
vX.Y.Z format| Change Type | Increment | Example | |-------------|-----------|---------| | Breaking changes | MAJOR | 1.9.5 → 2.0.0 | | New features (backward-compatible) | MINOR | 2.3.5 → 2.4.0 | | Bug fixes (backward-compatible) | PATCH | 3.1.2 → 3.1.3 |
/release start 1.2.0 - Start release process for v1.2.0/release changelog 1.2.0 - Update CHANGELOG for v1.2.0/release finish 1.2.0 - Finalize and tag v1.2.0/release check - Run pre-release verification/release start 1.2.0-rc.1 - Create RC versionuds release manifest - Generate build-manifest.jsonuds release deploy staging - Record staging deploymentuds release deploy staging --result passed - Record test result/release promote 1.2.0 - Promote RC to stableuds release deploy production - Record production deploymentuds release verify - Verify manifest consistencyAfter /release completes, the AI assistant should suggest:
發布流程完成。建議下一步 / Release process complete. Suggested next steps:
- 驗證 npm 發布狀態
npm view <pkg> dist-tags⭐ Recommended / 推薦 — Verify npm publication status- 建立 GitHub Release 並撰寫發布說明 — Create GitHub Release with notes
- 通知利害關係人新版本已發布 — Notify stakeholders of new release
完整的 AI 行為定義請參閱對應的命令文件:
/releaseFor complete AI agent behavior definition, see the corresponding command file:
/release
development
[UDS] 扫描代码库的调试残留与代码质量问题;可自动修正安全模式。 Use when: before committing, during PR review, or periodic codebase cleanup. Keywords: sweep, debug cleanup, console.log, debugger, TODO, ts-any, code quality, 扫描, 清理.
tools
[UDS] 从规格衍生 BDD 场景、TDD 骨架或 ATDD 表格
development
[UDS] 识别重复流程并以正确的开发深度构建 Skill
tools
[UDS] AI 辅助 git push 安全层:质量门禁 + 协作护栏。 Use when: pushing commits, force pushing, pushing to protected branches, pushing feature branches. Keywords: git push, force push, protected branch, quality gate, push receipt, PR automation, 推送, 保护分支, 质量门禁.