Imported from blockmatic/basilic-skills (
skills/w-api-docs/SKILL.md) via skills.sh. Install upstream withnpx skills add blockmatic/basilic-skills --skill w-api-docs. Copyright stays with the author.
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.
- Read the API docs MDX and the generator README. Identify the owning source and the generate script in package.json.
- Change the owning schema or route, not the generated artifact.
- Run the documented generate command. Check drift scripts if the repo has them.
- Update adopter MDX only for behavior that changed. Do not invent auth, rate-limit, or versioning policy.
- Docs:
/w-docsif behavior or commands changed.