castor-openapi-release

Installation
SKILL.md

Castor OpenAPI release

只通过 CLI 发布单条登记记录。不要通过网页或直接调用后台接口绕过 CLI 的安全闭环。

工作流

  1. 运行 castor-cli auth status --profile <profile>,核对环境和账号。
  2. 运行 castor-cli openapi release --profile <profile> --id <id> --dry-run。确认输出中的记录是用户指定接口、current_status=1、expected_status=2,且版本属于当前 Profile 的发布计划。
  3. 向用户展示 ID、名称、应用、URL、版本和状态变化,取得明确确认。 同时展示记录的 apiEdition(1=OpenAPI 1.0,2=OpenAPI 2.0;历史缺省/null为1),发布保留登记体系;CLI 回读会校验体系未改变。
  4. 运行 castor-cli openapi release --profile <profile> --id <id> --confirm。
  5. 只有输出同时包含 executed=true、verified=true,且 readback.status=2 时报告发布成功。

约束

Installs
6
First Seen
Aug 6, 2026