API Documentation Sync & Enforcement

•
5
•

Ensures Swagger and OpenAPI documentation remains perfectly synchronized with your code changes automatically.

This skill treats API documentation as a first-class artifact by monitoring for code changes in routes, controllers, and schemas across frameworks like Express, FastAPI, and NestJS. It automatically detects 'documentation drift' by comparing source code endpoints against OpenAPI or Swagger specifications. If a mismatch is found, the skill pauses work and triggers an audit to ensure that every API change is documented with required summaries, parameters, and response examples before code is shipped.

主要功能

01Seamless integration with documentation-audit workflows
02Enforcement of required documentation fields and response examples
03Automatic drift detection between source code and OpenAPI/Swagger specs
045 GitHub stars
05Automated validation using Swagger-CLI and schema checkers
06Support for multiple frameworks including NestJS, FastAPI, and Express

使用场景

01Enforcing documentation standards across large-scale backend repositories
02Preventing the release of undocumented endpoints or breaking API changes
03Maintaining live API documentation during rapid feature development