From Kubb
Runs Kubb code generation using the kubb generate CLI. Accepts optional input spec override, config path, verbose, and watch flags. Summarizes generated files grouped by output folder.
How this command is triggered — by the user, by Claude, or both
Slash command
/kubb:generate [input-spec]The summary Claude sees in its command listing — used to decide when to auto-load this command
Run the `kubb generate` CLI. The optional **$ARGUMENTS** is an input spec that overrides the config's input. 1. Confirm a `kubb.config.ts` exists. If not, suggest `/kubb:init` and stop. 2. Run generation: Pass the spec as the first argument to override the input (`npx kubb generate ./openapi.yaml`), `--config <path>` for a non-default config location, and `--verbose` when a run produced unexpected or missing output. Use `--watch` to regenerate on spec changes. 3. Summarize the generated files grouped by output folder, and surface any warnings. Do not hand-edit files under t...
Run the kubb generate CLI. The optional $ARGUMENTS is an input spec that overrides the
config's input.
Confirm a kubb.config.ts exists. If not, suggest /kubb:init and stop.
Run generation:
npx kubb generate
Pass the spec as the first argument to override the input (npx kubb generate ./openapi.yaml),
--config <path> for a non-default config location, and --verbose when a run produced
unexpected or missing output. Use --watch to regenerate on spec changes.
Summarize the generated files grouped by output folder, and surface any warnings.
Do not hand-edit files under the generated output directory, since they are overwritten on every run. Change the spec or the config instead, then regenerate.
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 from OpenAPI/Swagger specs for multiple languages, with documentation and examples.
/sdk-genGenerates a typed client SDK from an OpenAPI spec or existing routes, targeting TypeScript, Python, or Go with idiomatic patterns and optional runtime validation.
/apidocsGenerates OpenAPI specs from code or scratch, renders interactive docs (Swagger UI/Redoc/Stoplight), validates with Spectral/Redocly, creates SDKs, CI workflows, and changelogs.
/generateGenerates a complete VitePress wiki from a repository — catalogue, onboarding guides, architecture docs, and dark-mode Mermaid diagrams with citations.
/generateGenerates ADVPL/TLPP code for TOTVS Protheus — functions, classes, MVC structures, REST APIs, Web Services, entry points, reports, screens, jobs, and workflows.