[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F8S5VVJVCV4D4BZWNBGWCR":3,"skill-same:01M7F8S5VVJVCV4D4BZWNBGWCR":117},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":40,"repositoryHtmlUrl":41,"repositoryHomepageUrl":6,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M7F8S5VVJVCV4D4BZWNBGWCR","design",null,"Use when designing or refreshing a web UI or landing page — visual concept, type\u002Fcolor\u002Fspacing\u002Fmotion tokens, composition, rescuing a UI that reads AI-generic, or a graded design review. Brand-grounded and research-first; ships Tailwind v4 + Next.js 15 under WCAG 2.2 AA and Core Web Vitals budgets. NOT the words on the page (that is `marketing`), NOT the App Router build (that is `nextjs`).","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: design\ndescription: \"Use when designing or refreshing a web UI or landing page — visual concept, type\u002Fcolor\u002Fspacing\u002Fmotion tokens, composition, rescuing a UI that reads AI-generic, or a graded design review. Brand-grounded and research-first; ships Tailwind v4 + Next.js 15 under WCAG 2.2 AA and Core Web Vitals budgets. NOT the words on the page (that is `marketing`), NOT the App Router build (that is `nextjs`).\"\ntags: [design, ux, ui, landing, conversion]\nrecommends: [design-loop, design-dna, nextjs, marketing]\nprofiles: [full]\norigin: risco\n---\n\n# Design — Product UI, Landing Pages & Conversion Copy\n\n**Hand-off — the visual system vs the craft of motion.** This skill owns the visual system and page\ncomposition, and sets motion *intent + budget* only. The **implementation** of an animation is\n`..\u002Fmotion-craft\u002FSKILL.md`'s; how a piece of interface should be BUILT — boundaries, state, the\nloading and empty and error states — is `..\u002Fui-engineering\u002FSKILL.md`'s. When a request could belong to\nseveral of those, start from the one that owns the decision, not the one that owns the file. The motion reference in\nthis skill defers its mechanics to them rather than restating them.\n\n\n*Research the best current work, then ship a premium, accessible, fast, high-converting interface.*\n\n> **SDD gate.** If this fired on a **new, non-trivial feature or behaviour change** and there is **no approved spec + plan** under `02-DOCS\u002Fwiki\u002Fsdd\u002F`, hand off to `..\u002Fspecify\u002FSKILL.md` first — it runs brainstorm → spec → plan → tasks before any code, then routes back here once the plan is approved. Build straight from here only for a genuinely one-line \u002F low-risk change. Method: `..\u002Fsdd\u002FSKILL.md`.\n\n**Hand-offs.** The WORDS are `..\u002Fmarketing\u002FSKILL.md`'s: it co-owns the `02-DOCS\u002Fwiki\u002Fbrand\u002F` study (the words dimensions there, the visual ones here), and deep keyword research, GEO, or a technical SEO audit belongs to it — this skill only enforces SEO-aware *structure* in markup. The BUILD (App Router \u002F React 19) is `..\u002Fnextjs\u002FSKILL.md`'s. Mirroring the brand tokens into a Flutter app is `..\u002Fflutter\u002FSKILL.md`'s. Pure backend\u002Fdata\u002Finfra with no UI surface: decline — there is nothing to design. Three references live outside this repo and are named for direction only, not invocable here: *frontend-design-direction* for dense internal tooling used daily (never paint a marketing skin on a tool that needs repeated daily use — fold its judgment in via the DIRECTION BRIEF); *liquid-glass-design* for native iOS 26 SwiftUI Liquid Glass (this skill ships the *web* glass approximation only); *motion-ui* \u002F *motion-foundations* for motion-code mechanics (springs, `AnimatePresence` internals, layout animations — this skill sets motion *intent + budget*).\n\n## Brand grounding — before you design anything\n\nA design with no brand behind it is a guess, and a guess defaults to your AI-generic prior. That is why this gate is a hard stop rather than a warning: **an incomplete brand study blocks the work.**\n\nFollow the harness 02-DOCS convention (brand study = wiki articles under `02-DOCS\u002Fwiki\u002Fbrand\u002F`, raw inputs under `02-DOCS\u002Fraw\u002Fbrand\u002F`, linked from root `CLAUDE.md`):\n\n1. **Locate the brand study.** Read the project root `CLAUDE.md` and look for a `## Brand & voice` section pointing into `02-DOCS\u002Fwiki\u002Fbrand\u002F...`. If present, read those articles.\n2. **If the link is MISSING, or the brand study is ABSENT or INCOMPLETE** (any checklist dimension empty), STOP. Do not design yet. Ask the user the targeted question script — **ONE focused batch at a time**, not a wall of questions — until every dimension in the completeness checklist is filled (→ `references\u002Fbrand-grounding.md`). Write\u002Fupdate the brand study into `02-DOCS\u002Fwiki\u002Fbrand\u002F` (and paste any raw inputs the user gives — screenshots, existing palettes, competitor lists — into `02-DOCS\u002Fraw\u002Fbrand\u002F`), following the wiki article format, update `wiki\u002Findex.md` + `wiki\u002Flog.md`, and add\u002Fupdate a `## Brand & voice` section in the root `CLAUDE.md` linking to it (create `CLAUDE.md` if absent).\n3. **Only once the brand study exists and is sufficient, proceed** — and cite which brand articles drove which decisions in your output (e.g. \"palette from `02-DOCS\u002Fwiki\u002Fbrand\u002Fvisual-identity.md`\").\n\nThe completeness checklist spans visual identity (OKLCH color system, type pairing & scale, logo, imagery\u002Fillustration mood, density, radius\u002Fshadow\u002Fmotion personality), reference\u002Finspiration sites the user loves, layout preferences, dark-mode stance, accessibility & performance constraints, and brand voice\u002Fpositioning (so copy and design agree). Full checklist + exact question script → `references\u002Fbrand-grounding.md`.\n\n**When a dimension has no answer** — the non-technical default, and the reason this gate used to be impassable: do not invent one and do not wave the STOP through. `references\u002Fstarting-point.md` is how a starting point gets proposed instead: what the project already owns is checked first, the value comes from a reference you opened and measured, and it is written marked `propuesto` — which does **not** count as complete until the user confirms it.\n\nThe order is: **brand grounding → trend research → build.**\n\n## Pick a direction first\n\nFill the direction brief before you write a single line of markup:\n\n```text\nDIRECTION BRIEF (fill before coding)\n1. Purpose .......... what job does this interface do, in one sentence?\n2. Audience ......... who repeats this workflow; what do they scan first?\n3. Tone ............. pick: utilitarian | editorial | playful | industrial | refined | technical | minimal | dense | calm\n4. Memorable detail . the ONE idea that makes it feel intentional (not a gradient)\n5. Constraints ...... framework, a11y, perf budget, existing design system\u002Ftokens\n```\n\nThen map the project type to composition, density, and motion budget. Density and composition follow the audience and the job, not a template — a SaaS operations tool should be dense, quiet, and scannable.\n\n| Project type | Composition | Density | Motion budget |\n| --- | --- | --- | --- |\n| SaaS marketing | Full landing stack, hero→CTA | Generous | Tasteful reveals, hover affordances |\n| Dev tool | Show the product\u002FCLI first, then proof | Medium | Subtle, fast (≤200ms) |\n| Dashboard \u002F internal tool | Data-first, no hero | Dense, scannable | State-only (loading, success) |\n| Portfolio \u002F editorial | Expressive, asymmetric | Airy | Expressive but reduced-motion-safe |\n| E-commerce | Product grid, fast PDP | Medium | Micro-interactions on add-to-cart |\n| Docs | Sidebar + reading column | Calm, 65ch measure | Near-zero |\n\n## Research-first protocol\n\nTrends churn quarterly and your built-in aesthetic prior is the median of every AI template ever scraped. Never prescribe from stale memory; counter it with a loop:\n\n1. Define 2–3 reference archetypes from the DIRECTION BRIEF (e.g. \"Linear-grade dev tool, dark, type-led\").\n2. Browse the dated registry in `references\u002Finspiration-sources.md` — whole pages to beat, SaaS and conversion surfaces, real product flows (Mobbin, Page Flows), single patterns, and the design systems that are specification rather than inspiration — plus the tier-1 sites (Linear, Stripe, Vercel, Cursor, Resend). Every entry there carries a verification date; `godly.website` now redirects to `recent.design`, which is exactly why the list is dated and not inline.\n3. WebFetch 3–5 exemplars, prompting each for type, color, layout, motion, and copy voice — concrete details, not adjectives.\n4. Extract a pattern table from what they share and where they differ.\n5. Synthesize a one-paragraph DESIGN DIRECTION with citations (which URL contributed what).\n6. Only THEN build; re-check the result against the references in QA.\n\nRe-research per project — trends churn, competitors moved, and the domain dictates the reference set. Whenever the brand study lacks aesthetic direction or the user asks for \"modern\" \u002F \"2026\" \u002F \"premium\", run this loop, fold the findings into the output **with citations + dates**, and refresh `references\u002Ftrends-2026.md`. Full loop, source map, and synthesis template → `references\u002Fresearch-method.md`. Current snapshot (dated, cited) → `references\u002Ftrends-2026.md`.\n\n## From competent to premium (the part that earns the score)\n\nObeying every constraint gets you to *competent* — a page that ships and passes review. It does NOT get you to premium, because every constraint catches an *absence* (no missing `\u003Ch1>`, contrast passes), while premium is a *presence*: a point of view. Competent-but-generic is the default failure mode of under-specified design output. Close it with four deliberate moves, in order, before and during the build:\n\n1. **Choose a visual concept.** One sentence the whole page answers to — `[feeling] + [structural metaphor] for [audience doing job]` (e.g. \"quiet instrument-panel precision for ops engineers\"). Drawn from the brand study + research exemplars, never your prior. If you cannot name what makes this surface different from the median SaaS page, you have no concept yet, and the output will default to generic.\n2. **Manufacture the ONE signature element** the brief asks for — the thing you'd describe first to a friend. Pick exactly one from a real vocabulary, biased by domain: a hero that *demonstrates not describes* (live terminal \u002F real chart \u002F actual diff), an owned type moment, a structural signature (asymmetric split, horizontal feature rail, editorial index), a material signature (hairline grid, one grain pass, duotone), a motion signature, or a real-number\u002Fproof signature. Never default to \"a gradient\". It must be true to the product, and cite the research exemplar that inspired it.\n3. **Force scale contrast.** Generic pages are tonally flat — headline, titles, body all within ~1.5×. Make the hero dominant **3–5× the body**, demote eyebrows\u002Flabels\u002Fmetadata smaller and quieter than feels comfortable, and allow **one focal point per viewport**. If a section feels flat, add contrast, not elements.\n4. **Give the page rhythm.** Ten identical `py-24` white card-grid sections read as one stripe. Vary format (full-bleed vs. contained, alternate media sides), background (a dark section between light ones anchors a CTA), density (a breathing statement after a dense grid), and container idiom (not everything is a bordered card). Inter-section gap > intra-section gap, padding stepping on the scale.\n\nThen, **before claiming done, run the senior-designer crit** and make at least one concrete change as a result: What is the one idea here (name it in a sentence)? Would this place on Awwwards\u002FGodly or just pass review? What is the single most generic element right now — and replace it. Where does the eye land first, and is that what should win? If the logo were removed, would anyone know whose product this is? Does every section earn its place, or is one there out of habit (cut it)?\n\nConcept formula, signature vocabulary, scale\u002Frhythm rules, the crit, and a worked generic→signature dev-tool hero → `references\u002Fsignature-and-craft.md`.\n\n## Visual system in 90 seconds\n\nCopy-pasteable foundation. Tokens once, consume everywhere — design tokens, never magic numbers.\n\n- Tailwind v4 `@theme` block (OKLCH): tokens become CSS vars and utilities automatically — no `tailwind.config.js`.\n- Type scale via `next\u002Ffont` (one display + one text face) plus a fluid `clamp()` ladder.\n- Spacing, radius, and shadow are tokens too, never inline numbers.\n- The rule: arbitrary hex + random px = Bad; token references = Good.\n\n```css\n\u002F* Good — Tailwind v4 @theme: OKLCH palette, tokens become CSS vars + utilities *\u002F\n@import \"tailwindcss\";\n@theme {\n  --color-bg:        oklch(0.99 0 0);\n  --color-fg:        oklch(0.21 0.01 256);\n  --color-muted:     oklch(0.55 0.01 256);\n  --color-brand-500: oklch(0.62 0.19 256);\n  --color-brand-600: oklch(0.55 0.19 256);\n  --font-display:    \"Geist\", ui-sans-serif, system-ui, sans-serif;\n  --font-text:       \"Inter\", ui-sans-serif, system-ui, sans-serif;\n  --radius-card:     0.875rem;\n  --shadow-card:     0 1px 2px oklch(0 0 0 \u002F 0.06), 0 8px 24px oklch(0 0 0 \u002F 0.08);\n  --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);\n}\n```\n\n```html\n\u003C!-- Bad — magic hex + arbitrary px, no system -->\n\u003Cdiv style=\"background:#5b54ff;border-radius:13px;padding:17px\">…\u003C\u002Fdiv>\n\u003C!-- Good — token-driven utilities -->\n\u003Cdiv class=\"bg-brand-500 rounded-card p-4\">…\u003C\u002Fdiv>\n```\n\nFull token system, type scale, OKLCH ramp, bento, glass → `references\u002Fvisual-system.md`.\n\n## Landing page build recipe (\"the brutal landing\")\n\nEach section has ONE job. Cut any section that has none.\n\n1. **Hero** — state the value prop; pass the 5s test.\n2. **Social-proof strip** — borrow credibility immediately (logos, a hard metric).\n3. **Problem \u002F agitation** — name the pain in the reader's words.\n4. **Solution** — show the product doing the job.\n5. **Features → benefits (bento)** — translate each capability into an outcome.\n6. **Objection handling** — preempt the top reason they won't buy.\n7. **Pricing** — anchor, highlight one tier, default to annual.\n8. **FAQ** — answer the real blockers, not filler.\n9. **Final CTA** — one clear action, value on the button.\n10. **Footer** — navigation, legal, trust signals.\n\n```tsx\n\u002F\u002F app\u002Fpage.tsx — Server Component, LCP-safe hero (Next.js 15 \u002F React 19)\nimport Image from \"next\u002Fimage\";\n\nexport default function Page() {\n  return (\n    \u003Cmain>\n      \u003Csection className=\"mx-auto max-w-5xl px-6 pt-24 text-center\">\n        \u003Ch1 className=\"text-balance text-5xl font-semibold tracking-tight md:text-6xl\">\n          Ship the change in an afternoon, not a sprint\n        \u003C\u002Fh1>\n        \u003Cp className=\"mx-auto mt-5 max-w-xl text-pretty text-lg text-fg\u002F70\">\n          Concrete benefit, who it is for, and why now — no hype.\n        \u003C\u002Fp>\n        \u003Ca\n          href=\"#start\"\n          className=\"mt-8 inline-flex min-h-11 items-center rounded-card bg-brand-500 px-6 font-medium text-white transition-colors hover:bg-brand-600\"\n        >\n          Start free\n        \u003C\u002Fa>\n        \u003CImage\n          src=\"\u002Fhero.avif\"\n          alt=\"Product dashboard showing a one-click deploy\"\n          width={1200}\n          height={720}\n          priority\n          className=\"mt-16 rounded-card shadow-card\"\n        \u002F>\n      \u003C\u002Fsection>\n    \u003C\u002Fmain>\n  );\n}\n```\n\nFull section-by-section anatomy, CTA cadence, pricing psychology, JSON-LD → `references\u002Flanding-anatomy-and-cro.md`.\n\n## Conversion copy in one pass\n\nCopy is benefit-led and specific, or the page has no value prop. One `\u003Ch1>` per page; semantic landmarks (`header`\u002F`nav`\u002F`main`\u002F`section`\u002F`footer`).\n\n- The 5s value-prop test: a stranger reads the hero and can say what it is, who it's for, why it's better — legible above the fold in 5 seconds.\n- Headline formula slots: outcome + timeframe; \"X without Y\"; the job-to-be-done.\n- Framework picker: PAS for pain-aware cold traffic; AIDA for broad \u002F top-of-funnel; FAB\u002FJTBD for feature → benefit translation.\n- CTA: put the value on the button (\"Start free\", \"Get my estimate\"), never \"Submit\".\n\n```text\nBad  — \"Revolutionize your workflow with our seamless platform\"\nGood — \"Deploy a fix in 4 minutes — no YAML, no on-call page\"\n```\n\nBan: `revolutionary` · `game-changer` · `cutting-edge` · \"In today's landscape\" · `unlock` · `seamless` · `elevate` · `supercharge` · bait questions · \"not X, just Y\" · forced lowercase · \"Excited to share\".\n\nFrameworks, value-prop canvas, Bad→Good rewrites, VOICE block → `references\u002Fcopywriting-frameworks.md`.\n\n## Motion & interaction budget\n\n- Purposeful-only: motion must guide attention, communicate state, or preserve continuity — else delete it.\n- Timing defaults: enter 200–350ms, exit ~150ms, press `scale(0.97)`.\n- Never `transition: all` — it animates layout props and janks.\n- Compositor-only properties: `transform`, `opacity`, `filter`.\n- `prefers-reduced-motion` is required, not optional.\n- Scroll-driven via native CSS `animation-timeline: view()` FIRST (no JS, no CLS) before any JS library.\n\n```css\n\u002F* Good — native scroll-driven reveal, zero JS, explicit @supports fallback *\u002F\n.reveal { opacity: 1; } \u002F* default visible: no scroll-timeline support => never hidden *\u002F\n@supports (animation-timeline: view()) {\n  @media (prefers-reduced-motion: no-preference) {\n    .reveal {\n      animation: reveal linear both;\n      animation-timeline: view();\n      animation-range: entry 0% cover 30%;\n    }\n  }\n}\n@keyframes reveal {\n  from { opacity: 0; translate: 0 16px; }\n  to   { opacity: 1; translate: 0 0; }\n}\n```\n\nTiming tokens, micro-interactions, scroll\u002Fparallax, when to escalate to motion\u002Freact → `references\u002Fmotion-and-interaction.md`.\n\n## Premium details that compound\n\nSmall things, applied consistently, are what reads as \"designed\".\n\n| Detail | Bad | Good |\n| --- | --- | --- |\n| Nested radius | Same radius parent + child | `outer = inner + padding` (concentric) |\n| Shadows | One hard `0 4px 8px #000` | Layered transparent OKLCH shadows |\n| Separation | Heavy drop shadow everywhere | Hairline 1px border first, shadow only for lift |\n| Headings | Ragged wrap | `text-wrap: balance` |\n| Body \u002F captions | Orphan last word | `text-wrap: pretty` |\n| Numbers\u002Fprices | Width jitters | `font-variant-numeric: tabular-nums` |\n| Images | Edge blurs into bg | 1px neutral `outline`, `outline-offset: -1px` |\n| Glass | `backdrop-blur` on everything | Blur + 1px hairline + subtle noise, sparingly |\n\n```css\nhtml { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }\nimg  { outline: 1px solid oklch(0 0 0 \u002F 0.1); outline-offset: -1px; }\n.price { font-variant-numeric: tabular-nums; }\n```\n\nDepth recipes, glass, noise, concentric math → `references\u002Fvisual-system.md`.\n\n## The three locks, and who checks them\n\nA long page generated in passes drifts against itself. Three things must be **one** thing for\nthe whole page, and they are not preferences — a page that breaks one of them is defective:\n\n1. **Theme lock.** One theme for the page (light, dark, or auto). No section flipping to\n   inverted halfway down because it looked good alone.\n2. **Accent lock.** One accent, used identically in every section. **This one is judgement**:\n   deciding which token is the accent needs to read the system's intent, so no script claims\n   to check it — you do, before you claim done.\n3. **Radius lock.** One radius system. Four different `rounded-*` scales in one tree means\n   there is no system, and `scripts\u002Fverify.sh` counts them.\n\n## The tells the script owns, and the ones you own\n\n`scripts\u002Fverify.sh` carries a **registry of mechanical tells** and reports each with file and\nline: dashes in rendered copy, scroll cues, numbered eyebrows, build stamps on marketing\npages, unstable viewport heights, middot chains, hype words, plus counted ratios (eyebrows\nagainst sections, double-bordered rows, radius scales). Run it; do not re-derive that list\nfrom memory, and do not treat its silence as a design review.\n\nWhat it cannot see is the other half: fabricated substance (a product UI built from divs,\ninvented photo credits, the Jane Doe cast), decoration posing as information, labels that say\nnothing, and composition habits like three identical feature cards. That half is\n`references\u002Fai-tells.md`, and it is read with your eyes on the page.\n\nWhen the brief corresponds to an official, maintained design system rather than an aesthetic —\nUK or US public sector, Shopify admin, Carbon, Atlassian, Primer, Fluent — install the\nofficial package instead of approximating it: `references\u002Fdesign-systems.md`.\n\n## Anti-patterns\n\n| Rationalization | Reality \u002F Fix |\n| --- | --- |\n| \"Purple→blue gradient on everything looks modern\" | It reads AI-generic. Pick a domain-true palette; gradients are seasoning. |\n| \"Centered text over an atmospheric gradient is a hero\" | Show the product. Vague hero fails the 5s test. |\n| \"Cards inside cards add structure\" | They add noise. Flatten; use spacing + one border. |\n| \"I know good design, I'll skip research\" | Taste ≠ current trend. Re-research every project. |\n| \"The image sells it, copy can be vague\" | Copy carries the value prop. Pass the 5s test. |\n| \"Animate everything on scroll\" | CLS + INP cost. Reveal sparingly, transform\u002Fopacity only. |\n| \"Ship now, check contrast later\" | Contrast is a constraint, not polish. 4.5:1 or it ships broken. |\n| \"Glass everywhere looks premium\" | Glass on everything looks cheap. Reserve for floating surfaces. |\n| \"`transition: all` is convenient\" | It animates layout props → jank. List exact properties. |\n\n## Quick reference\n\nAccessibility and Core Web Vitals are **design constraints, not post-launch tuning** — violating one is a defect, not a style choice. **WCAG 2.2 AA:** 4.5:1 text contrast (3:1 large text \u002F UI), visible focus, `prefers-reduced-motion` honored. Target size: 24×24px is the AA floor (SC 2.5.8 Target Size (Minimum)); 44×44px is the recommended quality bar (Apple HIG \u002F pointer comfort) — aim for 44, never ship below 24. **Core Web Vitals:** LCP \u003C 2.5s, INP \u003C 200ms, CLS \u003C 0.1. (INP replaced FID in March 2024 — measure INP.)\n\n| Lever | Default | Token \u002F where |\n| --- | --- | --- |\n| Type scale ratio | 1.25 | modular scale |\n| Body size | 16–18px | `--font-text` |\n| Line-height | 1.5 body \u002F 1.1 display | per element |\n| Spacing base | 4 \u002F 8px | Tailwind spacing |\n| Color allocation | 60-30-10 | bg \u002F fg \u002F brand |\n| Text contrast | ≥ 4.5:1 (3:1 large) | verify with checker |\n| Card radius | 0.875rem | `--radius-card` |\n| Touch target | 44×44px recommended; 24×24px AA floor (SC 2.5.8) | `min-h-11` |\n| Enter \u002F exit motion | 250ms \u002F 150ms | `--ease-out` |\n| LCP | \u003C 2.5s | `next\u002Fimage priority` |\n| INP | \u003C 200ms | compositor-only motion |\n| CLS | \u003C 0.1 | reserved space, `next\u002Ffont` |\n| Hero | passes 5s test | value prop above fold |\n\n## Design-review QA checklist\n\nRun before claiming done. Same checks `scripts\u002Fverify.sh` falls back to.\n\n- [ ] Value prop legible in 5 seconds above the fold.\n- [ ] Text contrast ≥ 4.5:1 (3:1 for large text \u002F UI).\n- [ ] Visible focus state on all interactive elements.\n- [ ] Touch targets 44×44px (recommended); never below the 24×24px WCAG 2.2 AA floor (SC 2.5.8).\n- [ ] `prefers-reduced-motion` honored.\n- [ ] Exactly one `\u003Ch1>` on the page.\n- [ ] Semantic landmarks present (`header`\u002F`nav`\u002F`main`\u002F`section`\u002F`footer`).\n- [ ] LCP image has `priority`.\n- [ ] Fonts use `next\u002Ffont` (no CLS \u002F FOUT swap shift).\n- [ ] No `transition: all` \u002F `transition-all`.\n- [ ] Tokens used (no magic hex \u002F px).\n- [ ] Ban-list words absent from copy.\n- [ ] Text fits at 360px and desktop without overflow.\n- [ ] Empty \u002F loading \u002F hover \u002F error states designed.\n\nAutomate → `scripts\u002Fverify.sh` (runs Lighthouse if a dev server is up, else static grep checks + this list).\n\n### Optional: graded visual-audit rubric (0–10)\n\nThe checklist above is pass\u002Ffail. When the user asks for a *design review*, a *critique*, or a quality grade — or when you want to argue a surface is genuinely premium rather than merely compliant — score these 11 dimensions 0–10 and report the weighted total. Pass\u002Ffail tells you it ships; the rubric tells you how good it is.\n\n| # | Dimension | What a 10 looks like | Weight |\n| --- | --- | --- | --- |\n| 1 | First impression & value clarity | Passes the 5s test instantly; product shown, not a gradient | 1.5 |\n| 2 | Concept & signature | A nameable visual concept; one distinctive, domain-true signature element; logo-removed it's still recognizably this product, not a template | 1.5 |\n| 3 | Typographic craft | Modular scale, ≤2 families, balanced headings, 45–75ch measure, tabular numerals; deliberate 3–5× scale contrast | 1.0 |\n| 4 | Color & contrast | Disciplined 60-30-10 OKLCH system, all text ≥ 4.5:1, dark mode via token swap | 1.0 |\n| 5 | Layout, spacing & rhythm | Consistent 4\u002F8px scale, intentional asymmetry\u002Fbento, clear focal point; sections vary in format\u002Fbackground\u002Fdensity, not one repeated stripe | 1.0 |\n| 6 | Hierarchy & scannability | Eye lands in the right order; one primary action per viewport | 1.0 |\n| 7 | Depth & detail polish | Concentric radius, layered shadows, hairline borders, restrained glass | 1.0 |\n| 8 | Motion quality | Purposeful only, compositor-only props, reduced-motion + `@supports` guards | 1.0 |\n| 9 | Accessibility | Landmarks, one `\u003Ch1>`, visible focus, 24px+ targets (44 ideal), no motion-only meaning | 1.0 |\n| 10 | Performance (CWV) | LCP \u003C 2.5s, INP \u003C 200ms, CLS \u003C 0.1; LCP image `priority`, `next\u002Ffont` | 1.0 |\n| 11 | Copy & brand fidelity | Benefit-led, specific, ban-list clean, voice matches the `02-DOCS\u002Fwiki\u002Fbrand\u002F` study | 0.5 |\n\nScore = Σ(dimension × weight), max 115 (normalize to \u002F100 by ×100\u002F115 if you want a percentage). **Bands (on the \u002F115 raw total):** \u003C 69 ships generic — redo; 69–91 competent but improvable — name the lowest two and fix; 92–108 premium; 109+ award-tier. (These are the prior 60\u002F80\u002F95-per-100 cutoffs rescaled to 115.) A surface that scores well on every constraint dimension but low on #1–2 is the classic \"competent but generic\" result — fix concept and signature first, it has the most leverage. For each dimension below 8, give one concrete, actionable fix (not \"improve spacing\" but \"section padding jumps 48→96px with no 64px step — add `py-16` on mobile\"). Cite the brand article or trend source that sets the bar where relevant.\n\n## Recording the decisions (02-DOCS)\n\nTwo records, both indexed in `02-DOCS\u002Fwiki\u002Findex.md` (the Knowledge map; root `CLAUDE.md` keeps only a short pointer to it), both read first on every use so outputs stay consistent with them:\n\n- The **brand study** at `02-DOCS\u002Fwiki\u002Fbrand\u002F` — the hard gate above: missing or incomplete → ask until complete before designing.\n- The **design-system decisions** at `02-DOCS\u002Fwiki\u002Fstack\u002Fdesign.md` — the chosen tokens (color\u002FOKLCH, type scale, spacing, radius, shadow, motion), the 2026 direction picked, and the reference sites. Recorded, not gated; create\u002Fupdate it as decisions are made. **Read it before fixing type and palette on a new surface**, and either reuse what is there or state why you are departing — otherwise every surface of the project drifts into a different design. (Across *different* projects this record cannot help: it lives inside each one. Distrusting your own second default is the only guard there — see the repetition note in `references\u002Fai-tells.md`.)\n\nThe wiki article protocol both follow is `..\u002Fharness\u002FSKILL.md`'s.\n","# Design — Product UI, Landing Pages & Conversion Copy\n\n**Hand-off — the visual system vs the craft of motion.** This skill owns the visual system and page\ncomposition, and sets motion *intent + budget* only. The **implementation** of an animation is\n`..\u002Fmotion-craft\u002FSKILL.md`'s; how a piece of interface should be BUILT — boundaries, state, the\nloading and empty and error states — is `..\u002Fui-engineering\u002FSKILL.md`'s. When a request could belong to\nseveral of those, start from the one that owns the decision, not the one that owns the file. The motion reference in\nthis skill defers its mechanics to them rather than restating them.\n\n\n*Research the best current work, then ship a premium, accessible, fast, high-converting interface.*\n\n> **SDD gate.** If this fired on a **new, non-trivial feature or behaviour change** and there is **no approved spec + plan** under `02-DOCS\u002Fwiki\u002Fsdd\u002F`, hand off to `..\u002Fspecify\u002FSKILL.md` first — it runs brainstorm → spec → plan → tasks before any code, then routes back here once the plan is approved. Build straight from here only for a genuinely one-line \u002F low-risk change. Method: `..\u002Fsdd\u002FSKILL.md`.\n\n**Hand-offs.** The WORDS are `..\u002Fmarketing\u002FSKILL.md`'s: it co-owns the `02-DOCS\u002Fwiki\u002Fbrand\u002F` study (the words dimensions there, the visual ones here), and deep keyword research, GEO, or a technical SEO audit belongs to it — this skill only enforces SEO-aware *structure* in markup. The BUILD (App Router \u002F React 19) is `..\u002Fnextjs\u002FSKILL.md`'s. Mirroring the brand tokens into a Flutter app is `..\u002Fflutter\u002FSKILL.md`'s. Pure backend\u002Fdata\u002Finfra with no UI surface: decline — there is nothing to design. Three references live outside this repo and are named for direction only, not invocable here: *frontend-design-direction* for dense internal tooling used daily (never paint a marketing skin on a tool that needs repeated daily use — fold its judgment in via the DIRECTION BRIEF); *liquid-glass-design* for native iOS 26 SwiftUI Liquid Glass (this skill ships the *web* glass approximation only); *motion-ui* \u002F *motion-foundations* for motion-code mechanics (springs, `AnimatePresence` internals, layout animations — this skill sets motion *intent + budget*).\n\n## Brand grounding — before you design anything\n\nA design with no brand behind it is a guess, and a guess defaults to your AI-generic prior. That is why this gate is a hard stop rather than a warning: **an incomplete brand study blocks the work.**\n\nFollow the harness 02-DOCS convention (brand study = wiki articles under `02-DOCS\u002Fwiki\u002Fbrand\u002F`, raw inputs under `02-DOCS\u002Fraw\u002Fbrand\u002F`, linked from root `CLAUDE.md`):\n\n1. **Locate the brand study.** Read the project root `CLAUDE.md` and look for a `## Brand & voice` section pointing into `02-DOCS\u002Fwiki\u002Fbrand\u002F...`. If present, read those articles.\n2. **If the link is MISSING, or the brand study is ABSENT or INCOMPLETE** (any checklist dimension empty), STOP. Do not design yet. Ask the user the targeted question script — **ONE focused batch at a time**, not a wall of questions — until every dimension in the completeness checklist is filled (→ `references\u002Fbrand-grounding.md`). Write\u002Fupdate the brand study into `02-DOCS\u002Fwiki\u002Fbrand\u002F` (and paste any raw inputs the user gives — screenshots, existing palettes, competitor lists — into `02-DOCS\u002Fraw\u002Fbrand\u002F`), following the wiki article format, update `wiki\u002Findex.md` + `wiki\u002Flog.md`, and add\u002Fupdate a `## Brand & voice` section in the root `CLAUDE.md` linking to it (create `CLAUDE.md` if absent).\n3. **Only once the brand study exists and is sufficient, proceed** — and cite which brand articles drove which decisions in your output (e.g. \"palette from `02-DOCS\u002Fwiki\u002Fbrand\u002Fvisual-identity.md`\").\n\nThe completeness checklist spans visual identity (OKLCH color system, type pairing & scale, logo, imagery\u002Fillustration mood, density, radius\u002Fshadow\u002Fmotion personality), reference\u002Finspiration sites the user loves, layout preferences, dark-mode stance, accessibility & performance constraints, and brand voice\u002Fpositioning (so copy and design agree). Full checklist + exact question script → `references\u002Fbrand-grounding.md`.\n\n**When a dimension has no answer** — the non-technical default, and the reason this gate used to be impassable: do not invent one and do not wave the STOP through. `references\u002Fstarting-point.md` is how a starting point gets proposed instead: what the project already owns is checked first, the value comes from a reference you opened and measured, and it is written marked `propuesto` — which does **not** count as complete until the user confirms it.\n\nThe order is: **brand grounding → trend research → build.**\n\n## Pick a direction first\n\nFill the direction brief before you write a single line of markup:\n\n```text\nDIRECTION BRIEF (fill before coding)\n1. Purpose .......... what job does this interface do, in one sentence?\n2. Audience ......... who repeats this workflow; what do they scan first?\n3. Tone ............. pick: utilitarian | editorial | playful | industrial | refined | technical | minimal | dense | calm\n4. Memorable detail . the ONE idea that makes it feel intentional (not a gradient)\n5. Constraints ...... framework, a11y, perf budget, existing design system\u002Ftokens\n```\n\nThen map the project type to composition, density, and motion budget. Density and composition follow the audience and the job, not a template — a SaaS operations tool should be dense, quiet, and scannable.\n\n| Project type | Composition | Density | Motion budget |\n| --- | --- | --- | --- |\n| SaaS marketing | Full landing stack, hero→CTA | Generous | Tasteful reveals, hover affordances |\n| Dev tool | Show the product\u002FCLI first, then proof | Medium | Subtle, fast (≤200ms) |\n| Dashboard \u002F internal tool | Data-first, no hero | Dense, scannable | State-only (loading, success) |\n| Portfolio \u002F editorial | Expressive, asymmetric | Airy | Expressive but reduced-motion-safe |\n| E-commerce | Product grid, fast PDP | Medium | Micro-interactions on add-to-cart |\n| Docs | Sidebar + reading column | Calm, 65ch measure | Near-zero |\n\n## Research-first protocol\n\nTrends churn quarterly and your built-in aesthetic prior is the median of every AI template ever scraped. Never prescribe from stale memory; counter it with a loop:\n\n1. Define 2–3 reference archetypes from the DIRECTION BRIEF (e.g. \"Linear-grade dev tool, dark, type-led\").\n2. Browse the dated registry in `references\u002Finspiration-sources.md` — whole pages to beat, SaaS and conversion surfaces, real product flows (Mobbin, Page Flows), single patterns, and the design systems that are specification rather than inspiration — plus the tier-1 sites (Linear, Stripe, Vercel, Cursor, Resend). Every entry there carries a verification date; `godly.website` now redirects to `recent.design`, which is exactly why the list is dated and not inline.\n3. WebFetch 3–5 exemplars, prompting each for type, color, layout, motion, and copy voice — concrete details, not adjectives.\n4. Extract a pattern table from what they share and where they differ.\n5. Synthesize a one-paragraph DESIGN DIRECTION with citations (which URL contributed what).\n6. Only THEN build; re-check the result against the references in QA.\n\nRe-research per project — trends churn, competitors moved, and the domain dictates the reference set. Whenever the brand study lacks aesthetic direction or the user asks for \"modern\" \u002F \"2026\" \u002F \"premium\", run this loop, fold the findings into the output **with citations + dates**, and refresh `references\u002Ftrends-2026.md`. Full loop, source map, and synthesis template → `references\u002Fresearch-method.md`. Current snapshot (dated, cited) → `references\u002Ftrends-2026.md`.\n\n## From competent to premium (the part that earns the score)\n\nObeying every constraint gets you to *competent* — a page that ships and passes review. It does NOT get you to premium, because every constraint catches an *absence* (no missing `\u003Ch1>`, contrast passes), while premium is a *presence*: a point of view. Competent-but-generic is the default failure mode of under-specified design output. Close it with four deliberate moves, in order, before and during the build:\n\n1. **Choose a visual concept.** One sentence the whole page answers to — `[feeling] + [structural metaphor] for [audience doing job]` (e.g. \"quiet instrument-panel precision for ops engineers\"). Drawn from the brand study + research exemplars, never your prior. If you cannot name what makes this surface different from the median SaaS page, you have no concept yet, and the output will default to generic.\n2. **Manufacture the ONE signature element** the brief asks for — the thing you'd describe first to a friend. Pick exactly one from a real vocabulary, biased by domain: a hero that *demonstrates not describes* (live terminal \u002F real chart \u002F actual diff), an owned type moment, a structural signature (asymmetric split, horizontal feature rail, editorial index), a material signature (hairline grid, one grain pass, duotone), a motion signature, or a real-number\u002Fproof signature. Never default to \"a gradient\". It must be true to the product, and cite the research exemplar that inspired it.\n3. **Force scale contrast.** Generic pages are tonally flat — headline, titles, body all within ~1.5×. Make the hero dominant **3–5× the body**, demote eyebrows\u002Flabels\u002Fmetadata smaller and quieter than feels comfortable, and allow **one focal point per viewport**. If a section feels flat, add contrast, not elements.\n4. **Give the page rhythm.** Ten identical `py-24` white card-grid sections read as one stripe. Vary format (full-bleed vs. contained, alternate media sides), background (a dark section between light ones anchors a CTA), density (a breathing statement after a dense grid), and container idiom (not everything is a bordered card). Inter-section gap > intra-section gap, padding stepping on the scale.\n\nThen, **before claiming done, run the senior-designer crit** and make at least one concrete change as a result: What is the one idea here (name it in a sentence)? Would this place on Awwwards\u002FGodly or just pass review? What is the single most generic element right now — and replace it. Where does the eye land first, and is that what should win? If the logo were removed, would anyone know whose product this is? Does every section earn its place, or is one there out of habit (cut it)?\n\nConcept formula, signature vocabulary, scale\u002Frhythm rules, the crit, and a worked generic→signature dev-tool hero → `references\u002Fsignature-and-craft.md`.\n\n## Visual system in 90 seconds\n\nCopy-pasteable foundation. Tokens once, consume everywhere — design tokens, never magic numbers.\n\n- Tailwind v4 `@theme` block (OKLCH): tokens become CSS vars and utilities automatically — no `tailwind.config.js`.\n- Type scale via `next\u002Ffont` (one display + one text face) plus a fluid `clamp()` ladder.\n- Spacing, radius, and shadow are tokens too, never inline numbers.\n- The rule: arbitrary hex + random px = Bad; token references = Good.\n\n```css\n\u002F* Good — Tailwind v4 @theme: OKLCH palette, tokens become CSS vars + utilities *\u002F\n@import \"tailwindcss\";\n@theme {\n  --color-bg:        oklch(0.99 0 0);\n  --color-fg:        oklch(0.21 0.01 256);\n  --color-muted:     oklch(0.55 0.01 256);\n  --color-brand-500: oklch(0.62 0.19 256);\n  --color-brand-600: oklch(0.55 0.19 256);\n  --font-display:    \"Geist\", ui-sans-serif, system-ui, sans-serif;\n  --font-text:       \"Inter\", ui-sans-serif, system-ui, sans-serif;\n  --radius-card:     0.875rem;\n  --shadow-card:     0 1px 2px oklch(0 0 0 \u002F 0.06), 0 8px 24px oklch(0 0 0 \u002F 0.08);\n  --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);\n}\n```\n\n```html\n\u003C!-- Bad — magic hex + arbitrary px, no system -->\n\u003Cdiv style=\"background:#5b54ff;border-radius:13px;padding:17px\">…\u003C\u002Fdiv>\n\u003C!-- Good — token-driven utilities -->\n\u003Cdiv class=\"bg-brand-500 rounded-card p-4\">…\u003C\u002Fdiv>\n```\n\nFull token system, type scale, OKLCH ramp, bento, glass → `references\u002Fvisual-system.md`.\n\n## Landing page build recipe (\"the brutal landing\")\n\nEach section has ONE job. Cut any section that has none.\n\n1. **Hero** — state the value prop; pass the 5s test.\n2. **Social-proof strip** — borrow credibility immediately (logos, a hard metric).\n3. **Problem \u002F agitation** — name the pain in the reader's words.\n4. **Solution** — show the product doing the job.\n5. **Features → benefits (bento)** — translate each capability into an outcome.\n6. **Objection handling** — preempt the top reason they won't buy.\n7. **Pricing** — anchor, highlight one tier, default to annual.\n8. **FAQ** — answer the real blockers, not filler.\n9. **Final CTA** — one clear action, value on the button.\n10. **Footer** — navigation, legal, trust signals.\n\n```tsx\n\u002F\u002F app\u002Fpage.tsx — Server Component, LCP-safe hero (Next.js 15 \u002F React 19)\nimport Image from \"next\u002Fimage\";\n\nexport default function Page() {\n  return (\n    \u003Cmain>\n      \u003Csection className=\"mx-auto max-w-5xl px-6 pt-24 text-center\">\n        \u003Ch1 className=\"text-balance text-5xl font-semibold tracking-tight md:text-6xl\">\n          Ship the change in an afternoon, not a sprint\n        \u003C\u002Fh1>\n        \u003Cp className=\"mx-auto mt-5 max-w-xl text-pretty text-lg text-fg\u002F70\">\n          Concrete benefit, who it is for, and why now — no hype.\n        \u003C\u002Fp>\n        \u003Ca\n          href=\"#start\"\n          className=\"mt-8 inline-flex min-h-11 items-center rounded-card bg-brand-500 px-6 font-medium text-white transition-colors hover:bg-brand-600\"\n        >\n          Start free\n        \u003C\u002Fa>\n        \u003CImage\n          src=\"\u002Fhero.avif\"\n          alt=\"Product dashboard showing a one-click deploy\"\n          width={1200}\n          height={720}\n          priority\n          className=\"mt-16 rounded-card shadow-card\"\n        \u002F>\n      \u003C\u002Fsection>\n    \u003C\u002Fmain>\n  );\n}\n```\n\nFull section-by-section anatomy, CTA cadence, pricing psychology, JSON-LD → `references\u002Flanding-anatomy-and-cro.md`.\n\n## Conversion copy in one pass\n\nCopy is benefit-led and specific, or the page has no value prop. One `\u003Ch1>` per page; semantic landmarks (`header`\u002F`nav`\u002F`main`\u002F`section`\u002F`footer`).\n\n- The 5s value-prop test: a stranger reads the hero and can say what it is, who it's for, why it's better — legible above the fold in 5 seconds.\n- Headline formula slots: outcome + timeframe; \"X without Y\"; the job-to-be-done.\n- Framework picker: PAS for pain-aware cold traffic; AIDA for broad \u002F top-of-funnel; FAB\u002FJTBD for feature → benefit translation.\n- CTA: put the value on the button (\"Start free\", \"Get my estimate\"), never \"Submit\".\n\n```text\nBad  — \"Revolutionize your workflow with our seamless platform\"\nGood — \"Deploy a fix in 4 minutes — no YAML, no on-call page\"\n```\n\nBan: `revolutionary` · `game-changer` · `cutting-edge` · \"In today's landscape\" · `unlock` · `seamless` · `elevate` · `supercharge` · bait questions · \"not X, just Y\" · forced lowercase · \"Excited to share\".\n\nFrameworks, value-prop canvas, Bad→Good rewrites, VOICE block → `references\u002Fcopywriting-frameworks.md`.\n\n## Motion & interaction budget\n\n- Purposeful-only: motion must guide attention, communicate state, or preserve continuity — else delete it.\n- Timing defaults: enter 200–350ms, exit ~150ms, press `scale(0.97)`.\n- Never `transition: all` — it animates layout props and janks.\n- Compositor-only properties: `transform`, `opacity`, `filter`.\n- `prefers-reduced-motion` is required, not optional.\n- Scroll-driven via native CSS `animation-timeline: view()` FIRST (no JS, no CLS) before any JS library.\n\n```css\n\u002F* Good — native scroll-driven reveal, zero JS, explicit @supports fallback *\u002F\n.reveal { opacity: 1; } \u002F* default visible: no scroll-timeline support => never hidden *\u002F\n@supports (animation-timeline: view()) {\n  @media (prefers-reduced-motion: no-preference) {\n    .reveal {\n      animation: reveal linear both;\n      animation-timeline: view();\n      animation-range: entry 0% cover 30%;\n    }\n  }\n}\n@keyframes reveal {\n  from { opacity: 0; translate: 0 16px; }\n  to   { opacity: 1; translate: 0 0; }\n}\n```\n\nTiming tokens, micro-interactions, scroll\u002Fparallax, when to escalate to motion\u002Freact → `references\u002Fmotion-and-interaction.md`.\n\n## Premium details that compound\n\nSmall things, applied consistently, are what reads as \"designed\".\n\n| Detail | Bad | Good |\n| --- | --- | --- |\n| Nested radius | Same radius parent + child | `outer = inner + padding` (concentric) |\n| Shadows | One hard `0 4px 8px #000` | Layered transparent OKLCH shadows |\n| Separation | Heavy drop shadow everywhere | Hairline 1px border first, shadow only for lift |\n| Headings | Ragged wrap | `text-wrap: balance` |\n| Body \u002F captions | Orphan last word | `text-wrap: pretty` |\n| Numbers\u002Fprices | Width jitters | `font-variant-numeric: tabular-nums` |\n| Images | Edge blurs into bg | 1px neutral `outline`, `outline-offset: -1px` |\n| Glass | `backdrop-blur` on everything | Blur + 1px hairline + subtle noise, sparingly |\n\n```css\nhtml { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }\nimg  { outline: 1px solid oklch(0 0 0 \u002F 0.1); outline-offset: -1px; }\n.price { font-variant-numeric: tabular-nums; }\n```\n\nDepth recipes, glass, noise, concentric math → `references\u002Fvisual-system.md`.\n\n## The three locks, and who checks them\n\nA long page generated in passes drifts against itself. Three things must be **one** thing for\nthe whole page, and they are not preferences — a page that breaks one of them is defective:\n\n1. **Theme lock.** One theme for the page (light, dark, or auto). No section flipping to\n   inverted halfway down because it looked good alone.\n2. **Accent lock.** One accent, used identically in every section. **This one is judgement**:\n   deciding which token is the accent needs to read the system's intent, so no script claims\n   to check it — you do, before you claim done.\n3. **Radius lock.** One radius system. Four different `rounded-*` scales in one tree means\n   there is no system, and `scripts\u002Fverify.sh` counts them.\n\n## The tells the script owns, and the ones you own\n\n`scripts\u002Fverify.sh` carries a **registry of mechanical tells** and reports each with file and\nline: dashes in rendered copy, scroll cues, numbered eyebrows, build stamps on marketing\npages, unstable viewport heights, middot chains, hype words, plus counted ratios (eyebrows\nagainst sections, double-bordered rows, radius scales). Run it; do not re-derive that list\nfrom memory, and do not treat its silence as a design review.\n\nWhat it cannot see is the other half: fabricated substance (a product UI built from divs,\ninvented photo credits, the Jane Doe cast), decoration posing as information, labels that say\nnothing, and composition habits like three identical feature cards. That half is\n`references\u002Fai-tells.md`, and it is read with your eyes on the page.\n\nWhen the brief corresponds to an official, maintained design system rather than an aesthetic —\nUK or US public sector, Shopify admin, Carbon, Atlassian, Primer, Fluent — install the\nofficial package instead of approximating it: `references\u002Fdesign-systems.md`.\n\n## Anti-patterns\n\n| Rationalization | Reality \u002F Fix |\n| --- | --- |\n| \"Purple→blue gradient on everything looks modern\" | It reads AI-generic. Pick a domain-true palette; gradients are seasoning. |\n| \"Centered text over an atmospheric gradient is a hero\" | Show the product. Vague hero fails the 5s test. |\n| \"Cards inside cards add structure\" | They add noise. Flatten; use spacing + one border. |\n| \"I know good design, I'll skip research\" | Taste ≠ current trend. Re-research every project. |\n| \"The image sells it, copy can be vague\" | Copy carries the value prop. Pass the 5s test. |\n| \"Animate everything on scroll\" | CLS + INP cost. Reveal sparingly, transform\u002Fopacity only. |\n| \"Ship now, check contrast later\" | Contrast is a constraint, not polish. 4.5:1 or it ships broken. |\n| \"Glass everywhere looks premium\" | Glass on everything looks cheap. Reserve for floating surfaces. |\n| \"`transition: all` is convenient\" | It animates layout props → jank. List exact properties. |\n\n## Quick reference\n\nAccessibility and Core Web Vitals are **design constraints, not post-launch tuning** — violating one is a defect, not a style choice. **WCAG 2.2 AA:** 4.5:1 text contrast (3:1 large text \u002F UI), visible focus, `prefers-reduced-motion` honored. Target size: 24×24px is the AA floor (SC 2.5.8 Target Size (Minimum)); 44×44px is the recommended quality bar (Apple HIG \u002F pointer comfort) — aim for 44, never ship below 24. **Core Web Vitals:** LCP \u003C 2.5s, INP \u003C 200ms, CLS \u003C 0.1. (INP replaced FID in March 2024 — measure INP.)\n\n| Lever | Default | Token \u002F where |\n| --- | --- | --- |\n| Type scale ratio | 1.25 | modular scale |\n| Body size | 16–18px | `--font-text` |\n| Line-height | 1.5 body \u002F 1.1 display | per element |\n| Spacing base | 4 \u002F 8px | Tailwind spacing |\n| Color allocation | 60-30-10 | bg \u002F fg \u002F brand |\n| Text contrast | ≥ 4.5:1 (3:1 large) | verify with checker |\n| Card radius | 0.875rem | `--radius-card` |\n| Touch target | 44×44px recommended; 24×24px AA floor (SC 2.5.8) | `min-h-11` |\n| Enter \u002F exit motion | 250ms \u002F 150ms | `--ease-out` |\n| LCP | \u003C 2.5s | `next\u002Fimage priority` |\n| INP | \u003C 200ms | compositor-only motion |\n| CLS | \u003C 0.1 | reserved space, `next\u002Ffont` |\n| Hero | passes 5s test | value prop above fold |\n\n## Design-review QA checklist\n\nRun before claiming done. Same checks `scripts\u002Fverify.sh` falls back to.\n\n- [ ] Value prop legible in 5 seconds above the fold.\n- [ ] Text contrast ≥ 4.5:1 (3:1 for large text \u002F UI).\n- [ ] Visible focus state on all interactive elements.\n- [ ] Touch targets 44×44px (recommended); never below the 24×24px WCAG 2.2 AA floor (SC 2.5.8).\n- [ ] `prefers-reduced-motion` honored.\n- [ ] Exactly one `\u003Ch1>` on the page.\n- [ ] Semantic landmarks present (`header`\u002F`nav`\u002F`main`\u002F`section`\u002F`footer`).\n- [ ] LCP image has `priority`.\n- [ ] Fonts use `next\u002Ffont` (no CLS \u002F FOUT swap shift).\n- [ ] No `transition: all` \u002F `transition-all`.\n- [ ] Tokens used (no magic hex \u002F px).\n- [ ] Ban-list words absent from copy.\n- [ ] Text fits at 360px and desktop without overflow.\n- [ ] Empty \u002F loading \u002F hover \u002F error states designed.\n\nAutomate → `scripts\u002Fverify.sh` (runs Lighthouse if a dev server is up, else static grep checks + this list).\n\n### Optional: graded visual-audit rubric (0–10)\n\nThe checklist above is pass\u002Ffail. When the user asks for a *design review*, a *critique*, or a quality grade — or when you want to argue a surface is genuinely premium rather than merely compliant — score these 11 dimensions 0–10 and report the weighted total. Pass\u002Ffail tells you it ships; the rubric tells you how good it is.\n\n| # | Dimension | What a 10 looks like | Weight |\n| --- | --- | --- | --- |\n| 1 | First impression & value clarity | Passes the 5s test instantly; product shown, not a gradient | 1.5 |\n| 2 | Concept & signature | A nameable visual concept; one distinctive, domain-true signature element; logo-removed it's still recognizably this product, not a template | 1.5 |\n| 3 | Typographic craft | Modular scale, ≤2 families, balanced headings, 45–75ch measure, tabular numerals; deliberate 3–5× scale contrast | 1.0 |\n| 4 | Color & contrast | Disciplined 60-30-10 OKLCH system, all text ≥ 4.5:1, dark mode via token swap | 1.0 |\n| 5 | Layout, spacing & rhythm | Consistent 4\u002F8px scale, intentional asymmetry\u002Fbento, clear focal point; sections vary in format\u002Fbackground\u002Fdensity, not one repeated stripe | 1.0 |\n| 6 | Hierarchy & scannability | Eye lands in the right order; one primary action per viewport | 1.0 |\n| 7 | Depth & detail polish | Concentric radius, layered shadows, hairline borders, restrained glass | 1.0 |\n| 8 | Motion quality | Purposeful only, compositor-only props, reduced-motion + `@supports` guards | 1.0 |\n| 9 | Accessibility | Landmarks, one `\u003Ch1>`, visible focus, 24px+ targets (44 ideal), no motion-only meaning | 1.0 |\n| 10 | Performance (CWV) | LCP \u003C 2.5s, INP \u003C 200ms, CLS \u003C 0.1; LCP image `priority`, `next\u002Ffont` | 1.0 |\n| 11 | Copy & brand fidelity | Benefit-led, specific, ban-list clean, voice matches the `02-DOCS\u002Fwiki\u002Fbrand\u002F` study | 0.5 |\n\nScore = Σ(dimension × weight), max 115 (normalize to \u002F100 by ×100\u002F115 if you want a percentage). **Bands (on the \u002F115 raw total):** \u003C 69 ships generic — redo; 69–91 competent but improvable — name the lowest two and fix; 92–108 premium; 109+ award-tier. (These are the prior 60\u002F80\u002F95-per-100 cutoffs rescaled to 115.) A surface that scores well on every constraint dimension but low on #1–2 is the classic \"competent but generic\" result — fix concept and signature first, it has the most leverage. For each dimension below 8, give one concrete, actionable fix (not \"improve spacing\" but \"section padding jumps 48→96px with no 64px step — add `py-16` on mobile\"). Cite the brand article or trend source that sets the bar where relevant.\n\n## Recording the decisions (02-DOCS)\n\nTwo records, both indexed in `02-DOCS\u002Fwiki\u002Findex.md` (the Knowledge map; root `CLAUDE.md` keeps only a short pointer to it), both read first on every use so outputs stay consistent with them:\n\n- The **brand study** at `02-DOCS\u002Fwiki\u002Fbrand\u002F` — the hard gate above: missing or incomplete → ask until complete before designing.\n- The **design-system decisions** at `02-DOCS\u002Fwiki\u002Fstack\u002Fdesign.md` — the chosen tokens (color\u002FOKLCH, type scale, spacing, radius, shadow, motion), the 2026 direction picked, and the reference sites. Recorded, not gated; create\u002Fupdate it as decisions are made. **Read it before fixing type and palette on a new surface**, and either reuse what is there or state why you are departing — otherwise every surface of the project drifts into a different design. (Across *different* projects this record cannot help: it lives inside each one. Distrusting your own second default is the only guard there — see the repetition note in `references\u002Fai-tells.md`.)\n\nThe wiki article protocol both follow is `..\u002Fharness\u002FSKILL.md`'s.\n",{"name":5,"tags":24,"origin":29,"profiles":30,"recommends":32,"description":7},[5,25,26,27,28],"ux","ui","landing","conversion","risco",[31],"full",[33,34,35,36],"design-loop","design-dna","nextjs","marketing","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","06-前端与设计\u002Fdesign",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill design",{"tool":51,"command":52},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill design",{"tool":54,"command":55},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002FSKILL.md",true,[59,65,69,73,77,81,85,89,93,97,101,105,109,113],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"evals\u002Fcases.yaml","REFERENCE","参考文档",6107,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Fevals\u002Fcases.yaml",{"path":66,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":67,"sourceHtmlUrl":68},"evals\u002FREADME.md",2987,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Fevals\u002FREADME.md",{"path":70,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fai-tells.md",4532,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fai-tells.md",{"path":74,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fbrand-grounding.md",13057,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fbrand-grounding.md",{"path":78,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fcopywriting-frameworks.md",7054,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fcopywriting-frameworks.md",{"path":82,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fdesign-systems.md",3485,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fdesign-systems.md",{"path":86,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Finspiration-sources.md",6301,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Finspiration-sources.md",{"path":90,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Flanding-anatomy-and-cro.md",9340,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Flanding-anatomy-and-cro.md",{"path":94,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fmotion-and-interaction.md",10898,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fmotion-and-interaction.md",{"path":98,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fresearch-method.md",9935,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fresearch-method.md",{"path":102,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fsignature-and-craft.md",10552,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fsignature-and-craft.md",{"path":106,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Fstarting-point.md",5307,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fstarting-point.md",{"path":110,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":111,"sourceHtmlUrl":112},"references\u002Ftrends-2026.md",7069,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Ftrends-2026.md",{"path":114,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":115,"sourceHtmlUrl":116},"references\u002Fvisual-system.md",11163,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F06-前端与设计\u002Fdesign\u002Freferences\u002Fvisual-system.md",[118,125,130,137,144,151],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":126,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":145,"name":146,"nameZh":6,"description":147,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":148,"categories":149,"keywords":150,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]