kubb-labskubb-labsOfficialยท9 Agent Skills Included

kubb

Generate TypeScript clients, hooks, and mocks from OpenAPI specs

Generates TypeScript types, API clients, React Query hooks, Zod validators, Faker mocks, and MSW handlers directly from OpenAPI specifications. Removes the manual work of writing and syncing API boilerplate every time a backend schema changes. Guides AI agents through configuring kubb.config.ts, picking the right plugins, and safely importing the generated code into apps and tests.
npx skills add kubb-labs/kubb --all -g -y
Available:

Tells the AI agent how Kubb's plugin-based code generation works, where the skills and rules live, and which skill to load for tasks like changelogs, documentation, JSDoc, and PR preparation.

All Skills in This Repository (9)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install Kubb?โ–ผ

Run `npx skills add kubb-labs/kubb --all -g -y` in your terminal to install all skills in this suite globally.

What does Kubb generate from an OpenAPI spec?โ–ผ

Kubb generates TypeScript types, typed Axios or Fetch clients, React Query and SWR hooks, Zod validators, Faker mocks, and MSW handlers from a single OpenAPI schema.

How do I set up Kubb in my project?โ–ผ

Run `npx kubb init` to create a kubb.config.ts through a setup wizard, then run `npx kubb generate` to produce the code. The config skill teaches your AI agent to author this file and pick the right plugins.

Does Kubb work with AI coding assistants?โ–ผ

Yes. Kubb ships a built-in MCP server plus SKILL.md files that let Claude Code, Cursor, and other agents configure and run code generation from plain-English requests.

Can I edit the files Kubb generates?โ–ผ

No. Generated files are rewritten on every run, so you change the OpenAPI spec or the config and regenerate instead of editing output by hand.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’