kbn-ui-package
Skill by elastic
Guides a user through packaging a Kibana UI component as a standalone kbn-ui package for external consumers such as Cloud UI. It moves the source, scaffolds the packaging layer and updates Kibana imports.
Install kbn-ui-package
Built from the published package, never by AI.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.claude/skills && cp -r /tmp/kibana/.agents/skills/kbn-ui-package ~/.claude/skills/kbn-ui-packageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/elastic/kibana /tmp/kibana && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/kibana/.agents/skills/kbn-ui-package ~/.gemini/antigravity-cli/skills/kbn-ui-packageAntigravity 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
This skill onboards a Kibana UI component into the kbn-ui system. The system distributes Kibana UI components as versioned standalone packages under src/platform/kbn-ui/. The skill asks for the source path, folder name and description, then reads the source package files and lists the @kbn/* imports it uses.
It runs in phases. After the user confirms a summary, it moves the package with git mv, writes a new workspace package.json, creates a packaging folder with a webpack build, and generates stubs for internal @kbn/* packages. It also builds an example app and updates imports and tsconfig references across the Kibana repo. It is aimed at Kibana developers who need to publish a component outside Kibana.
Written from the project's SKILL.md and checked against it.
What it can do
- Gather inputsAsks for the source path, kbn-ui folder name and a short description before any files change.
- Analyze sourceReads the package files and sorts internal @kbn/* imports into externalized peers and stubs.
- Move packageMoves the source package into src/platform/kbn-ui/ with git mv and normalizes the source directory name.
- Scaffold packaging layerCreates packaging/ files including package.json, webpack config, tsconfig and a build script.
- Generate @kbn/* stubsCreates no-op service stubs for Kibana packages that are not available outside Kibana.
- Build example appCreates a minimal example app that imports the built package for manual testing.
- Update Kibana importsRewrites static and dynamic imports and kbn_references in tsconfig files to the new package name.
What you need
- A Kibana repository checkout with the kbn-ui layout
- git
- bash
- grep and sed
Try asking
- Create a kbn-ui package for src/platform/packages/private/kbn-grid-layout
- Onboard a component to kbn-ui and package it for Cloud UI
- Set up packaging for a Kibana component for external distribution
Good to know
- The skill is written for the Kibana repository layout and paths.
- Stub generation for unknown @kbn/* packages is described as manual steps the assistant follows from the package source.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/kbn-ui-package/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to kbn-ui-package
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
kbn-ui-package: common questions
What does the kbn-ui-package skill do?
It guides the process of moving a Kibana UI component into the kbn-ui folder and scaffolding a standalone packaging layer. It also updates Kibana imports to the new package name.
What output does the packaging layer produce?
The packaging layer bundles the source into a standalone .tgz file using webpack, according to the skill documentation.
Who is this skill for?
It is for developers who need to distribute a Kibana UI component to Cloud UI or other external consumers.
How do I install kbn-ui-package?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is kbn-ui-package free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is kbn-ui-package safe to use?
It scores 80 of 100. Grades: maintenance A, licence F, 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 kbn-ui-package?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
