config
Skill by kubb-labs
Writes kubb.config.ts files and picks the @kubb/plugin-* packages for generating TypeScript from OpenAPI or Swagger specs. Built for developers setting up Kubb, adding generators, or debugging codegen output.
Install config
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kubb-labs/kubb /tmp/kubb && mkdir -p ~/.claude/skills && cp -r /tmp/kubb/tools/claude/skills/config ~/.claude/skills/configRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kubb-labs/kubb /tmp/kubb && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kubb/tools/claude/skills/config ~/.gemini/antigravity-cli/skills/configAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The config skill teaches an AI assistant how to write a kubb.config.ts file and choose the right @kubb/plugin-* packages when generating TypeScript from an OpenAPI or Swagger spec. It shows the config shape, lists the available generator plugins such as pluginTs, pluginAxios, pluginReactQuery and pluginZod, and points to each plugin's Options type and docs for exact option names.
The skill describes a validate, init and generate workflow built on the kubb CLI. It explains plugin dependencies listed in kubb-extension.json, keeping each generator's output in separate folders, and formatting or linting output with the project's existing tools. It is aimed at developers setting up Kubb, adding a generator, or debugging codegen output.
Written from the project's SKILL.md and checked against it.
What it can do
- kubb.config.ts authoringShows the shape of a kubb.config.ts with input, output and plugins.
- Plugin selectionLists generator plugins such as pluginTs, pluginAxios, pluginZod and pluginMsw and how to combine them.
- Dependency checksExplains dependencies and optionalDependencies from each plugin's kubb-extension.json.
- Spec validationRuns kubb validate on a spec before generating, especially for untrusted specs.
- Init and generateCovers kubb init and kubb generate, with --verbose and --watch for diagnosing output.
- Format and lint setupSets output.format or output.lint to 'auto' to use the project's existing formatter or linter.
What you need
- An OpenAPI or Swagger spec file or URL
- The kubb CLI installed
- The @kubb/plugin-* packages you choose to use
Try asking
- Write a kubb.config.ts that generates types and an Axios client from my petstore spec.
- Which @kubb/plugin packages do I need for React Query hooks with Zod validation?
- Why is my generated Kubb output missing a file? Help me debug with kubb generate.
Good to know
- Generation deletes existing files in output.path when output.clean is true, so it must not point at hand-written source.
- Adapter options are only needed for specific cases such as validate or serverIndex.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: tools/claude/skills/config/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to config
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
config: common questions
What does the Kubb config skill do?
It guides an AI assistant in writing a kubb.config.ts and choosing the @kubb/plugin-* packages for generating TypeScript from OpenAPI or Swagger specs.
Which plugin should I start with in Kubb?
The skill recommends pluginTs as the base, then adding a client such as pluginAxios or pluginFetch and optional framework or validation plugins.
Where can I find exact Kubb plugin options?
The skill says to read each plugin's Options type in the installed package and its kubb.dev docs page, rather than guessing option names.
How do I install config?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is config free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is config safe to use?
It scores 83 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to config?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
