SKILL

oc-api-dev

First-party API design and build harness with Designer/Builder/Conformance loop. Owns OpenAPI/GraphQL authoring, schema↔code parity, versioning + sunset strategy, pagination/error/idempotency conventions, typed handler scaffolding, and SDK generation for the API your own clients consume. Use for /oc-api, /oc-api design, /oc-api spec, /oc-api scaffold, /oc-api version, /oc-api lint, /oc-api sdk, "design our API", "OpenAPI", "GraphQL schema", "versioning strategy", "deprecate endpoint", "generate SDK", "API schema drift" (spec↔code; warehouse/data schema drift is oc-data-ops). For consuming someone else's API (Stripe, Slack, OAuth) use oc-integrations-engineer instead.

原文 · 译文尚未补齐

适用对象:软件开发与测试。自动收录 · 待核查。

原作者说明节选

从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。

查看英文原文

原文涵盖的主题

  • API Developer
  • /oc-api — Command Reference
  • Tri-Agent Architecture
  • Why Three Agents for First-Party APIs?
  • Phase 1: API Designer (/oc-api design)
  • Designer Persona
  • Designer Workflow
  • OpenAPI 3.1 Contract Skeleton

On first invocation, read references/orchestrator.md and follow its welcome protocol. Tri-agent first-party API harness: Designer authors the contract (OpenAPI / GraphQL schema) → Builder scaffolds typed handlers, validation, and an SDK against it → Conformance hits the running server, validates responses against the spec, and diffs the new spec against the previously-shipped one to flag undeclared breaking changes. This is the producer-side counterpart to oc-integrations-engineer. If you're consuming someone else's API (Stripe, Slack, Salesforce, OAuth providers), use oc-integrations-engineer. If you're designing/building the API your own clients, customers, or partners consume, use this skill. -- -- 1. Optimistic authorship bias. When the same person writes both the spec and the code, they "agree" because nothing forces disagreement. In practice handlers drift from OpenAPI within hours: a field gets renamed, an optional becomes required, an enum gains a value. Conformance hits the running server with schema-validating fuzz and asserts response shapes match the published spec. 2. Breaking-change blindness. The Builder thinks "I added a field, that's backwards-compatible" without c

这里只展示节选,请以完整原文和当前要求为准。

来源仓库
asfbay-bit/opchain-skills
源文件
plugins/opchain/skills/oc-api-dev/SKILL.md
固定版本
1c7c7bd69a7d875a5dffb419911c24752ca6c285
阅读完整原作者说明 ↗

来源与内容状态

本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。

原作者:asfbay-bit/opchain-skills · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-10T17:01:26.825Z。

分类由名称、说明与路径规则生成,分类不代表已核实适配。

许可与权利归属

Apache-2.0。第三方内容及版权归原作者,使用条件以原文为准。

许可原文 ↗

本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。

限制与注意事项

  • 元数据收录不代表本站已经安装、适配、实测或进行安全审查。