litestar-vite-typegen

Community

Sync backend types with frontend.

Authorcofin
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill bridges the gap between your Litestar backend and Vite frontend by automatically generating TypeScript types from your Python code, ensuring type safety and reducing manual synchronization errors.

Core Features & Use Cases

  • Type Generation: Automatically generate TypeScript types for routes, OpenAPI schemas, and Inertia page props.
  • SDK Generation: Create a type-safe client SDK for your backend API.
  • Use Case: When you define a new API endpoint in Litestar, use this Skill to automatically generate the corresponding TypeScript types and a client function in your frontend, keeping your frontend code in sync with your backend API.

Quick Start

Enable type generation in your Litestar ViteConfig and run the litestar assets generate-types command.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: litestar-vite-typegen
Download link: https://github.com/cofin/flow/archive/main.zip#litestar-vite-typegen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.