一键导入
api-contract-review
Use when ledgerlite HTTP handlers, status codes, request headers, JSON serialization, OpenAPI, or the generated client change or should change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when ledgerlite HTTP handlers, status codes, request headers, JSON serialization, OpenAPI, or the generated client change or should change.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when ledgerlite OpenAPI, schemas, generated client code, or generator behavior changes or a generated artifact may be stale.
Use for ledgerlite implementation and review work that changes Go code, tests, validation, CLI behavior, or cross-package behavior. Run the smallest focused test first and the aggregate offline validation before handoff.
Use when ledgerlite invoice/payment persistence, idempotency, account scoping, mutation, replay behavior, or audit recording changes.
| name | api-contract-review |
| description | Use when ledgerlite HTTP handlers, status codes, request headers, JSON serialization, OpenAPI, or the generated client change or should change. |
Compare handler behavior, api/openapi.json, public tests, and
generated/client.go. Preserve exact status and error serialization unless the
slice explicitly changes them. Apply policies/api-compatibility.md and report
stale generated output as a material finding.