← ClaudeAtlas

design-languagelisted

Design language: extract a UI's design language from its code into one reference doc, or audit the UI against that doc. Use when asked to find hard-coded colours, sizes or fonts, standardize tables, charts or value formats, or check a UI change against the design reference.
crsmithdev/aleph · ★ 0 · Web & Frontend · score 62
Install: claude install-skill crsmithdev/aleph
# Design language The design language is what the code **already mostly does**, written down: tokens, formats, layout rules and components, each with its use count. The doc records the language; it does not invent a new one. A value that bypasses the language is a **deviation**, and each deviation becomes a fix. The reference doc is `docs/design.md`. If it does not exist, run **Extract**. If it exists, run **Audit**. Change no UI code in either mode: the output is the doc and the issues. ## Inventory Both modes start here. Find the UI's files: stylesheets, the page shell, the views or components, and the shared helpers. Then run: ``` bun <this skill>/scripts/inventory.ts <ui files or dirs> --summary bun <this skill>/scripts/inventory.ts <ui files or dirs> > <scratchpad>/inventory.tsv ``` Each row is `file:line, group, property, value, kind`. Groups: colour, size, type, effect, format. Kinds: `token-def`, `token-use`, `literal`, `helper-bypass` (a value formatted by hand, with `toFixed`, `toLocale*`, `Intl`, date getters or `padStart`). The script reads text; a row inside a shared helper's own body is the helper, not a bypass. Every count in the doc comes from this script's output. The script covers values. Read the code for the rest, and record it in the same `file:line` form: - **Tables:** for each table, its columns in order, each column's header, kind of value, format, alignment, width rule, sort, truncation or wrap, and empty cell; the row height, row actions and