Skip to main content

api-designer

星标12
分支0
更新时间2026年3月18日 12:11

Produce an OpenAPI 3.1 specification from a DMML (Domain Model Markup Language) domain model. Use this skill whenever the user wants to design a REST API for a domain model, generate an OpenAPI spec from DMML, or create an API contract that bridges domain modeling and implementation. Trigger when the user mentions "API design", "OpenAPI", "REST API from domain model", "generate API spec", "DMML to API", or wants to move from a DMML domain model to an API specification. The skill produces a single OpenAPI 3.1 YAML document that exposes the domain's commands as POST endpoints and read models / queries as GET endpoints, with schemas derived from DMML value objects, entities, and domain events.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
9 个文件
SKILL.md
readonly