appkit-ui-variants
Skill by databricks
Builds UI sections in several variants that the developer picks live in the browser during local dev, then finalizes the chosen one into source. Made for teams using Databricks AppKit UI components.
Install appkit-ui-variants
Built from the published package, never by AI.
git clone --depth 1 https://github.com/databricks/appkit /tmp/appkit && mkdir -p ~/.claude/skills && cp -r /tmp/appkit/packages/appkit/skills/appkit-ui-variants ~/.claude/skills/appkit-ui-variantsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/databricks/appkit /tmp/appkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/appkit/packages/appkit/skills/appkit-ui-variants ~/.gemini/antigravity-cli/skills/appkit-ui-variantsAntigravity 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 builds a piece of UI, such as a section, component or page, in several variants wrapped in a <Variants> picker. The developer flips through the variants in the browser during local dev and clicks Confirm on the one they want. The choice is recorded to a local JSONL file keyed by blockId.
The assistant then finalizes the chosen variant into source, removing the wrapper, and clears the consumed line from the choices file. Each section gets its own block so choices are independent. It is aimed at developers building UI with @databricks/appkit-ui who want to compare designs live. The wrapper is dev-only and must be finalized or removed before a production build.
Written from the project's SKILL.md and checked against it.
What it can do
- Build variantsBuilds a UI piece in several meaningfully different variants, one block per section.
- Live browser pickerLets the developer switch between variants and click Confirm during local dev.
- Choice recordingRecords the confirmed choice to a keyed JSONL file via POST to /api/ui-variants/confirm.
- Finalize variantReplaces the Variants block with the chosen variant's JSX and removes the wrapper.
- CleanupRemoves the consumed choice line and runs format and lint on the file.
What you need
- @databricks/appkit-ui package
- @databricks/appkit package
- A running local dev server
- pnpm, used in the lint and format commands
- jq, used in the cleanup command
Try asking
- Build a hero and an about section in three variants each so I can pick live
- Make a pricing card in variants so I can choose one in the browser
- Finalize my chosen hero variant into source and clear its choice
Good to know
- The Variants wrapper is dev-time only and must be finalized or removed before a production build.
- The recorder drops out in production, and Confirm shows Recorder unavailable when the endpoint is absent.
- The flow is turn-based; the skill does not run a background watcher for the confirm.
- Duplicate blockId values in one file are refused until they are made unique.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: packages/appkit/skills/appkit-ui-variants/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to appkit-ui-variants
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
appkit-ui-variants: common questions
Where are the confirmed UI choices stored?
They are stored in node_modules/.databricks/appkit/.appkit-ui-choices.jsonl, which is gitignored. The file holds one line per Variants blockId.
What happens if I change my mind after confirming?
Re-confirming a variant replaces that block's line in the choices file, so the latest choice is the one kept.
Do I need to set up the recorder?
No. The source says the recorder runs automatically in dev and needs no setup.
How do I install appkit-ui-variants?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is appkit-ui-variants free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is appkit-ui-variants safe to use?
It scores 71 of 100. Grades: maintenance A, licence A, quality B. 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 appkit-ui-variants?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
