# Koi Design System Audit

Audit the Koi design system for internal consistency across tokens, components, showcases, navigation, and page usage. Deliverable includes a report with token issues, component/showcase/nav issues, page import issues, fixes applied, remaining risks, and validations run.

**Canonical URL:** https://skillshunter.net/skills/discovered-236b1d70bc2612aae61127a27f23473643cac48256caa22f

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-236b1d70bc2612aae61127a27f23473643cac48256caa22f

**Markdown URL:** https://skillshunter.net/skills/discovered-236b1d70bc2612aae61127a27f23473643cac48256caa22f.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-236b1d70bc2612aae61127a27f23473643cac48256caa22f/download

**Category:** Product & Design

**Source URL:** https://github.com/MirandaSls/koi-design/blob/d86c88cb439045af1785329fcabfbd645fa3b646/skills/design-system/koi-design-system-audit/SKILL.md

**Source commit:** d86c88cb439045af1785329fcabfbd645fa3b646

**Listing approved at:** 2026-11-29

**Created at:** 2026-11-28T18:44:10.000000Z

**Updated at:** 2026-11-29T10:53:15.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Read `AGENTS.md` first. Run targeted `rg`/file checks before making changes. Validate with `npm run typecheck` and focused lint for touched files.

### When to use it

- Ensure design system tokens are consistent and use variables from `app/globals.css`
- Verify that new components follow naming conventions and preserve public props
- Check that showcases are complete and links resolve correctly
- Validate navigation for broken hrefs and duplicate entries
- Ensure product pages import DS components correctly and do not contain hidden inline components

## Skill instructions

---
name: koi-design-system-audit
description: >
  Audit the Koi design system for internal consistency across
  tokens, components, showcases, navigation, and page usage.
---

# Koi — Design System Audit

Use this skill to find and fix inconsistencies in the design system.

`AGENTS.md` is the source of truth. If anything here conflicts with it, follow
`AGENTS.md`.

## Scope

Audit:

- `app/globals.css`
- `components/ui/Koi*.tsx`
- lowercase shadcn primitives in `components/ui/*.tsx`
- legacy root components in `components/*.tsx`
- showcases under `app/koi/styleguide/components/`
- `app/koi/styleguide/navigation.ts`
- product pages that import DS components

Do not audit `.next/`, `.agents/`, `.claude/worktrees/`, `node_modules/`,
`review-bridge/data/`, or `flow-bridge/data/`.

This repo has no DS Playground/quarantine area. Do not create or recommend one.

## Checks

1. Tokens:
   - no hardcoded hex colors or arbitrary Tailwind values
   - used variables exist in `app/globals.css`
   - `@theme` and `:root` channels stay aligned
2. Components:
   - new DS components are `Koi*`
   - existing `Koi*` components preserve their public props
   - product icons use `Icon.tsx`
   - shadcn primitives are wrapped before product use
3. Showcases:
   - each official component has a relevant showcase or family hub
   - family children are grouped under parent nav entries
   - showcase links resolve
4. Navigation:
   - no broken hrefs
   - no duplicate top-level entries for family members
5. Pages:
   - product pages import wrappers/components, not showcase code
   - no new DS-like inline component is hidden inside a page without reason

## Workflow

1. Read `AGENTS.md`.
2. Run targeted `rg`/file checks first; avoid broad generated directories.
3. Apply safe doc/nav/import fixes directly.
4. Do not delete tokens/components without usage checks.
5. Validate with `npm run typecheck` and focused lint for touched files.

## Output

Report:

- token issues
- component/showcase/nav issues
- page import issues
- fixes applied
- remaining risks
- validations run

