From Kubb
Scaffolds a kubb.config.ts by running the Kubb init CLI. Accepts flags for an OpenAPI spec input, output directory, and comma-separated plugins.
How this command is triggered — by the user, by Claude, or both
Slash command
/kubb:init [input-spec] [output-dir] [plugins]Files this command reads when invoked
The summary Claude sees in its command listing — used to decide when to auto-load this command
Scaffold Kubb in the current project by running the `kubb init` CLI in the terminal. The arguments map to its flags: an OpenAPI spec (`--input`), an output directory (`--output`), and a comma-separated plugin list (`--plugins`). Read the `config` skill before choosing plugins. Parsed from **$ARGUMENTS** (ask only for what is missing): 1. Choose plugins. Map the requested outputs to `@kubb/plugin-*` packages with the `config` skill. Valid values: `plugin-ts`, `plugin-client`, `plugin-react-query`, `plugin-vue-query`, `plugin-zod`, `plugin-faker`, `plugin-msw`, `plugin-cypress`, `plug...
Scaffold Kubb in the current project by running the kubb init CLI in the terminal. The
arguments map to its flags: an OpenAPI spec (--input), an output directory (--output), and a
comma-separated plugin list (--plugins). Read the config skill before choosing plugins.
Parsed from $ARGUMENTS (ask only for what is missing):
Choose plugins. Map the requested outputs to @kubb/plugin-* packages with the config
skill. Valid values: plugin-ts, plugin-client, plugin-react-query, plugin-vue-query,
plugin-zod, plugin-faker, plugin-msw, plugin-cypress, plugin-mcp, plugin-redoc.
Default to plugin-ts when the user is unsure.
Run init with --yes and the chosen values so it never prompts:
npx kubb init --yes --input <input> --output <output> --plugins <comma,separated,list>
This writes kubb.config.ts and installs kubb plus the selected packages (--yes also
creates a package.json if the project has none). For a default setup, npx kubb init --yes
works without flags. If a config already exists, edit it by hand rather than rerunning init.
Suggest running /kubb:generate next.
npx claudepluginhub kubb-labs/kubb --plugin kubb/generateGenerates API clients from OpenAPI specs, data models from JSON schemas, test suites from code, and database migrations from models. Supports TypeScript, Python, Go, Java, C#.
/generate-sdkGenerates type-safe client SDKs in JavaScript/TypeScript, Python, Java, and Go from OpenAPI specs, including usage docs and examples.
/apidocsGenerates OpenAPI specs from code or scratch, renders interactive docs (Swagger UI/Redoc/Stoplight), validates with Spectral/Redocly, creates SDKs, CI workflows, and changelogs.
/oapiProvides OpenAPI CLI expertise using oapi tool: register specs, execute requests, manage auth profiles, explore endpoints, answer questions.
/generate-api-docsGenerates OpenAPI 3.0/Swagger API documentation from codebase analysis, creating interactive Swagger UI, ReDoc, TypeScript clients, and Postman collections.
/initInitializes beads issue tracking database in current directory with optional prefix (defaults to dir name). Shows DB location, prefix, workflow overview, next steps; displays stats if already set up.