# Koi Design System Foundation

Bootstrap or update the Koi design system foundation from a visual reference, focusing on token definitions and foundation pages.

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

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

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

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

**Category:** Product & Design

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

**Source commit:** d86c88cb439045af1785329fcabfbd645fa3b646

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

**Created at:** 2026-11-28T18:44:11.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

Before making changes, read `AGENTS.md` and audit existing tokens. Only apply safe changes without approval; report risky changes and wait for approval before proceeding.

### When to use it

- Updating design system tokens based on a visual reference
- Auditing and classifying token changes as safe, needs review, or breaking
- Maintaining consistency between `@theme` and `:root` channels
- Validating changes with linting and visual checks

## Skill instructions

---
name: koi-design-system-foundation
description: >
  Bootstrap or update the Koi design system foundation from a visual
  reference. This is the only skill allowed to create or change tokens.
---

# Koi — Design System Foundation

Use this skill only when the user explicitly asks to create or revise the
foundation/tokens of the design system.

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

## Scope

This skill may update:

- `app/globals.css` token definitions (`@theme`, `:root`, dark mode)
- foundation pages under `app/koi/styleguide/foundation/`
- styleguide navigation for foundation pages
- token usage documentation

This skill must not create Playground/quarantine areas. This repo has no
styleguide Playground.

## Workflow

1. Read `AGENTS.md`.
2. Identify the reference source and current foundation pages.
3. Audit existing tokens before adding or changing anything.
4. Classify token changes:
   - safe: additive aliases or documentation sync
   - needs review: color scale, type scale, radius, motion changes
   - breaking: removal or rename of tokens in use
5. Apply only safe changes without approval.
6. For risky changes, report the delta and wait for approval.
7. Keep `@theme` and `:root` channels in sync.
8. Validate with `npm run typecheck`, focused lint, and visual checks only when
   the changed foundation page needs them.

## Output

Report:

- tokens added/changed/left untouched
- foundation pages updated
- risky changes skipped
- validations run

