kernel-ui

v1.1.1
io.github.kemiljk/kernel-ui Checked 9 hours ago Published 2 days ago

Exact component APIs, design tokens and a code checker for the Kernel UI component library.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_components

List every Kernel UI component with its category and one-line summary. Call this first to see what exists before writing UI.

ParameterTypeDescription
categorystringOptional filter: Primitives, Forms, Layout, Feedback, Overlays, Navigation, Data Display or AI.

search_components

Find the Kernel component for a need described in plain words (e.g. 'tool call approval', 'date range', 'shadcn sheet').

ParameterTypeDescription
query *string

get_component

Exact API for one component: React props (types, defaults, notes), custom element attributes and events, why it's built on its native element, and shadcn/Radix migration notes. Accepts a name, slug, export or shadcn alias.

ParameterTypeDescription
name *string
platformstringWhich package to describe. Defaults to both.

get_tokens

Kernel's design tokens (CSS custom properties) with values and what each is for. Use these instead of raw colours, spacing or radii.

ParameterTypeDescription
querystringFilter, e.g. 'color', 'radius', 'space', 'icon'.

get_conventions

How to install Kernel and the conventions every component shares (controlled state, form-field scaffold, className hooks, icons). Read once before writing Kernel code.

ParameterTypeDescription
platformstringWhich package to describe. Defaults to both.

check_code

Review JSX, HTML or CSS written against Kernel: unknown or foreign props (asChild, leftIcon…), missing field labels, unlabelled icon-only buttons, clickable divs, raw colours, hand-picked radii, and shadcn/Radix imports Kernel replaces. Run it after writing code and fix what it reports.

ParameterTypeDescription
code *string