---
name: app-ui-kit-audit
description: >
Use when reviewing an apps/* UI for correct @techsio/ui-kit adoption:
existing component usage, native HTML replacement, nonexistent props,
duplicate className styling, token-first violations, framework adapter
mistakes, unnecessary wrappers, and UI-kit API gaps.
metadata:
type: "core"
library: "@techsio/ui-kit"
library_version: "0.3.2"
requires: "component-usage-ux app-token-overrides"
sources: "libs/ui/skills/_artifacts/consumer_app_usage_rules.md libs/ui/package.json libs/ui/src/atoms libs/ui/src/molecules libs/ui/src/tokens/components"
---
# @techsio/ui-kit App Adoption Audit
Run this before handing off app UI that consumes `@techsio/ui-kit`.
## Component Checks
### Check: existing component used
Expected:
```tsx
import { TreeView } from "@techsio/ui-kit/molecules/tree-view"
```
Fail condition: custom tree, dialog, toast, button, input, or skeleton exists
while UI-kit has the component.
Fix: replace with UI-kit component or record the missing API gap.
### Check: props exist
Expected:
```tsx
```
Fail condition: `variant="ghost"` or other props not in component source.
Fix: load the per-component usage skill and inspect the source props.
### Check: appearance is token-first
Expected:
```tsx
```
Fail condition: `className` duplicates background, text color, padding, radius,
or font weight already provided by props/tokens.
Fix: move visual differences into app token overrides.
## Audit Commands
```sh
rg -n '