agentleFS
kubb-labskubb-labs/kubb/AGENTS.md

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

Dec 2025: 0 mentionsJan 2026: 6 mentionsFeb 2026: 3 mentionsMar 2026: 2 mentionsApr 2026: 5 mentionsMay 2026: 4 mentionsJun 2026: 6 mentionsJul 2026: 2 mentionsAug 2026: 1 mentionSep 2026: 3 mentionsOct 2026: 5 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the kubb-labs/kubb repository that our weekly crawl found. There is no adoption data for this file yet.

Who's talking about kubb-labs/kubb

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

34 more on GitHub

The file

Files
AGENTS.md

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 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 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

AspectChoice
Monorepopnpm workspaces + Turborepo
Module systemESM-only (type: "module")
Node version22
Package managerpnpm 11+
Linteroxlint
Formatteroxfmt
Bundlertsdown
TestsVitest
VersioningChangesets
CI/CDGitHub 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.