---
name: okti-design-system
description: Design and author UI changes for okti.design using Oktay Elipek's restrained editorial design system, tokens, and anti-slop rules.
---

# okti-design-system

Use this skill whenever adding pages, case studies, or components to `okti.design`.

## Source of Truth

1. Read `public/DESIGN.md` for color tokens, typography scale, spacing rhythm, and anti-patterns.
2. Keep all content data inside `src/data/profile.ts`. Never hardcode career entries or links in templates.
3. Preserve zero-bloat static rendering (`src/pages/index.astro`, `src/styles/global.css`).

## Authoring Rules

- **Layout:** Single centered reading column (`max-width: 660px`), separated by `1px solid var(--line)`.
- **Color discipline:** Warm paper (`#FAFAF9`) and charcoal ink (`#171717`). Do not add accent gradients, shadows, or badge pills; let real product screenshots provide color.
- **Progressive disclosure:** Use native `<details>` for expandable work and experience items and native `<dialog>` for image lightbox previews.
- **Clipboard interactions:** Clicking an email address copies it directly with the bottom `.toast` confirmation rather than rendering separate "Copy" buttons.
- **Performance:** Provide explicit `width` and `height` on work screenshots (`public/work/`) to prevent layout shift (`CLS = 0`).

## Adding a New Work Case Study

1. Save a clean screenshot under `public/work/<slug>.png`.
2. Add an entry to `profile.cases` in `src/data/profile.ts` with `image`, `imageAlt`, `imageWidth`, `imageHeight`, and a concise `brief` (`role`, `challenge`, `approach`, `outcome`).
3. Run `npm run build` and verify zero TypeScript or Astro errors.
