dust-swagger

Installation
SKILL.md

Swagger Documentation Sync - Mandatory Rule

MANDATORY: Any change to an API endpoint schema must be reflected in the Swagger documentation. Do not consider an API change complete until Swagger is updated.

When This Rule Applies

Automatically applies whenever you are:

  • Modifying files in front/pages/api/** or front/app/api/**
  • Adding, removing, or renaming fields in request/response bodies (at any nesting level)
  • Changing field types or optionality in API schemas
  • Adding or removing endpoints

What to Update

When modifying API schemas, check and update the following:

  • pages/api/swagger_private_schemas.ts — shared schemas for the private API
  • pages/api/v1/w/[wId]/swagger_schemas.ts — shared schemas for the public API
Related skills
Installs
1
Repository
dust-tt/dust
GitHub Stars
1.3K
First Seen
Mar 25, 2026