swagger-docs-generator
为REST API生成Swagger/OpenAPI文档设置。触发条件:"创建swagger文档"、"生成api文档"、"swagger设置"、"openapi文档配置"。
📖 中文导读:为REST API生成Swagger/OpenAPI文档设置。触发条件:"创建swagger文档"、"生成api文档"、"swagger设置"、"openapi文档配置"。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。
name: swagger-docs-generator description: Generate Swagger/OpenAPI documentation setup for REST APIs. Triggers on "create swagger docs", "generate api documentation", "swagger setup", "openapi docs config".
Swagger Docs Generator
Generate Swagger UI setup and configuration for API documentation.
Output Requirements
File Output: swagger.ts with express-swagger-ui configuration
Format: Valid TypeScript
Standards: OpenAPI 3.x, swagger-ui-express
When Invoked
Immediately generate Swagger documentation setup.
Example Invocations
Prompt: "Create Swagger docs for Express API" Output: Complete Swagger UI setup with configuration.