验证、诊断和发布 OpenCreator Desktop,包括本地实际 App 打包与 E2E、master 候选构建、GitHub Actions 故障定位及明确授权后的 tag Release。用于“打包 Desktop”“验证候选包”“排查发布失败”“发布 OpenCreator”等请求;普通开发构建不使用。
npx skills add https://github.com/krillinai/OpenCreator --skill oc-deploy
以“同一提交先在本机证明,再消耗远端构建资源”为发布原则。遵守仓库根目录 AGENTS.md,尤其是 Desktop 打包和 Web/Desktop 一致性门禁。
master 对精确提交手动触发一次 desktop-release.yml。不得创建、移动或复用 tag,不得发布 Release。执行任何模式前先读取 references/runbook.md 中对应章节。涉及失败时同时读取“故障分类”。
desktop:package,并让 e2e:package 全部通过。apps/web,并通过包校验器确认 App 内 Web 资源与本次构建一致。不得手工替换 App 内资源或复用来源不明的 dist。master push CI;确认 workflow 的 publish 仍只允许 tag ref。gh 命令设置 HTTP_PROXY 与 HTTPS_PROXY 为 http://127.0.0.1:7897,并先用 gh auth status 确认认证身份。GitHub 保存的签名 secrets 会跨 workflow 运行持续存在,不要要求重复上传。workflow_dispatch 从 master 运行。正式发布候选必须选择 target=all;结束后确认候选身份凭据和全部 artifacts 已生成、publish skipped,并确认 tag 和 Release 均未变化。单平台 candidate 只用于诊断,不能提升为 Release。报告精确 commit、本地打包平台、本地 App 路径、包校验与 E2E 结果、master CI、candidate run URL、各 job 结果、候选身份凭据及 artifacts。candidate 明确说明未创建 tag/Release;release 同时列出被提升的 candidate run、tag 和发布附件。任何未执行门禁都必须说明原因和残余风险,不得声称可发布。
Take krillinai/oc-deploy from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.