castor-openapi-release
Installation
SKILL.md
Castor OpenAPI release
只通过 CLI 发布单条登记记录。不要通过网页或直接调用后台接口绕过 CLI 的安全闭环。
工作流
- 运行
castor-cli auth status --profile <profile>,核对环境和账号。 - 运行
castor-cli openapi release --profile <profile> --id <id> --dry-run。确认输出中的记录是用户指定接口、current_status=1、expected_status=2,且版本属于当前 Profile 的发布计划。 - 向用户展示 ID、名称、应用、URL、版本和状态变化,取得明确确认。
- 运行
castor-cli openapi release --profile <profile> --id <id> --confirm。 - 只有输出同时包含
executed=true、verified=true,且readback.status=2时报告发布成功。