Skip to content
Back to skills

Ui Design

ASecurity

Read before changing a local page, the hub board, the website, the prototype, or a page that a bundled skill renders (plans and guided reviews). Records the Cutout lo-fi look that the design library holds and every surface shares.

  • 31 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added December 2, 2026
ai-agentsapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 2, 2026

npx -y skills add theonly1me/shadowclone --skill ui-design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ui Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ui Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/theonly1me-ui-design/badge)](https://www.skillsdirectory.com/skills/theonly1me-ui-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ui-design
description: Read before changing a local page, the hub board, the website, the prototype, or a page that a bundled skill renders (plans and guided reviews). Records the Cutout lo-fi look that the design library holds and every surface shares.
---

# UI design

Every page that a person sees uses one look: Cutout lo-fi. That covers the product pages in `packages/web`, the hub board in `packages/hub/src/board`, the website in `website/`, and the prototype in `prototype/`. It also covers the pages of `plan-with-review-page` and `guided-pr-review`. A page that looks different from the others is a defect.

## Where the look lives

- `packages/design` (`@shadowclone/design`) holds the look. Read its `AGENTS.md` first. Change the look there, not in a page.
- Every rule is scoped to `html[data-theme="cutout"]`. The product, the website, and the prototype set that attribute.
- The product imports `@shadowclone/design/browser`. It adds product-only parts in `packages/web/src/client/cutoutProduct.css`.
- The hub board and the two skill pages embed their fonts and colors. Run `bun run design` after a palette or font change. Lint fails when an embedded copy is stale.

## Palette

The tokens are in `packages/design/src/tokens.ts` and `packages/design/css/base.css`. A test keeps them equal.

| Token | Value | Use |
| --- | --- | --- |
| `--night` | `#0b0a10` | Page background, with faint stripes and halftone dots in the margins |
| `--night-2` | `#16131f` | Cards and panels on the dark page |
| `--paper-warm` | `#ece5d8` | Paper slips: queue items, project cards, board steps, plan documents |
| `--ink-dark` | `#15121c` | Text on paper |
| `--violet` | `#9a7bff` | Section labels, primary buttons, chosen answers, and focus rings |
| `--lilac` | `#b6a2ee` | Highlights and links on the dark page |
| `--violet-deep` | `#4b2fb0` | Hard offset shadows, and links on paper |

Put text on paper in dark ink, and text on the dark page in paper or white. Do not add a color without a reason that the review can name.

## Type

- Anton for page titles, card titles, buttons, and navigation, in uppercase.
- Archivo for body text.
- IBM Plex Mono for section labels, tags, paths, code, and small metadata.
- DM Serif Display only inside cut-out titles.
- Every page loads fonts from its own origin or embeds them. The licenses sit next to the files as `OFL-<font>.txt`.
- Page titles (`h1`) become ransom-note letters through `watchHeadings`. Keep titles short, because each letter is a block.

## Components

- **Buttons** come in four kinds, all slanted with a hard offset shadow. Use one primary button for each view at most.
  - Primary (`.button-primary`): the main action, such as Copy, Save, or Take it.
  - Regular (default `button` or `.button`): normal actions, such as Decide.
  - Outline (`.button-outline`): answers and lesser actions.
  - Ghost (`.button-ghost`): small actions, such as Cancel, Unlink, or Release.
- **Section labels** (`h2`) are slanted purple tags in mono.
- **Paper slips** (`.needs-item`, `.project-card`, `.board-card`) tilt slightly and cast a deep purple shadow.
- **Plans** sit on paper. Decisions are dark cards with a Decide stamp. The chosen option fills purple.
- **Dropdowns** are custom (`watchSelects`). The native `select` stays in the page, hidden, and gets every change.
- **Prompt lines** (`promptLine` in `app/html.ts`): every command or prompt that a person can paste gets its own line with a Copy button.
- **Status** is text or a small square. Never style a status as a button.
- All corners are square.

## Layout

- Page width 1120px, with 32px side padding. The skill tree page is 1240px.
- One bar: the mark, then Projects, Skills, and Settings, with the current one as a white slanted tab.
- Check every view at 390px wide. Nothing scrolls sideways. Grid columns use `minmax(0, 1fr)`, and long paths wrap.
- Keep the grain, the dots, and the vignette behind the content. Never put a texture over text.

## Motion

These rules adapt the MIT-licensed design engineering skills of Emil Kowalski.

1. Animate only `transform` and `opacity`. Never use `transition: all`.
2. Use `--press` (`cubic-bezier(0.23, 1, 0.32, 1)`) for UI motion. Never use `ease-in`.
3. Keep UI motion under 300ms: press feedback 140ms, a dropdown 140ms, title letters 260ms.
4. Pressable elements move 2px into their shadow on `:active`.
5. Do not animate frequent actions: tab changes, block edits, copy feedback, or keyboard actions.
6. Gate hover effects behind `@media (hover: hover) and (pointer: fine)`.
7. Under `prefers-reduced-motion: reduce`, stop the grain and the letter animation, and keep color changes.
8. After an action, update the view in place. Do not reload the page.

## Security

The product pages and the website send a strict content security policy. It blocks inline scripts and inline `style` attributes. Scripts set styles through the DOM style API, which the policy allows. Draw a Mermaid diagram as an image (`app/doc/diagram.ts`), because its SVG carries inline styles.

## Before a pull request

1. Run the real local app with synthetic data, and take screenshots of each changed view at 1280px and 390px.
2. Check the console for errors and the page for sideways scroll.
3. Check each new color, font, button, and transition against this page.
4. Run `bun run design` and `bun run board` after a change to the library, and commit the generated files.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.