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.
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.md
SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use
---
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
Community Reviews & Field Notes
Tried this skill on your own project? Share the model you used and the results you got.