[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FNKQXTT1R4JEPR80AESBXA":3,"skill-same:01M6FNKQXTT1R4JEPR80AESBXA":126},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6FNKQXTT1R4JEPR80AESBXA","frontend-design",null,"Create, prototype, redesign, audit, or optimize production-grade interfaces across websites, responsive\u002Fmobile web, iOS\u002FiPadOS\u002FmacOS, Android, Windows, Electron\u002FTauri, Flutter\u002FReact Native, and other local\u002Fnative apps — UI\u002FUX, visual polish, named or tunable themes and design variants, components, interaction and motion, design systems, and decks, including requests such as 设计页面、优化网页\u002F界面\u002FUI、设计主题\u002F视觉风格\u002F界面版本. Runs a platform-aware benchmark, design-direction profiles, an optional preview checkpoint, implementation, accessibility checks, and rendered\u002Flive verification.","shenxingy\u002FClade","shenxingy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89829751?v=4","01M6CQXHTV3WQZJMG0JXD93MEK","Xingyu (Alex) Shen","01M6CQXHYCTGPJ5HD8Z7MD4Q5P",10,"MIT","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"design","frontend design","frontend","variants","design variants","direction","themes","interaction","apps","live","responsive","local","mobile","react native","redesign","polish","ui","design systems","create","react","components","macos","2026-11-10 10:12:30",false,"---\nname: frontend-design\ndescription: \"Create, prototype, redesign, audit, or optimize production-grade interfaces across websites, responsive\u002Fmobile web, iOS\u002FiPadOS\u002FmacOS, Android, Windows, Electron\u002FTauri, Flutter\u002FReact Native, and other local\u002Fnative apps — UI\u002FUX, visual polish, named or tunable themes and design variants, components, interaction and motion, design systems, and decks, including requests such as 设计页面、优化网页\u002F界面\u002FUI、设计主题\u002F视觉风格\u002F界面版本. Runs a platform-aware benchmark, design-direction profiles, an optional preview checkpoint, implementation, accessibility checks, and rendered\u002Flive verification.\"\n---\n\n# Clade for Codex\n\nThis workflow runs **directly in Codex**. Do not launch the `claude` CLI or\ndelegate the workflow to Clade's MCP bridge.\n\nCodex compatibility rules:\n\n- Plugin skills are namespaced. Invoke this workflow explicitly as\n  `$clade:frontend-design`; a bare `$name` does not select the installed Clade plugin.\n- Read the nearest `AGENTS.md` files for repository instructions. If a project\n  has only `CLAUDE.md`, treat it as legacy project guidance and read it too.\n- Store new Clade working state under `.clade\u002F` (or `~\u002F.clade\u002F` for personal\n  state). Existing legacy Claude state may be read for migration, but do not\n  create new vendor-specific state.\n- A `\u002Fskill-name` reference means the corresponding Codex\n  `$clade:skill-name` plugin skill, or the same workflow invoked naturally when\n  explicit skill invocation is not available.\n- Use Codex web, file, shell, image, and subagent capabilities when the source\n  workflow names a vendor-specific tool. If a capability is unavailable, use\n  the documented fallback instead of spawning another agent CLI.\n- Paths such as `\u003Cplugin-root>\u002F...` are relative to the installed Clade plugin\n  containing this `SKILL.md`; resolve that root before invoking a helper.\n\n## Canonical Clade workflow\n\n# Interface Design Pipeline\n\nCreate, prototype, redesign, audit, or optimize production-grade interfaces\nacross web, mobile, desktop, and native application surfaces. Preserve the\nhistorical `frontend-design` entry point, but do not treat every interface as a\nwebsite.\n\nUse evidence to decide what is best for this product. Awards reveal expressive\npossibilities; platform guidance defines learned behavior; task tests and\nproduction outcomes decide whether the result is actually better.\n\n## Operating contract\n\nBefore making visual choices:\n\n1. Read `references\u002Fui-ux-benchmark.md` completely.\n2. Classify the platform from the request and repository. If unclear, run\n   `python3 \u003Cskill-root>\u002Fscripts\u002Fdetect_interface_platform.py \u003Cproject-root>`.\n   Treat its result as evidence, not authority; user intent and shipped targets\n   win. Ask only when the unresolved platform would materially change the work.\n3. Read the matching platform reference completely:\n   - browser, responsive web, or PWA: `references\u002Fplatform-web.md`\n   - iOS, iPadOS, macOS, UIKit, SwiftUI, or AppKit:\n     `references\u002Fplatform-apple.md`\n   - Windows, WinUI, WPF, or Windows App SDK:\n     `references\u002Fplatform-windows.md`\n   - Android, Material, Views, or Jetpack Compose:\n     `references\u002Fplatform-android.md`\n   - Electron, Tauri, Flutter, React Native, or another shared-code shell:\n     `references\u002Fplatform-cross-platform.md`, plus every actual target platform\n     reference that affects the requested work\n   - slides, decks, or other projected\u002Fpresented surfaces:\n     `references\u002Fplatform-presentation.md`\n4. Detect the design system before choosing colors, type, spacing, components,\n   or motion.\n5. Read `references\u002Fdesign-direction-profiles.md` for Standard and Full work,\n   whenever the user asks for a theme, preset, style, or alternate version, and\n   whenever the visual direction is materially undecided. A Micro change under\n   an established system may reuse the existing direction and mark this `N\u002FA`.\n6. Read `references\u002Fdesign-rules.md` — the checkable floor: the spacing grid,\n   the type-scale caps, the motion duration table, the state list, the review\n   widths, and the copy ban. Every rule there is phrased so `design-lint`, a\n   screenshot, or a grep can check it; \"premium, modern, polished\" is not a\n   brief, and that file is what the brief decomposes into. A Micro change\n   applies the sections the touched component reaches.\n7. Read `references\u002Fsignature-motion.md` when the ask names a hero animation,\n   a scroll-driven or \"Apple-style\" product story, a 3D showcase, kinetic\n   typography or a motion identity (眼前一亮 \u002F 主视觉动效 \u002F 滚动驱动动画), or\n   whenever the profile sets `motion` to 4–5 or names a `signature`. It carries\n   the vocabulary, the two archetypes with their timing budgets, the four\n   implementation routes and when each fits, the semantic-motion rule, and the\n   storyboard that must exist before any code.\n\nFor a mixed-platform product, share product logic, content, and brand tokens,\nthen translate platform contracts separately. Do not average incompatible\nplatform conventions into one lowest-common-denominator UI.\n\n## Scope lane\n\nRun every phase below for every UI task, but scale the evidence and artifacts to\nthe decision risk:\n\n- **Micro** — a local, reversible component or style correction. Reuse existing\n  product evidence; compare the platform rule and one relevant in-product or\n  external pattern. Do not manufacture a research project.\n- **Standard** — a component family, page, screen, or user flow. Use the official\n  platform source, two direct-product flows where available, one mature design\n  system, and one known failure\u002Fcounterexample.\n- **Full** — a new product, major redesign, unfamiliar interaction, or\n  cross-platform system. Use the complete benchmark set: official platform,\n  two direct competitors, an awarded reference, a mature design system, and a\n  counterexample. Capture complete flows rather than hero screenshots.\n\nState the lane and rationale. A skipped phase is not invisible: mark it `N\u002FA`\nwith a concrete reason.\n\n## Review-only requests\n\nWhen the ask is to review, audit, or 挑毛病 an existing surface rather than to\nbuild one, run phase 1 (baseline captures) and phase 6 (the review in\n`references\u002Fdesign-review.md`) and skip the rest with `N\u002FA`. Deliver findings\nby P0–P3 severity, each with the rule it breaks and the fix; then apply the\nfixes unless the user asked for a report only. No adjectives — \"modern, clean,\nprofessional\" is not a finding.\n\n## Seven-phase pipeline\n\n### 1. Lock the problem\n\nIdentify the target users, target platform(s), and three most important tasks.\nClassify the request as greenfield design, optimization, or implementation of an\napproved spec. Record technical constraints, input modes, accessibility needs,\nlocales, performance budget, and the desired outcome.\n\nDraft the one-line `Design Read` and a `clade.design-direction\u002Fv1` profile from\n`references\u002Fdesign-direction-profiles.md`. Treat both as hypotheses until the\nbenchmark confirms them. For redesigns, choose `preserve`, `evolve`, or\n`reframe` explicitly; never smuggle a reframe into a request for polish.\n\nFor greenfield and reframe work, also write the **Style DNA** — six lines,\neach concrete enough to grep or screenshot against:\n\n```text\nPersonality:       three adjectives — precise, trustworthy, calm (not cold)\nMust not read as:  the AI SaaS template; purple gradients; glassmorphism;\n                   floating orbs; every block in a rounded card\nSignature marks:   3–5 repeated features — large condensed headlines; mono for\n                   data and status; hairline borders on a visible grid; one\n                   green for action and success; panels slide 8 px on open\nDensity:           marketing surfaces loose, working surfaces compact\nRadius:            container 8 \u002F button 6 \u002F tag 999 — not every element a pill\nShadow:            only on what floats; cards separate by border, ground, space\n```\n\n\"Premium, modern, techy\" is not a DNA. \"Techy\" has to say which typeface,\nradius, border, colour, motion and density. Reference products are allowed only\nas split borrowings — A's density, B's type register, C's motion speed — never\none product's page structure. Style comes from repeated choices, not from\npersonality on all five axes (type, colour, geometry, imagery, motion) at\nonce: pick one or two as the identity and keep the rest quiet.\n\nFor optimization, establish the baseline before editing: capture the current\nrendered surface and important flows, list observed failures, and tie each\nproposed change to task success, error recovery, comprehension, accessibility,\nor a product metric. Do not translate personal taste into an unqualified\n\"improvement.\"\n\n### 2. Build the benchmark\n\nUse the evidence ladder and reference-set rules in\n`references\u002Fui-ux-benchmark.md`. Inspect complete states and flows: loading,\nempty, error, permission, offline, undo, keyboard, touch, and destructive paths\nwhere relevant. Separate observations from hypotheses.\n\nProduce a compact benchmark brief containing:\n\n- the reusable pattern and why it fits this task;\n- the platform behavior that must remain native;\n- the product behavior worth inventing;\n- the brand expression worth making distinctive;\n- rejected patterns and why they fail here.\n\nConfirm or revise the Design Read and profile after reviewing the evidence.\n\n### 3. Define behavior before decoration\n\nSpecify information hierarchy, navigation, content, and the shortest coherent\ntask path. For each interactive component, consider:\n\n- rest, hover where available, keyboard focus, pressed, selected, disabled, and\n  loading;\n- success, empty, error, permission, offline, undo, and recovery states at the\n  flow level;\n- mouse\u002Ftrackpad, keyboard, touch, stylus, assistive technology, and remote\u002Fgame\n  controller inputs only where the target platform supports them;\n- localization expansion, dynamic type\u002Ffont scaling, dark\u002Fhigh-contrast modes,\n  and reduced motion.\n\nHover must never carry required information. Cursor changes must follow\nplatform and component semantics, not fashion. Motion must perform at least one\njob: confirm feedback, explain spatial relationship, preserve continuity, guide\nattention, or express progress. If removing an animation does not make the\nchange harder to understand, omit it.\n\n### 4. Choose the visual checkpoint\n\n**Brand surfaces first**: if this is a brand's own site or landing page, if\nsibling products must not look related, or if \"make it distinctive\" is part of\nthe ask, load `references\u002Fbrand-differentiation.md` and follow it before\nchoosing anything visual. It carries the standing constraints — the visual-school\npool, the four-dimension palette method, the banned default palettes and\ntypefaces, the signature-interaction rules, and the anti-laziness checklist.\nThose constraints were being hand-typed into prompts for five months while this\nskill did not contain them; the one thing not to do is design from taste and\nthen check the file afterwards.\n\nDecide whether a preview reduces meaningful rework:\n\n| Situation | Default checkpoint |\n|---|---|\n| Existing runnable web\u002Fapp surface | Build in its real component preview, dev route, story, or sandbox |\n| New browser UI or a purely visual concept | Create a small standalone HTML\u002FCSS\u002FJS prototype with realistic content |\n| Native app with uncertain hierarchy, density, color, or type | HTML is allowed as a clearly labelled **visual hypothesis only** |\n| Native interaction, window, menu, focus, touch, pointer, haptic, or accessibility behavior | Use SwiftUI\u002FCompose\u002FWinUI\u002FXAML or the platform's real preview\u002Fsimulator |\n| Small reversible change under an established system | Implement directly and inspect the rendered result |\n| Signature motion — hero intro, scroll-driven product story, 3D showcase | The storyboard table from `references\u002Fsignature-motion.md` §6 first, then a rendered checkpoint of the signature moment alone before the full build |\n\n**Three materially different directions before one is chosen** — Full-lane\ngreenfield or reframe only. Each direction is a Style DNA card with a different\nschool, type strategy, geometry, density and motion character, plus why it fits\nthis product and what could go wrong with it. Three recolours of one layout are\nnot three directions. Pick one, or ask the owner to, then proceed. Under an\nestablished design system, or for Micro and Standard work, mark this `N\u002FA`.\n\n**Component lab before business pages.** Before the first real screen, build a\n`\u002Fdesign-lab` — a Storybook story, a dev route, or one standalone HTML page —\nthat shows the type scale, the palette, buttons, inputs, select, card, table,\nmodal, tooltip, tabs, toast, status tags, a chart, the empty and loading states,\nand one motion example, in every state `references\u002Fdesign-rules.md` §7 lists.\nSkip it and the first-page button, the dashboard button and the settings-page\ninput drift apart; the lab is where the token scale is proven once.\n\n**Signature motion is storyboarded before it is coded.** For a hero intro or a\nscroll-driven product story, fill the segment table in\n`references\u002Fsignature-motion.md` §6 — range, product, camera, light, copy, page\nstate per segment — choose the implementation route by the shot (frame\nsequence + canvas + ScrollTrigger by default; real-time 3D only when the user\nmust control the product), and state the budgets: intro length and its four\nbeats, idle cadence, pointer response, pinned chapter length, frame counts per\ndevice, the reduced-motion static state. The motion must show the product's\ncapability with the copy removed; \"add some cool animation\" is not a brief and\nis answered with the storyboard, not with fade-ins.\n\nOnce a direction is chosen, prefer one recommended checkpoint. Produce a second\nvariant only when a real tradeoff remains unresolved by evidence; do not\ngenerate decorative option sprawl.\n\nWhen `composition` or `motion` is 4 or 5, require a rendered checkpoint before\ncommitting to the direction. When comparing versions, hold content, tasks, and\nplatform behavior constant and state the exact profile delta.\n\nIf the user asked to see the direction before implementation, make the preview\nviewable, provide the local\u002Flive URL or rendered image, and stop at that\ncheckpoint for confirmation. Otherwise use the checkpoint as an internal\nreview step and continue. Never present an HTML mockup as proof of native\nbehavior.\n\n### 5. Implement in the real surface\n\nUse the existing framework, components, and repository conventions. Do not\nreplace a working stack merely to express an aesthetic. Match implementation\ncomplexity to the value of the interaction.\n\nApply this precedence order when rules conflict:\n\n1. safety, accessibility, and user data integrity;\n2. platform input, semantic, window, and navigation contracts;\n3. the project's explicit design system and shipped component library;\n4. the product's task model and content;\n5. brand expression and visual novelty;\n6. general aesthetic guidance.\n\nThis is not a choice between native and custom. Keep the platform skeleton,\ninvent the product brain, and express the brand without breaking either.\n\n**One representative page first.** Polish one representative screen to the\nDefinition of Done in `references\u002Fdesign-review.md`, then extend that language\nto the rest. Never build ten pages in one pass: the rules drift a little per\npage and the drift compounds until the pages no longer read as one product.\nTokens only — no colour, size, spacing, radius or shadow outside the scale\nwithout a written reason at the site; `design-lint source` names each one.\n\n### 6. Verify the implementation\n\nUse three evidence tiers:\n\n1. **Source\u002Fstatic** — types, lint, hard-rule grep, semantics, token usage,\n   and `design-lint source \u003Cdir>` for the spacing grid, type-scale caps, motion\n   table, token discipline and copy.\n2. **Rendered\u002Finteractive** — real viewports or native previews, screenshots,\n   focus order, keyboard\u002Ftouch\u002Fpointer behavior, state transitions, contrast,\n   text scaling, reduced motion, overflow, and realistic data.\n3. **Outcome** — representative users performing target tasks, then production\n   success, completion time, errors, abandonment, support tickets, retention,\n   conversion, and performance percentiles where applicable.\n\nRun the repository's tests and the platform checks named in the selected\nreference. For HTML\u002Fweb output, run `design-lint html \u003Cartifact>` and inspect the\nlive result at every declared viewport. A clean static check does not prove a\nrendered rule. For decks, run `design-lint deck` and, once rendered,\n`design-lint render`.\n\nThen run the review in `references\u002Fdesign-review.md`: capture the page at\n390 \u002F 768 \u002F 1280 \u002F 1440 (or the declared breakpoints), list findings by P0–P3\nwith no adjectives, fix them in code, re-capture, and repeat until no P0 or P1\nremains. Run `design-lint source` before the loop and again after; its WARN\nlines are questions the review answers with a fix or a written reason, never\nnoise. The first generated version is a structural draft — report the counts\nat the start and at the end of the loop, not \"looks good now\".\n\nDo not claim user testing, assistive-technology coverage, device coverage, or\nproduction improvement unless it actually occurred. Report an unrun tier as a\nnamed follow-up gate, not as a pass.\n\n### 7. Compare and record\n\nFor optimization, compare before and after against the same tasks and\nconstraints. Record decisions, rejected experiments, remaining uncertainty,\nand the next measurable signal. For a substantial or long-lived design, append\nthe decision to the project's design-system Decisions Log when one exists.\n\n## Design system integration\n\nUse the first design-system source found:\n\n```bash\ntest -f .design-system.md && echo \"FOUND: .design-system.md\"\ntest -f design-system\u002FSKILL.md && echo \"FOUND: design-system\u002FSKILL.md\"\ntest -f DESIGN.md && echo \"FOUND: DESIGN.md\"\n```\n\nWhen one exists:\n\n- Read it fully before visual implementation.\n- Use its defined color, typography, spacing, motion, and component tokens.\n  Treat `[placeholder]` as undefined and exercise freedom only there.\n- Import its shipped components and brand assets; never redraw a supplied logo\n  or rebuild a component primitive without a documented reason.\n- Enforce grep-able hard rules against every task-owned file. Use a rendered\n  validator for rules about contrast, size, coverage, hierarchy, or motion.\n- Verify every declared viewport and appearance mode.\n- Record significant choices and rejected experiments in its Decisions Log.\n\nWhen no design system exists, define a small constrained token scale before\ncomposing. Do not create a permanent design system unless the user asks for one\nor the implementation clearly requires reusable governance.\n\nIf asked to author a design system, ship:\n\n- `SKILL.md` no longer than 100 lines with grep-able hard rules, token summary,\n  component pointers, and a review checklist;\n- `DESIGN.md` with rationale, component\u002Fstate specifications, principle-to-\n  application statements, open tensions, and a Decisions Log;\n- paste-ready tokens, components, and brand assets;\n- a validator for every hard rule that targets rendered output.\n\n## Component and aesthetic rules\n\n- Prefer the project's component library. Use shadcn, MUI, Ant Design, Radix,\n  SwiftUI\u002FUIKit\u002FAppKit, WinUI, Compose\u002FMaterial, Flutter, or other declared\n  primitives rather than rebuilding their contracts from scratch.\n- **Define the shared control set once, before the first screen**: button\n  (every variant and size), text input and its field states, card\u002Fsurface, and\n  navigation. Each gets its spacing, radius, border, type and state values\n  written into the design-system file, and every screen reuses that definition.\n  A second button style, a card whose radius differs from the one two sections\n  up, or a nav that changes between pages is an inconsistency defect, not a\n  per-page decision. Where the chosen school makes a component shape non-default\n  (`references\u002Fbrand-differentiation.md` Step 6), state that shape once for the\n  whole set rather than per screen.\n- Prove hierarchy in grayscale through size, weight, order, and space before\n  relying on color.\n- Use constrained type, spacing, radius, elevation, color, and motion scales.\n- Choose a clear aesthetic direction appropriate to the product. Distinction\n  should come from coherent hierarchy, content, composition, data expression,\n  and a few signature moments, not effects on every control.\n- A platform\u002Fsystem font is often the correct native choice. On expressive web\n  and brand surfaces, choose typography deliberately; never reject a system\n  font merely because it is common.\n- Avoid generic AI styling: context-free purple gradients, interchangeable card\n  grids, arbitrary glass, excessive pills, decorative dashboards, fake native\n  chrome, and motion without a job.\n- Do not add custom cursors, scroll hijacking, parallax, blur, grain, or texture\n  unless they support the concept and survive platform, contrast, performance,\n  and reduced-motion checks.\n\n## Accessibility and legibility floors\n\nThese are floors, not aesthetic targets. A design system may raise but never\nlower them.\n\n- On web, meet WCAG 2.2 AA: body text at least 4.5:1; large text and meaningful\n  non-text UI at least 3:1 against the real backdrop.\n- Keep focus visible. Never remove an outline without an equally visible\n  replacement, and ensure focused content is not obscured.\n- Meet the target platform's minimum hit size; for web, never go below the WCAG\n  24x24 CSS px minimum\u002Fspacing exception and aim near 44px for primary touch\n  actions.\n- Guard or neutralize animation under reduced-motion settings.\n- On web, use real headings, links, buttons, labels, and image alternatives\n  before ARIA. On native platforms, use real accessibility roles, names,\n  values, actions, and focus order.\n- Test text enlargement, localization expansion, high contrast, keyboard or\n  switch access, and screen readers when relevant. Mark human\u002Fdevice-only checks\n  truthfully.\n\n## Presentation surfaces\n\nFor slides and decks, also follow `references\u002Fplatform-presentation.md` and\ninvert browser assumptions:\n\n- Give each slide one dominant thesis with roughly 60\u002F30\u002F10 visual hierarchy.\n- Keep audience-facing body copy at least 18pt where possible, with about 13pt\n  as a metadata-only floor; keep the main slide near 70 words or fewer.\n- Use heavy full-bleed surfaces as focal beats, not ambient decoration.\n- Review at presentation distance and validate the rendered artifact, not only\n  the source.\n\n## Public-web SEO only\n\nApply SEO metadata only to public, crawlable web pages. Do not add it to native\napps, internal tools, isolated components, or visual prototypes unless they are\nalso public pages. For an applicable page include a unique title, description,\ncanonical URL, Open Graph title\u002Fdescription\u002Fimage\u002FURL, and appropriate WebSite\nor Organization structured data. Use the framework's native metadata API.\n\n## Required handoff\n\nStart the implementation handoff with:\n\n```markdown\n## Design Decisions\n\n- **Scope lane**: [Micro \u002F Standard \u002F Full — rationale]\n- **Platform**: [detected target(s), inputs, and platform reference loaded]\n- **Design system**: [source and tokens\u002Fcomponents used, or none]\n- **Design direction**: [Design Read; `clade.design-direction\u002Fv1` preset,\n  variant, mode, family, composition\u002Fmotion\u002Fdensity, source, and overrides; or\n  `N\u002FA` for a Micro change that reuses an established direction]\n- **Style DNA** (greenfield \u002F reframe): [personality; must-not-read-as;\n  signature marks; density; radius; shadow]\n- **Directions considered** (Full greenfield \u002F reframe): [three, one line each,\n  and why the chosen one]\n- **Benchmark**: [reference set, reusable pattern, counterexample, rejected choice]\n- **Brand differentiation** (brand surfaces only): [visual school and why; the\n  four palette decisions; typeface and why, with its line heights and its weight\n  set; signature interaction, **the technology chosen to build it and why that\n  one over the alternatives**, and how it belongs to both school and subject;\n  and the final test — beside a typical Linear or Vercel site, are these visibly\n  two different companies?]\n- **Core components**: [button per variant, text input, card, navigation —\n  radius, border, padding, elevation, and hover\u002Ffocus\u002Fpressed treatment, stated\n  once. Every screen consumes these; a screen needing a new component adds it\n  here first.]\n- **Screens in scope**: [the enumerated screens or routes this spec governs, so\n  \"implemented consistently across all of them\" is checkable rather than felt.]\n- **Native vs custom**: [platform skeleton \u002F product brain \u002F brand expression]\n- **Visual checkpoint**: [real surface \u002F HTML study \u002F native preview \u002F direct implementation — why]\n- **State and motion**: [states covered; each motion's job or no-motion decision]\n- **Signature motion** (only when one exists): [archetype — scroll story or\n  hero intro; route and why; the storyboard table or its location; intro \u002F\n  idle \u002F pointer budgets; frame counts per device; reduced-motion state; the\n  §7 acceptance items not yet met]\n- **Verification**: [source, rendered\u002Finteractive, and outcome evidence; explicit unrun gates]\n- **Review loop**: [widths captured; P0\u002FP1 count at start → at end; P2\u002FP3\n  left and their owner; `design-lint source` FAIL\u002FWARN counts before and after]\n- **Measured worst contrast**: [ratio and tool\u002Flane, or truthful reason it was not measurable]\n```\n\nBefore reporting completion:\n\n- confirm every pipeline phase is represented or marked `N\u002FA` with a reason;\n- run project tests, design-system checks, and selected platform verification;\n- inspect the real rendered\u002Fnative result rather than trusting source alone;\n- confirm every screen named in **Screens in scope** was implemented against the\n  design note, and name any screen deliberately left on the old system;\n- confirm no implemented screen introduces a colour, font, radius, or motion\n  duration that is absent from the design note — cross-screen consistency is the\n  deliverable, not a side effect;\n- walk the Definition of Done in `references\u002Fdesign-review.md` item by item for\n  every screen in scope, and name the items that are not met rather than\n  rounding them up;\n- preserve task-owned work through the repository delivery workflow;\n- use `DONE_WITH_CONCERNS` when human\u002Fdevice\u002Fproduction evidence needed for the\n  user's stated outcome remains unavailable.\n\nUse `DONE`, `DONE_WITH_CONCERNS`, `BLOCKED`, or `NEEDS_CONTEXT` truthfully. After\nthree failures of the same approach, stop repeating it and report the blocking\ncondition.\n\n## Additional skill reference\n\n# Interface Design Pipeline\n\nGuides interface work from evidence and platform choice through preview,\nimplementation, and verification. The historical `frontend-design` name stays\nfor compatibility; the workflow covers web, mobile, desktop, and native apps.\n\n## Usage\n\n```\n\u002Ffrontend-design        # Run the platform-aware interface pipeline\n\u002Ffrontend-design profile=soft-premium motion=1\n\u002Ffrontend-design review \u003Cpath-or-url>   # P0–P3 review of an existing surface, fixes applied\n```\n\n\"Design sense\" is carried as checkable rules, not adjectives: the spacing\ngrid, type-scale caps, motion duration table, state list and review widths in\n`references\u002Fdesign-rules.md`; the screenshot review loop, severity ladder and\nDefinition of Done in `references\u002Fdesign-review.md`; and `design-lint source\n\u003Cdir>` for the half of those rules a static check can see. A hero intro or a\nscroll-driven product story — the one place allowed past the motion table —\nhas its own archetypes, route choice, budgets and storyboard-first handoff in\n`references\u002Fsignature-motion.md`.\n\nEvery invocation classifies the target platform and task size, reads the shared\nbenchmark contract plus the relevant platform adapter, then runs all seven\npipeline phases at proportional depth. It respects the project's design system,\nkeeps platform contracts native, and makes product workflow and brand choices\ndeliberately.\n\nFor a theme, style, or alternate version, select a named design-direction\nprofile or infer a custom one, then tune composition, motion, and density. A\nprofile is a reusable hypothesis; repository and platform evidence still win.\n\nWhen visual direction is materially uncertain, it creates a viewable checkpoint\nbefore expensive implementation. HTML is preferred for browser UI and may be\nused as a clearly labelled visual study for native apps; native behavior must be\nvalidated in the real platform preview, simulator, or running app.\n\n## Delivery completion\n\nIf this workflow changes files or external state:\n\n- Inspect the real final state before responding, including `git status` for a\n  repository task.\n- Never report `DONE` while task-owned changes are uncommitted. Use or continue\n  `$clade:delivery` and create a repository-compliant checkpoint or preserve\n  the work when committing is unavailable.\n- When the user request or trusted repository policy makes publication,\n  deployment, or live verification part of the task, do not silently downgrade\n  the result to local-only work.\n- If a required delivery transition lacks authority, credentials, a destination,\n  or reachable external state, report `BLOCKED` or `NEEDS_CONTEXT` rather than\n  appending a \"not committed\u002Fpushed\u002Fdeployed\" caveat after `DONE`.\n","# Clade for Codex\n\nThis workflow runs **directly in Codex**. Do not launch the `claude` CLI or\ndelegate the workflow to Clade's MCP bridge.\n\nCodex compatibility rules:\n\n- Plugin skills are namespaced. Invoke this workflow explicitly as\n  `$clade:frontend-design`; a bare `$name` does not select the installed Clade plugin.\n- Read the nearest `AGENTS.md` files for repository instructions. If a project\n  has only `CLAUDE.md`, treat it as legacy project guidance and read it too.\n- Store new Clade working state under `.clade\u002F` (or `~\u002F.clade\u002F` for personal\n  state). Existing legacy Claude state may be read for migration, but do not\n  create new vendor-specific state.\n- A `\u002Fskill-name` reference means the corresponding Codex\n  `$clade:skill-name` plugin skill, or the same workflow invoked naturally when\n  explicit skill invocation is not available.\n- Use Codex web, file, shell, image, and subagent capabilities when the source\n  workflow names a vendor-specific tool. If a capability is unavailable, use\n  the documented fallback instead of spawning another agent CLI.\n- Paths such as `\u003Cplugin-root>\u002F...` are relative to the installed Clade plugin\n  containing this `SKILL.md`; resolve that root before invoking a helper.\n\n## Canonical Clade workflow\n\n# Interface Design Pipeline\n\nCreate, prototype, redesign, audit, or optimize production-grade interfaces\nacross web, mobile, desktop, and native application surfaces. Preserve the\nhistorical `frontend-design` entry point, but do not treat every interface as a\nwebsite.\n\nUse evidence to decide what is best for this product. Awards reveal expressive\npossibilities; platform guidance defines learned behavior; task tests and\nproduction outcomes decide whether the result is actually better.\n\n## Operating contract\n\nBefore making visual choices:\n\n1. Read `references\u002Fui-ux-benchmark.md` completely.\n2. Classify the platform from the request and repository. If unclear, run\n   `python3 \u003Cskill-root>\u002Fscripts\u002Fdetect_interface_platform.py \u003Cproject-root>`.\n   Treat its result as evidence, not authority; user intent and shipped targets\n   win. Ask only when the unresolved platform would materially change the work.\n3. Read the matching platform reference completely:\n   - browser, responsive web, or PWA: `references\u002Fplatform-web.md`\n   - iOS, iPadOS, macOS, UIKit, SwiftUI, or AppKit:\n     `references\u002Fplatform-apple.md`\n   - Windows, WinUI, WPF, or Windows App SDK:\n     `references\u002Fplatform-windows.md`\n   - Android, Material, Views, or Jetpack Compose:\n     `references\u002Fplatform-android.md`\n   - Electron, Tauri, Flutter, React Native, or another shared-code shell:\n     `references\u002Fplatform-cross-platform.md`, plus every actual target platform\n     reference that affects the requested work\n   - slides, decks, or other projected\u002Fpresented surfaces:\n     `references\u002Fplatform-presentation.md`\n4. Detect the design system before choosing colors, type, spacing, components,\n   or motion.\n5. Read `references\u002Fdesign-direction-profiles.md` for Standard and Full work,\n   whenever the user asks for a theme, preset, style, or alternate version, and\n   whenever the visual direction is materially undecided. A Micro change under\n   an established system may reuse the existing direction and mark this `N\u002FA`.\n6. Read `references\u002Fdesign-rules.md` — the checkable floor: the spacing grid,\n   the type-scale caps, the motion duration table, the state list, the review\n   widths, and the copy ban. Every rule there is phrased so `design-lint`, a\n   screenshot, or a grep can check it; \"premium, modern, polished\" is not a\n   brief, and that file is what the brief decomposes into. A Micro change\n   applies the sections the touched component reaches.\n7. Read `references\u002Fsignature-motion.md` when the ask names a hero animation,\n   a scroll-driven or \"Apple-style\" product story, a 3D showcase, kinetic\n   typography or a motion identity (眼前一亮 \u002F 主视觉动效 \u002F 滚动驱动动画), or\n   whenever the profile sets `motion` to 4–5 or names a `signature`. It carries\n   the vocabulary, the two archetypes with their timing budgets, the four\n   implementation routes and when each fits, the semantic-motion rule, and the\n   storyboard that must exist before any code.\n\nFor a mixed-platform product, share product logic, content, and brand tokens,\nthen translate platform contracts separately. Do not average incompatible\nplatform conventions into one lowest-common-denominator UI.\n\n## Scope lane\n\nRun every phase below for every UI task, but scale the evidence and artifacts to\nthe decision risk:\n\n- **Micro** — a local, reversible component or style correction. Reuse existing\n  product evidence; compare the platform rule and one relevant in-product or\n  external pattern. Do not manufacture a research project.\n- **Standard** — a component family, page, screen, or user flow. Use the official\n  platform source, two direct-product flows where available, one mature design\n  system, and one known failure\u002Fcounterexample.\n- **Full** — a new product, major redesign, unfamiliar interaction, or\n  cross-platform system. Use the complete benchmark set: official platform,\n  two direct competitors, an awarded reference, a mature design system, and a\n  counterexample. Capture complete flows rather than hero screenshots.\n\nState the lane and rationale. A skipped phase is not invisible: mark it `N\u002FA`\nwith a concrete reason.\n\n## Review-only requests\n\nWhen the ask is to review, audit, or 挑毛病 an existing surface rather than to\nbuild one, run phase 1 (baseline captures) and phase 6 (the review in\n`references\u002Fdesign-review.md`) and skip the rest with `N\u002FA`. Deliver findings\nby P0–P3 severity, each with the rule it breaks and the fix; then apply the\nfixes unless the user asked for a report only. No adjectives — \"modern, clean,\nprofessional\" is not a finding.\n\n## Seven-phase pipeline\n\n### 1. Lock the problem\n\nIdentify the target users, target platform(s), and three most important tasks.\nClassify the request as greenfield design, optimization, or implementation of an\napproved spec. Record technical constraints, input modes, accessibility needs,\nlocales, performance budget, and the desired outcome.\n\nDraft the one-line `Design Read` and a `clade.design-direction\u002Fv1` profile from\n`references\u002Fdesign-direction-profiles.md`. Treat both as hypotheses until the\nbenchmark confirms them. For redesigns, choose `preserve`, `evolve`, or\n`reframe` explicitly; never smuggle a reframe into a request for polish.\n\nFor greenfield and reframe work, also write the **Style DNA** — six lines,\neach concrete enough to grep or screenshot against:\n\n```text\nPersonality:       three adjectives — precise, trustworthy, calm (not cold)\nMust not read as:  the AI SaaS template; purple gradients; glassmorphism;\n                   floating orbs; every block in a rounded card\nSignature marks:   3–5 repeated features — large condensed headlines; mono for\n                   data and status; hairline borders on a visible grid; one\n                   green for action and success; panels slide 8 px on open\nDensity:           marketing surfaces loose, working surfaces compact\nRadius:            container 8 \u002F button 6 \u002F tag 999 — not every element a pill\nShadow:            only on what floats; cards separate by border, ground, space\n```\n\n\"Premium, modern, techy\" is not a DNA. \"Techy\" has to say which typeface,\nradius, border, colour, motion and density. Reference products are allowed only\nas split borrowings — A's density, B's type register, C's motion speed — never\none product's page structure. Style comes from repeated choices, not from\npersonality on all five axes (type, colour, geometry, imagery, motion) at\nonce: pick one or two as the identity and keep the rest quiet.\n\nFor optimization, establish the baseline before editing: capture the current\nrendered surface and important flows, list observed failures, and tie each\nproposed change to task success, error recovery, comprehension, accessibility,\nor a product metric. Do not translate personal taste into an unqualified\n\"improvement.\"\n\n### 2. Build the benchmark\n\nUse the evidence ladder and reference-set rules in\n`references\u002Fui-ux-benchmark.md`. Inspect complete states and flows: loading,\nempty, error, permission, offline, undo, keyboard, touch, and destructive paths\nwhere relevant. Separate observations from hypotheses.\n\nProduce a compact benchmark brief containing:\n\n- the reusable pattern and why it fits this task;\n- the platform behavior that must remain native;\n- the product behavior worth inventing;\n- the brand expression worth making distinctive;\n- rejected patterns and why they fail here.\n\nConfirm or revise the Design Read and profile after reviewing the evidence.\n\n### 3. Define behavior before decoration\n\nSpecify information hierarchy, navigation, content, and the shortest coherent\ntask path. For each interactive component, consider:\n\n- rest, hover where available, keyboard focus, pressed, selected, disabled, and\n  loading;\n- success, empty, error, permission, offline, undo, and recovery states at the\n  flow level;\n- mouse\u002Ftrackpad, keyboard, touch, stylus, assistive technology, and remote\u002Fgame\n  controller inputs only where the target platform supports them;\n- localization expansion, dynamic type\u002Ffont scaling, dark\u002Fhigh-contrast modes,\n  and reduced motion.\n\nHover must never carry required information. Cursor changes must follow\nplatform and component semantics, not fashion. Motion must perform at least one\njob: confirm feedback, explain spatial relationship, preserve continuity, guide\nattention, or express progress. If removing an animation does not make the\nchange harder to understand, omit it.\n\n### 4. Choose the visual checkpoint\n\n**Brand surfaces first**: if this is a brand's own site or landing page, if\nsibling products must not look related, or if \"make it distinctive\" is part of\nthe ask, load `references\u002Fbrand-differentiation.md` and follow it before\nchoosing anything visual. It carries the standing constraints — the visual-school\npool, the four-dimension palette method, the banned default palettes and\ntypefaces, the signature-interaction rules, and the anti-laziness checklist.\nThose constraints were being hand-typed into prompts for five months while this\nskill did not contain them; the one thing not to do is design from taste and\nthen check the file afterwards.\n\nDecide whether a preview reduces meaningful rework:\n\n| Situation | Default checkpoint |\n|---|---|\n| Existing runnable web\u002Fapp surface | Build in its real component preview, dev route, story, or sandbox |\n| New browser UI or a purely visual concept | Create a small standalone HTML\u002FCSS\u002FJS prototype with realistic content |\n| Native app with uncertain hierarchy, density, color, or type | HTML is allowed as a clearly labelled **visual hypothesis only** |\n| Native interaction, window, menu, focus, touch, pointer, haptic, or accessibility behavior | Use SwiftUI\u002FCompose\u002FWinUI\u002FXAML or the platform's real preview\u002Fsimulator |\n| Small reversible change under an established system | Implement directly and inspect the rendered result |\n| Signature motion — hero intro, scroll-driven product story, 3D showcase | The storyboard table from `references\u002Fsignature-motion.md` §6 first, then a rendered checkpoint of the signature moment alone before the full build |\n\n**Three materially different directions before one is chosen** — Full-lane\ngreenfield or reframe only. Each direction is a Style DNA card with a different\nschool, type strategy, geometry, density and motion character, plus why it fits\nthis product and what could go wrong with it. Three recolours of one layout are\nnot three directions. Pick one, or ask the owner to, then proceed. Under an\nestablished design system, or for Micro and Standard work, mark this `N\u002FA`.\n\n**Component lab before business pages.** Before the first real screen, build a\n`\u002Fdesign-lab` — a Storybook story, a dev route, or one standalone HTML page —\nthat shows the type scale, the palette, buttons, inputs, select, card, table,\nmodal, tooltip, tabs, toast, status tags, a chart, the empty and loading states,\nand one motion example, in every state `references\u002Fdesign-rules.md` §7 lists.\nSkip it and the first-page button, the dashboard button and the settings-page\ninput drift apart; the lab is where the token scale is proven once.\n\n**Signature motion is storyboarded before it is coded.** For a hero intro or a\nscroll-driven product story, fill the segment table in\n`references\u002Fsignature-motion.md` §6 — range, product, camera, light, copy, page\nstate per segment — choose the implementation route by the shot (frame\nsequence + canvas + ScrollTrigger by default; real-time 3D only when the user\nmust control the product), and state the budgets: intro length and its four\nbeats, idle cadence, pointer response, pinned chapter length, frame counts per\ndevice, the reduced-motion static state. The motion must show the product's\ncapability with the copy removed; \"add some cool animation\" is not a brief and\nis answered with the storyboard, not with fade-ins.\n\nOnce a direction is chosen, prefer one recommended checkpoint. Produce a second\nvariant only when a real tradeoff remains unresolved by evidence; do not\ngenerate decorative option sprawl.\n\nWhen `composition` or `motion` is 4 or 5, require a rendered checkpoint before\ncommitting to the direction. When comparing versions, hold content, tasks, and\nplatform behavior constant and state the exact profile delta.\n\nIf the user asked to see the direction before implementation, make the preview\nviewable, provide the local\u002Flive URL or rendered image, and stop at that\ncheckpoint for confirmation. Otherwise use the checkpoint as an internal\nreview step and continue. Never present an HTML mockup as proof of native\nbehavior.\n\n### 5. Implement in the real surface\n\nUse the existing framework, components, and repository conventions. Do not\nreplace a working stack merely to express an aesthetic. Match implementation\ncomplexity to the value of the interaction.\n\nApply this precedence order when rules conflict:\n\n1. safety, accessibility, and user data integrity;\n2. platform input, semantic, window, and navigation contracts;\n3. the project's explicit design system and shipped component library;\n4. the product's task model and content;\n5. brand expression and visual novelty;\n6. general aesthetic guidance.\n\nThis is not a choice between native and custom. Keep the platform skeleton,\ninvent the product brain, and express the brand without breaking either.\n\n**One representative page first.** Polish one representative screen to the\nDefinition of Done in `references\u002Fdesign-review.md`, then extend that language\nto the rest. Never build ten pages in one pass: the rules drift a little per\npage and the drift compounds until the pages no longer read as one product.\nTokens only — no colour, size, spacing, radius or shadow outside the scale\nwithout a written reason at the site; `design-lint source` names each one.\n\n### 6. Verify the implementation\n\nUse three evidence tiers:\n\n1. **Source\u002Fstatic** — types, lint, hard-rule grep, semantics, token usage,\n   and `design-lint source \u003Cdir>` for the spacing grid, type-scale caps, motion\n   table, token discipline and copy.\n2. **Rendered\u002Finteractive** — real viewports or native previews, screenshots,\n   focus order, keyboard\u002Ftouch\u002Fpointer behavior, state transitions, contrast,\n   text scaling, reduced motion, overflow, and realistic data.\n3. **Outcome** — representative users performing target tasks, then production\n   success, completion time, errors, abandonment, support tickets, retention,\n   conversion, and performance percentiles where applicable.\n\nRun the repository's tests and the platform checks named in the selected\nreference. For HTML\u002Fweb output, run `design-lint html \u003Cartifact>` and inspect the\nlive result at every declared viewport. A clean static check does not prove a\nrendered rule. For decks, run `design-lint deck` and, once rendered,\n`design-lint render`.\n\nThen run the review in `references\u002Fdesign-review.md`: capture the page at\n390 \u002F 768 \u002F 1280 \u002F 1440 (or the declared breakpoints), list findings by P0–P3\nwith no adjectives, fix them in code, re-capture, and repeat until no P0 or P1\nremains. Run `design-lint source` before the loop and again after; its WARN\nlines are questions the review answers with a fix or a written reason, never\nnoise. The first generated version is a structural draft — report the counts\nat the start and at the end of the loop, not \"looks good now\".\n\nDo not claim user testing, assistive-technology coverage, device coverage, or\nproduction improvement unless it actually occurred. Report an unrun tier as a\nnamed follow-up gate, not as a pass.\n\n### 7. Compare and record\n\nFor optimization, compare before and after against the same tasks and\nconstraints. Record decisions, rejected experiments, remaining uncertainty,\nand the next measurable signal. For a substantial or long-lived design, append\nthe decision to the project's design-system Decisions Log when one exists.\n\n## Design system integration\n\nUse the first design-system source found:\n\n```bash\ntest -f .design-system.md && echo \"FOUND: .design-system.md\"\ntest -f design-system\u002FSKILL.md && echo \"FOUND: design-system\u002FSKILL.md\"\ntest -f DESIGN.md && echo \"FOUND: DESIGN.md\"\n```\n\nWhen one exists:\n\n- Read it fully before visual implementation.\n- Use its defined color, typography, spacing, motion, and component tokens.\n  Treat `[placeholder]` as undefined and exercise freedom only there.\n- Import its shipped components and brand assets; never redraw a supplied logo\n  or rebuild a component primitive without a documented reason.\n- Enforce grep-able hard rules against every task-owned file. Use a rendered\n  validator for rules about contrast, size, coverage, hierarchy, or motion.\n- Verify every declared viewport and appearance mode.\n- Record significant choices and rejected experiments in its Decisions Log.\n\nWhen no design system exists, define a small constrained token scale before\ncomposing. Do not create a permanent design system unless the user asks for one\nor the implementation clearly requires reusable governance.\n\nIf asked to author a design system, ship:\n\n- `SKILL.md` no longer than 100 lines with grep-able hard rules, token summary,\n  component pointers, and a review checklist;\n- `DESIGN.md` with rationale, component\u002Fstate specifications, principle-to-\n  application statements, open tensions, and a Decisions Log;\n- paste-ready tokens, components, and brand assets;\n- a validator for every hard rule that targets rendered output.\n\n## Component and aesthetic rules\n\n- Prefer the project's component library. Use shadcn, MUI, Ant Design, Radix,\n  SwiftUI\u002FUIKit\u002FAppKit, WinUI, Compose\u002FMaterial, Flutter, or other declared\n  primitives rather than rebuilding their contracts from scratch.\n- **Define the shared control set once, before the first screen**: button\n  (every variant and size), text input and its field states, card\u002Fsurface, and\n  navigation. Each gets its spacing, radius, border, type and state values\n  written into the design-system file, and every screen reuses that definition.\n  A second button style, a card whose radius differs from the one two sections\n  up, or a nav that changes between pages is an inconsistency defect, not a\n  per-page decision. Where the chosen school makes a component shape non-default\n  (`references\u002Fbrand-differentiation.md` Step 6), state that shape once for the\n  whole set rather than per screen.\n- Prove hierarchy in grayscale through size, weight, order, and space before\n  relying on color.\n- Use constrained type, spacing, radius, elevation, color, and motion scales.\n- Choose a clear aesthetic direction appropriate to the product. Distinction\n  should come from coherent hierarchy, content, composition, data expression,\n  and a few signature moments, not effects on every control.\n- A platform\u002Fsystem font is often the correct native choice. On expressive web\n  and brand surfaces, choose typography deliberately; never reject a system\n  font merely because it is common.\n- Avoid generic AI styling: context-free purple gradients, interchangeable card\n  grids, arbitrary glass, excessive pills, decorative dashboards, fake native\n  chrome, and motion without a job.\n- Do not add custom cursors, scroll hijacking, parallax, blur, grain, or texture\n  unless they support the concept and survive platform, contrast, performance,\n  and reduced-motion checks.\n\n## Accessibility and legibility floors\n\nThese are floors, not aesthetic targets. A design system may raise but never\nlower them.\n\n- On web, meet WCAG 2.2 AA: body text at least 4.5:1; large text and meaningful\n  non-text UI at least 3:1 against the real backdrop.\n- Keep focus visible. Never remove an outline without an equally visible\n  replacement, and ensure focused content is not obscured.\n- Meet the target platform's minimum hit size; for web, never go below the WCAG\n  24x24 CSS px minimum\u002Fspacing exception and aim near 44px for primary touch\n  actions.\n- Guard or neutralize animation under reduced-motion settings.\n- On web, use real headings, links, buttons, labels, and image alternatives\n  before ARIA. On native platforms, use real accessibility roles, names,\n  values, actions, and focus order.\n- Test text enlargement, localization expansion, high contrast, keyboard or\n  switch access, and screen readers when relevant. Mark human\u002Fdevice-only checks\n  truthfully.\n\n## Presentation surfaces\n\nFor slides and decks, also follow `references\u002Fplatform-presentation.md` and\ninvert browser assumptions:\n\n- Give each slide one dominant thesis with roughly 60\u002F30\u002F10 visual hierarchy.\n- Keep audience-facing body copy at least 18pt where possible, with about 13pt\n  as a metadata-only floor; keep the main slide near 70 words or fewer.\n- Use heavy full-bleed surfaces as focal beats, not ambient decoration.\n- Review at presentation distance and validate the rendered artifact, not only\n  the source.\n\n## Public-web SEO only\n\nApply SEO metadata only to public, crawlable web pages. Do not add it to native\napps, internal tools, isolated components, or visual prototypes unless they are\nalso public pages. For an applicable page include a unique title, description,\ncanonical URL, Open Graph title\u002Fdescription\u002Fimage\u002FURL, and appropriate WebSite\nor Organization structured data. Use the framework's native metadata API.\n\n## Required handoff\n\nStart the implementation handoff with:\n\n```markdown\n## Design Decisions\n\n- **Scope lane**: [Micro \u002F Standard \u002F Full — rationale]\n- **Platform**: [detected target(s), inputs, and platform reference loaded]\n- **Design system**: [source and tokens\u002Fcomponents used, or none]\n- **Design direction**: [Design Read; `clade.design-direction\u002Fv1` preset,\n  variant, mode, family, composition\u002Fmotion\u002Fdensity, source, and overrides; or\n  `N\u002FA` for a Micro change that reuses an established direction]\n- **Style DNA** (greenfield \u002F reframe): [personality; must-not-read-as;\n  signature marks; density; radius; shadow]\n- **Directions considered** (Full greenfield \u002F reframe): [three, one line each,\n  and why the chosen one]\n- **Benchmark**: [reference set, reusable pattern, counterexample, rejected choice]\n- **Brand differentiation** (brand surfaces only): [visual school and why; the\n  four palette decisions; typeface and why, with its line heights and its weight\n  set; signature interaction, **the technology chosen to build it and why that\n  one over the alternatives**, and how it belongs to both school and subject;\n  and the final test — beside a typical Linear or Vercel site, are these visibly\n  two different companies?]\n- **Core components**: [button per variant, text input, card, navigation —\n  radius, border, padding, elevation, and hover\u002Ffocus\u002Fpressed treatment, stated\n  once. Every screen consumes these; a screen needing a new component adds it\n  here first.]\n- **Screens in scope**: [the enumerated screens or routes this spec governs, so\n  \"implemented consistently across all of them\" is checkable rather than felt.]\n- **Native vs custom**: [platform skeleton \u002F product brain \u002F brand expression]\n- **Visual checkpoint**: [real surface \u002F HTML study \u002F native preview \u002F direct implementation — why]\n- **State and motion**: [states covered; each motion's job or no-motion decision]\n- **Signature motion** (only when one exists): [archetype — scroll story or\n  hero intro; route and why; the storyboard table or its location; intro \u002F\n  idle \u002F pointer budgets; frame counts per device; reduced-motion state; the\n  §7 acceptance items not yet met]\n- **Verification**: [source, rendered\u002Finteractive, and outcome evidence; explicit unrun gates]\n- **Review loop**: [widths captured; P0\u002FP1 count at start → at end; P2\u002FP3\n  left and their owner; `design-lint source` FAIL\u002FWARN counts before and after]\n- **Measured worst contrast**: [ratio and tool\u002Flane, or truthful reason it was not measurable]\n```\n\nBefore reporting completion:\n\n- confirm every pipeline phase is represented or marked `N\u002FA` with a reason;\n- run project tests, design-system checks, and selected platform verification;\n- inspect the real rendered\u002Fnative result rather than trusting source alone;\n- confirm every screen named in **Screens in scope** was implemented against the\n  design note, and name any screen deliberately left on the old system;\n- confirm no implemented screen introduces a colour, font, radius, or motion\n  duration that is absent from the design note — cross-screen consistency is the\n  deliverable, not a side effect;\n- walk the Definition of Done in `references\u002Fdesign-review.md` item by item for\n  every screen in scope, and name the items that are not met rather than\n  rounding them up;\n- preserve task-owned work through the repository delivery workflow;\n- use `DONE_WITH_CONCERNS` when human\u002Fdevice\u002Fproduction evidence needed for the\n  user's stated outcome remains unavailable.\n\nUse `DONE`, `DONE_WITH_CONCERNS`, `BLOCKED`, or `NEEDS_CONTEXT` truthfully. After\nthree failures of the same approach, stop repeating it and report the blocking\ncondition.\n\n## Additional skill reference\n\n# Interface Design Pipeline\n\nGuides interface work from evidence and platform choice through preview,\nimplementation, and verification. The historical `frontend-design` name stays\nfor compatibility; the workflow covers web, mobile, desktop, and native apps.\n\n## Usage\n\n```\n\u002Ffrontend-design        # Run the platform-aware interface pipeline\n\u002Ffrontend-design profile=soft-premium motion=1\n\u002Ffrontend-design review \u003Cpath-or-url>   # P0–P3 review of an existing surface, fixes applied\n```\n\n\"Design sense\" is carried as checkable rules, not adjectives: the spacing\ngrid, type-scale caps, motion duration table, state list and review widths in\n`references\u002Fdesign-rules.md`; the screenshot review loop, severity ladder and\nDefinition of Done in `references\u002Fdesign-review.md`; and `design-lint source\n\u003Cdir>` for the half of those rules a static check can see. A hero intro or a\nscroll-driven product story — the one place allowed past the motion table —\nhas its own archetypes, route choice, budgets and storyboard-first handoff in\n`references\u002Fsignature-motion.md`.\n\nEvery invocation classifies the target platform and task size, reads the shared\nbenchmark contract plus the relevant platform adapter, then runs all seven\npipeline phases at proportional depth. It respects the project's design system,\nkeeps platform contracts native, and makes product workflow and brand choices\ndeliberately.\n\nFor a theme, style, or alternate version, select a named design-direction\nprofile or infer a custom one, then tune composition, motion, and density. A\nprofile is a reusable hypothesis; repository and platform evidence still win.\n\nWhen visual direction is materially uncertain, it creates a viewable checkpoint\nbefore expensive implementation. HTML is preferred for browser UI and may be\nused as a clearly labelled visual study for native apps; native behavior must be\nvalidated in the real platform preview, simulator, or running app.\n\n## Delivery completion\n\nIf this workflow changes files or external state:\n\n- Inspect the real final state before responding, including `git status` for a\n  repository task.\n- Never report `DONE` while task-owned changes are uncommitted. Use or continue\n  `$clade:delivery` and create a repository-compliant checkpoint or preserve\n  the work when committing is unavailable.\n- When the user request or trusted repository policy makes publication,\n  deployment, or live verification part of the task, do not silently downgrade\n  the result to local-only work.\n- If a required delivery transition lacks authority, credentials, a destination,\n  or reachable external state, report `BLOCKED` or `NEEDS_CONTEXT` rather than\n  appending a \"not committed\u002Fpushed\u002Fdeployed\" caveat after `DONE`.\n",{"name":5,"description":7},"main","bb20646cb013d2f52f854743fcee83dcc5ccfbd9","plugins\u002Fclade\u002Fskills\u002Ffrontend-design",6,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade","https:\u002F\u002Falexshen.dev\u002Fen\u002Fblog\u002Fclade","https:\u002F\u002Fgithub.com\u002Fshenxingy","https:\u002F\u002Falexshen.dev\u002F","Founding Engineer @ Scam AI | ECE @ Duke University | Data Science @ Duke Kunshan University","2026-11-13 19:38:31",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add shenxingy\u002FClade --skill frontend-design",{"tool":62,"command":63},"bunx","bunx skills add shenxingy\u002FClade --skill frontend-design",{"tool":65,"command":66},"pnpm","pnpm dlx skills add shenxingy\u002FClade --skill frontend-design","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002FSKILL.md",true,[70,76,80,84,88,92,96,100,104,108,112,116,120],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fbrand-differentiation.md","REFERENCE","参考文档",13631,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fbrand-differentiation.md",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fdesign-direction-profiles.md",8575,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fdesign-direction-profiles.md",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fdesign-review.md",5555,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fdesign-review.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fdesign-rules.md",10852,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fdesign-rules.md",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Fplatform-android.md",2168,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fplatform-android.md",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fplatform-apple.md",3141,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fplatform-apple.md",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fplatform-cross-platform.md",2987,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fplatform-cross-platform.md",{"path":101,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Fplatform-presentation.md",2012,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fplatform-presentation.md",{"path":105,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Fplatform-web.md",3183,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fplatform-web.md",{"path":109,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fplatform-windows.md",2467,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fplatform-windows.md",{"path":113,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fsignature-motion.md",15764,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fsignature-motion.md",{"path":117,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fui-ux-benchmark.md",8034,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Freferences\u002Fui-ux-benchmark.md",{"path":121,"resourceType":122,"resourceTypeDesc":123,"sizeBytes":124,"sourceHtmlUrl":125},"scripts\u002Fdetect_interface_platform.py","SCRIPT","脚本",5773,"https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ffrontend-design\u002Fscripts\u002Fdetect_interface_platform.py",[127,144,171,190,215,231],{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":41},"01M6FNPBA3494GF2W7V4MMAKG3","worktree","Create or inspect runtime-adaptive isolated Git workspaces with explicit ownership and delivery routing","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fworktree\u002FSKILL.md",[],[129,134,135,136,137,138,139,140,141,142,143,37],"adaptive","inspect","with","ownership","delivery routing","runtime","delivery","workspaces","git","routing",{"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":41},"01M6FNP75BY8CS006EWGN29FM0","web-search","Route online research and URL reading to native tools or TinyFish MCP\u002FAPI; prepare targeted requests, handle progress and failures, and check returned evidence. Applies to web search, fetching, and bulk collection; excludes repository\u002Ffile search.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fweb-search\u002FSKILL.md",[],[151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170],"web search","search","web","repository","file","research","MCP","requests","collection","reading","URL","native","bulk","progress","file search","route","tinyfish","evidence","check","api",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":177,"publishedAt":41},"01M6FNP2616DRTZRSZJQM3HPHY","verify","Verify project behavior anchors — compilation, tests, and interaction checks after autonomous runs. NOT the Codex built-in \u002Fverify (which runs the app to observe a single change working) — this one walks the AGENTS.md \"Features (Behavior Anchors)\" list.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fverify\u002FSKILL.md",[],[173,178,179,180,181,26,182,183,184,185,186,187,188,189],"app","single","features","which","tests","project","observe","autonomous","behavior","list","change","codex",{"skillNo":191,"name":192,"nameZh":6,"description":193,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":194,"categories":195,"keywords":196,"publishedAt":41},"01M6FNNX95R9H29BNERFY15704","tasks","Coordinate dependency-aware project tasks across independent Codex, Codex, Kimi and human sessions using Beads. Use for shared plans, claiming work, task handoffs, acceptance and agent monitoring snapshots.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Ftasks\u002FSKILL.md",[],[192,197,198,199,183,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,189],"for","plans","work","shared","across","human","task","coordinate","kimi","snapshots","agent monitoring","dependency","use","using beads","beads","monitoring","acceptance","sessions",{"skillNo":216,"name":217,"nameZh":6,"description":218,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":219,"categories":220,"keywords":221,"publishedAt":41},"01M6FNNTAD1BCZX5Q9TC55MZCH","sync","End-of-session documentation sync — updates TODO.md and PROGRESS.md only (run \u002Fcommit after to commit everything)","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fsync\u002FSKILL.md",[],[217,222,223,224,225,226,227,228,164,229,230],"session","run","documentation","commit","only","documentation sync","updates","end","todo",{"skillNo":232,"name":233,"nameZh":6,"description":234,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":235,"categories":236,"keywords":237,"publishedAt":41},"01M6FNNPTR5H23MD3849E66WYA","status","Show a provider-neutral, freshness-aware snapshot of active Agent work, Git delivery, execution identity, and usage limits. Use for “what's going on right now”, what is running, progress updates, active runtime\u002Fprovider\u002Fmodel, or stuck-work checks.","https:\u002F\u002Fgithub.com\u002Fshenxingy\u002FClade\u002Fblob\u002Fmain\u002Fplugins\u002Fclade\u002Fskills\u002Fstatus\u002FSKILL.md",[],[233,139,238,239,197,228,240,241,164,242,140,243,244,209,245,199,246,247,142,248],"running","limits","usage","now","active","show","provider","snapshot","model","execution","identity"]