What problem does it solve?
This Skill keeps frontend TypeScript API types aligned with the Django backend, preventing stale client contracts after serializer, model, or viewset changes.
Core Features & Use Cases
- OpenAPI-driven regeneration: Rebuilds generated TypeScript types from the Django schema endpoint.
- Frontend contract validation: Helps verify that React code still matches the latest backend endpoints and payloads.
- Change workflow support: Useful after adding or modifying API routes, serializers, or response fields in Django.
- Quality check: Includes a follow-up type check to catch integration issues early.
Quick Start
Use the gen-api skill to refresh the generated frontend API types from the running Django schema and check that the TypeScript build still passes.