Аудит FastAPI-маршрутов SD.Next

★ 6.5 · code-analysis-tools

check-api is a Claude Code skill that audits SD.Next API route definitions, verifying endpoint parameters and request/response signatures against declared FastAPI contracts. The primary source of truth is modules/api/api.py, covering all add_api_route(...) registrations; secondary files include models.py, endpoints.py, generate.py, process.py, control.py, and every module delegated via register_api(...) — caption, lora, gallery, civitai, rembg, and others. For each route the skill validates path uniqueness, handler call signature compatibility, request model correctness, response_model coheren