regenerate-types

Official

Guarantee up-to-date TS types after API changes.

Authorzerobias-org
Version1.0.0
Installs0

System Documentation

What problem does it solve?

After any changes to api.yml, TypeScript interfaces MUST be regenerated before proceeding to implementation to avoid type drift and integration issues.

Core Features & Use Cases

  • Automatically regenerate TypeScript interfaces from api.yml after edits.
  • Enforce a clean generation state by requiring npm run clean before npm run generate.
  • Use Case: When an API specification changes, regenerate types to keep client code in sync with the API.

Quick Start

Edit api.yml and run npm run clean && npm run generate to regenerate the TypeScript interfaces.

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: regenerate-types
Download link: https://github.com/zerobias-org/module/archive/main.zip#regenerate-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.