init-relizy
Init Relizy — Monorepo 发版配置落地技能
本技能是执行型工作流:从仓库体检、策略确认、文件落盘、兼容分支选择,到 dry-run 验证与文档同步,覆盖完整接入链路。不是「只给建议」的咨询技能。
与 package-linter 的关系
若同时新建或规范化子包,请先或并行参考仓库内 package-linter 技能,保证 package.json / tsup / tsconfig 与 monorepo 约定一致;本技能聚焦 relizy 发版域 的配置与决策。
Runner:必须使用 @ruan-cat/utils 的 relizy-runner(禁止自建脚本)
兼容层(Windows GNU 工具补齐 + independent 基线 tag 预检)由 @ruan-cat/utils 包实现,通过 relizy-runner bin 调用。不得在目标仓库内新建 scripts/relizy-runner.ts 或任何本地 runner 副本作为落地方案。
- 权威说明(行为、参数、根脚本示例):仓库内见
packages/utils/src/node-esm/scripts/relizy-runner/index.md;若需在线直链,可参考:https://raw.githubusercontent.com/ruan-cat/monorepo/refs/heads/dev/packages/utils/src/node-esm/scripts/relizy-runner/index.md - 调用约定:须使用
package.json的bin(如npx relizy-runner …/pnpm exec relizy-runner …),禁止使用tsx @ruan-cat/utils/relizy-runner等会绕过 exports 的写法(详见该文档「必须使用 bin 命令调用」)。
--yes 与非交互发版(技能必须显式传递)
背景:relizy 在 release / bump 等流程中可能弹出「是否继续」类交互;在无 TTY 或 CI 下会一直等待 stdin,表现为进程挂起。上游选项 --yes 表示 Skip confirmation prompt,与版本计算算法无关。
More from ruan-cat/monorepo
git-commit
创建高质量的 git 提交:审查/暂存预期的变更,拆分为逻辑提交,并编写清晰的提交信息(遵循 Conventional Commits 规范,支持 Emoji)。当用户要求提交代码、编写提交信息、暂存变更或将工作拆分为多个提交时使用此技能。当用户提及【破坏性变更】关键词时,必须按照本技能的 BREAKING CHANGE 规范使用感叹号格式编写提交信息。优先针对 git 暂存区(staged)中的文件进行提交,只有当暂存区为空时才考虑整个工作树。当用户提及【分门别类】关键词时,必须按照本技能的多提交拆分规范,从文件类型、业务模块、修改类型、修改范围四个维度认真拆分多个提交。
27openspec
|
20openspec-sync-specs
Sync delta specs from a change to main specs. Use when the user wants to update main specs with changes from a delta spec, without archiving the change.
13openspec-ff-change
Fast-forward through OpenSpec artifact creation. Use when the user wants to quickly create all artifacts needed for implementation without stepping through each one individually.
13openspec-new-change
Start a new OpenSpec change using the experimental artifact workflow. Use when the user wants to create a new feature, fix, or modification with a structured step-by-step approach.
13openspec-apply-change
Implement tasks from an OpenSpec change. Use when the user wants to start implementing, continue implementation, or work through tasks.
13