返回 Skills 目錄
blockmatic/basilic-skills已通過檢查

SKILL DETAIL

w-api-docs

blockmatic/basilic-skills/w-api-docs

Refresh API docs from the owning schema source; never edit generated OpenAPI by hand.

安裝量 · 405查看來源

Installation

npx skills add https://github.com/blockmatic/basilic-skills --skill w-api-docs

技能檔案

SKILL.md

最近同步 · 2026年9月21日

SKILL.md
---
name: w-api-docs
description: Refresh API docs from the owning schema source; never edit generated OpenAPI by hand.
disable-model-invocation: true
---

Update API documentation from the source of truth (TypeBox/Fastify routes, or the repo's documented generator). Never edit generated OpenAPI, generated clients, or generated SQL directly.

1. Read the API docs MDX and the generator README. Identify the owning source and the generate script in package.json.
2. Change the owning schema or route, not the generated artifact.
3. Run the documented generate command. Check drift scripts if the repo has them.
4. Update adopter MDX only for behavior that changed. Do not invent auth, rate-limit, or versioning policy.
5. Docs: `/w-docs` if behavior or commands changed.