openapi-codegen

Community

Generate type-safe API clients from OpenAPI specs.

Authorjon23d
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the creation and maintenance of type-safe API clients, ensuring consistency between backend API contracts and frontend implementations, thereby reducing integration errors and improving developer velocity.

Core Features & Use Cases

  • Spec-First Contract Design: Enforces the OpenAPI specification as the single source of truth for API contracts.
  • Automated Code Generation: Generates TypeScript types and a typed fetch client from OpenAPI specifications.
  • Monorepo Integration: Provides a structure for managing API clients within a monorepo.
  • Use Case: When a new backend endpoint is added or an existing one is modified, this Skill ensures the frontend client is automatically updated and type-checked against the new contract.

Quick Start

Use the openapi-codegen skill to generate the API client types from the OpenAPI specification located at ./apps/api/openapi.yaml.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 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: openapi-codegen
Download link: https://github.com/jon23d/skillz/archive/main.zip#openapi-codegen

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.