kubb
AGENTS.md1.8k starsChanged 6 months agoMITView on GitHub
Kubb is a code-generation toolkit for generating TypeScript, React-Query, Zod, Faker.js, MSW and more from OpenAPI specifications. It uses a plugin-based architecture with an Abstract Syntax Tree (AST) layer. Kubb is built from: - Core engine (@kubb/core) runs the plugin system and orchestrates code generation - Authoring kit (@kubb/kit, reached through the kubb/kit subpath) bundles the helpers for building plugins, generators, adapters, resolvers, and renderers - Adapters (@kubb/adapter-oas) transform OpenAPI specs into an AST - Renderers and utilities turn the…
Trending
Less talk lately.about the whole repository
Who's talking about kubb-labs/kubb
- kubb-labs/plugins“@kubb/plugin-msw — handler callback does not type the request body”GitHub · Feb 26, 2026 · 2 reactions
- kubb-labs/plugins“feat(plugin-zod): add compile option for Zod v4.5 fast-path validation”GitHub · Sep 22, 2026 · 1 reactions
- kubb-labs/plugins“Add @kubb/core as a peerDependency across all plugins”GitHub · Jul 2, 2026 · 1 reactions
- kubb-labs/plugins“docs(query): align mutation.methods JSDoc default with the runtime”GitHub · Jul 1, 2026 · 1 reactions
- kubb-labs/plugins“Update/kubb beta”GitHub · Jun 3, 2026 · 1 reactions
The biggest 5 of 39 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 39
Talked about on GitHub (39 times).
On GitHub · 39
- Feb 26, 2026@kubb/plugin-msw — handler callback does not type the request body — kubb-labs/plugins2 reactions
- Sep 22, 2026feat(plugin-zod): add compile option for Zod v4.5 fast-path validation — kubb-labs/plugins1 reaction · 5 comments
- Jul 2, 2026Add @kubb/core as a peerDependency across all plugins — kubb-labs/plugins1 reaction · 4 comments
- Jul 1, 2026docs(query): align mutation.methods JSDoc default with the runtime — kubb-labs/plugins1 reaction · 4 comments
- Jun 3, 2026Update/kubb beta — kubb-labs/plugins1 reaction · 4 comments
34 more on GitHub
- May 14, 2026chore: bump kubb core packages to 5.0.0-beta.11 — kubb-labs/plugins1 reaction · 4 comments
- May 10, 2026fix: align Kubb beta dependencies and resolve typecheck regressions — kubb-labs/plugins1 reaction · 6 comments
- Apr 23, 2026chore: upgrade @kubb/* to alpha.56, fix barrel middleware bugs, update requestBody snapshots — kubb-labs/plugins1 reaction · 12 comments
- Apr 21, 2026[Icon Request] KUBB Icon — miguelsolorio/vscode-symbols1 reaction · 1 comment
- Apr 18, 2026chore: update to kubb core alpha.45, remove NormalizedPlugin casts, fix vue-query typecheck — kubb-labs/plugins1 reaction · 1 comment
- Apr 17, 2026chore: bump kubb core catalog to 5.0.0-alpha.42 — kubb-labs/plugins1 reaction · 3 comments
- Apr 17, 2026feat: remove v4 compatibltyPreset — kubb-labs/plugins1 reaction · 5 comments
- Mar 9, 2026chore(deps): bump the production-dependencies group with 8 updates — chrisdoc/hevy-mcp1 reaction · 1 comment
- Mar 2, 2026chore(deps): bump the production-dependencies group with 10 updates — chrisdoc/hevy-mcp1 reaction · 2 comments
- Feb 23, 2026chore(deps): bump the production-dependencies group with 8 updates — chrisdoc/hevy-mcp1 reaction · 2 comments
- Jan 26, 2026chore(deps): bump the production-dependencies group with 11 updates — chrisdoc/hevy-mcp1 reaction · 2 comments
- Jan 23, 2026[Refactor/Chore] OpenAPI specification -> oRPC contract — langgenius/dify1 reaction · 3 comments
- Jan 19, 2026chore(deps): bump the production-dependencies group with 8 updates — chrisdoc/hevy-mcp1 reaction · 2 comments
- Jan 12, 2026chore(deps): bump the production-dependencies group with 7 updates — chrisdoc/hevy-mcp1 reaction · 2 comments
- Jan 5, 2026chore(deps): bump the production-dependencies group with 8 updates — chrisdoc/hevy-mcp1 reaction · 2 comments
- Nov 3, 2025Feat/function params as callback — kubb-labs/fabric1 reaction · 13 comments
- Oct 5, 2026agent-skills.github.kubb-labs.kubb: 5.4.5 → 5.5.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.kubb-labs.kubb: 5.4.3 → 5.4.5 — sudosubin/agents.nix0 reactions
- Oct 3, 2026docs(adapter-oas): document annotated enum recognition — kubb-labs/docs0 reactions · 2 comments
- Oct 2, 2026chore(deps-dev): bump @kubb/cli from 4.39.3 to 5.3.19 — nikollllllas/rfinance-web0 reactions · 4 comments
- Oct 2, 2026chore(deps-dev): bump @kubb/core from 4.39.3 to 5.3.19 — nikollllllas/rfinance-web0 reactions · 4 comments
- Sep 21, 2026chore(deps-dev): bump the development-dependencies group with 7 updates — chrisdoc/hevy-mcp0 reactions · 7 comments
- Sep 7, 2026chore(deps-dev): bump the development-dependencies group across 1 directory with 25 updates — Alexisb1988/hevy-mcp0 reactions
- Aug 10, 2026chore(deps-dev): bump the development-dependencies group across 1 directory with 26 updates — andreparmar/hevy-mcp-remote0 reactions
- Jun 8, 2026chore(deps-dev): bump @kubb/plugin-ts from 4.37.9 to 4.37.11 — dev-bernardofofg/moneyly-front0 reactions · 2 comments
- Jun 8, 2026chore(deps-dev): bump @kubb/cli from 4.37.9 to 4.37.11 — dev-bernardofofg/moneyly-front0 reactions · 2 comments
- Jun 8, 2026chore(deps-dev): bump @kubb/core from 4.37.9 to 4.37.11 — dev-bernardofofg/moneyly-front0 reactions · 2 comments
- Jun 7, 2026chore(deps): bump @kubb/plugin-zod from 4.20.1 to 4.37.11 — rivenmedia/riven-ts0 reactions · 2 comments
- Jun 7, 2026chore(deps): bump @kubb/plugin-msw from 4.20.1 to 4.37.11 — rivenmedia/riven-ts0 reactions · 2 comments
- May 29, 2026Bump @kubb/adapter-oas from 5.0.0-beta.31 to 5.0.0-beta.75 — stijnvanhulle/starwars0 reactions
- May 29, 2026Bump kubb from 5.0.0-beta.31 to 5.0.0-beta.75 — stijnvanhulle/starwars0 reactions · 1 comment
- Feb 28, 2026Bump minimatch, @kubb/cli, @kubb/core, @kubb/plugin-client, @kubb/plugin-oas, @kubb/plugin-ts and @kubb/plugin-zod — NYCPlanning/ae-zoning-api0 reactions
- Jan 26, 2026chore(deps): bump the production-dependencies group across 1 directory with 14 updates — camcarre/HEVYMCP0 reactions
- Oct 27, 2025chore(deps-dev): bump @kubb/react from 3.0.13 to 4.3.1 — IndexCoop/index-app0 reactions · 1 comment
The file
Files
AGENTS.md
Kubb is a code-generation toolkit for generating TypeScript, React-Query, Zod, Faker.js, MSW and more from OpenAPI specifications. It uses a plugin-based architecture with an Abstract Syntax Tree (AST) layer.
High-level architecture
Kubb is built from:
- Core engine (
@kubb/core) runs the plugin system and orchestrates code generation - Authoring kit (
@kubb/kit, reached through thekubb/kitsubpath) bundles the helpers for building plugins, generators, adapters, resolvers, and renderers - Adapters (
@kubb/adapter-oas) transform OpenAPI specs into an AST - Renderers and utilities turn the AST into code
- The CLI is the entry point for code generation
- MCP server adds Model Context Protocol integration for AI assistants
Project structure and commands
The full folder structure, repository setup, and commands live in CONTRIBUTING.md.
Repository setup
| Aspect | Choice |
| Monorepo | pnpm workspaces + Turborepo |
| Module system | ESM-only (type: "module") |
| Node version | 22 |
| Package manager | pnpm 11+ |
| Linter | oxlint |
| Formatter | oxfmt |
| Bundler | tsdown |
| Tests | Vitest |
| Versioning | Changesets |
| CI/CD | GitHub Actions |
Plugin ecosystem
Plugins are maintained in a separate monorepo at kubb-labs/plugins. Extension metadata and the docs pages live in the platform repo (kubb-labs/platform, apps/kubb.dev/extensions/ and apps/kubb.dev/plugins/), published on kubb.dev. When an extension's options change here, update its kubb.dev docs page there.
How agents read this repo
AGENTS.md is the canonical instruction file. Local skills live in .agents/skills/ (open
SKILL.md format, cross-provider). Shared skills, convention rules, /create-pr,
/create-changeset, /create-branch, /create-issue, the code-reviewer subagent, and the
house output style come from the agents plugin
(stijnvanhulle/agents). Claude Code loads it from
this repo's .claude/settings.json. Install agents@stijnvanhulle for Cursor and Codex.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

