dev-generate-types

Community

Auto-generate TS types, contracts, and adapters.

AuthorHerbertJulio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automates generation of TypeScript types, contracts, and adapters for API endpoints to reduce boilerplate and drift.

Core Features & Use Cases

  • Generate [resource].types.ts mirroring the API surface with snake_case and string dates.
  • Generate [resource].contracts.ts with camelCase payloads and derived booleans, filtering internal fields (tokens, metadata).
  • Generate [resource]-adapter.ts with pure mapping functions to convert between API responses and app models.
  • Use cases include integrating with REST or GraphQL endpoints in frontend apps or SDKs.

Quick Start

Provide an API endpoint or example JSON to generate the types, contracts, and adapters.

Dependency Matrix

Required Modules

None required

Components

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: dev-generate-types
Download link: https://github.com/HerbertJulio/specialist-agent/archive/main.zip#dev-generate-types

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 471,000+ vetted skills library on demand.