--- 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 )} } ``` Correct: ```tsx import { TreeView } from "@techsio/ui-kit/molecules/tree-view" ``` The first audit pass should inventory existing UI-kit components. Source: libs/ui/skills/_artifacts/consumer_app_usage_rules.md ### HIGH Duplicated default style accepted Wrong: ```tsx