What problem does it solve?
Manually keeping the frontend TypeScript API client in sync with backend API changes is time-consuming and error-prone, often leading to type mismatches and broken functionality when endpoints or DTOs are updated.
Core Features & Use Cases
- Automated API Server Validation: Checks that the local API server is running before generation to avoid failed runs.
- Full SDK Regeneration: Fetches the live OpenAPI spec and regenerates all TypeScript client files including types, SDK methods, schemas, and transformers.
- Auto-Linting and Validation: Automatically lints generated code for formatting issues and checks for TypeScript compilation errors.
- Use Case: When a backend developer adds a new user management endpoint or updates a request DTO, this skill automatically updates the frontend client so frontend developers have access to the new types and methods without manual work.
Quick Start
Use the generate-sdk skill to update the frontend TypeScript API client after making changes to backend API endpoints or DTOs.