* fix(skill): enhance git-worktree-manager with scripts, references, and Anthropic best practices * fix(skill): enhance mcp-server-builder with scripts, references, and Anthropic best practices * fix(skill): enhance changelog-generator with scripts, references, and Anthropic best practices * fix(skill): enhance ci-cd-pipeline-builder with scripts, references, and Anthropic best practices * fix(skill): enhance prompt-engineer-toolkit with scripts, references, and Anthropic best practices * docs: update README, CHANGELOG, and plugin metadata * fix: correct marketing plugin count, expand thin references --------- Co-authored-by: Leo <leo@openclaw.ai>
867 B
867 B
OpenAPI Extraction Guide
Goal
Turn stable API operations into stable MCP tools with clear names and reliable schemas.
Extraction Rules
- Prefer
operationIdas tool name. - Fallback naming:
<method>_<path>sanitized to snake_case. - Pull
summaryfor tool description; fallback todescription. - Merge path/query parameters into
inputSchema.properties. - Merge
application/jsonrequest-body object properties when available. - Preserve required fields from both parameters and request body.
Naming Guidance
Good names:
list_customerscreate_invoicearchive_project
Avoid:
tool1runget__v1__customer___id
Schema Guidance
inputSchema.typemust beobject.- Every
requiredkey must exist inproperties. - Include concise descriptions on high-risk fields (IDs, dates, money, destructive flags).