schema-type-consistency
CommunityKeep backend and frontend schemas perfectly in sync.
Authoradelabdelgawad
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill ensures end-to-end type safety between Python backends and TypeScript frontends by ensuring CamelCase field names, bilingual support, and consistent API contracts.
Core Features & Use Cases
- CamelCase alignment: Converts snake_case Python models to camelCase JSON contracts for frontend consumption.
- Bilingual field support: Preserves bilingual fields name_en/name_ar in schemas and types.
- TypeScript generation & validation: Provides TS interfaces and Zod schemas that mirror Pydantic models.
- Use Case: When adding new request/response schemas, or updating bilingual data models, generate synchronized backend and frontend types and validations.
Quick Start
Create matching TypeScript types and a Zod validation schema from a given Pydantic schema, ensuring bilingual fields and camelCase naming, then validate with a sample payload.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: schema-type-consistency Download link: https://github.com/adelabdelgawad/meal_request/archive/main.zip#schema-type-consistency Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.