agentleFS
templetongrouptempletongroup/radiant/.claude/skills/master-design/SKILL.md

master-design

Skill113 starsChanged 3 months agoMITView on GitHub

Design, redesign, build, audit, polish, and production-verify exceptional interfaces across web, mobile, and native apps. Use for product framing, visual direction, UX flows, design systems, implementation, accessibility, responsive and window behavior, AI interactions, screenshot or reference reconstruction, whole-product reviews, pre-launch polish, and installed or deployed interface QA. Triggers on master design, design this, redesign this app, make this production ready, review every screen, polish the UI, improve the UX, match this reference, design system, visual audit, interface audit, accessibility review, responsive review, pre-launch design check, and ship-quality UI.

The file

Show its rules and text

We split this skill into the rules it gives an agent

38 rules. About 0 are common, 34 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈34

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create interfaces that are coherent, specific, usable, accessible, technically sound, and proven in the product people actually use.

    line 8
  2. Distinctive:

    Follow the user's explicit brief, constraints, and approved acceptance target.

    line 16
  3. Distinctive:

    Follow the platform's interaction conventions and native semantics.

    line 18
  4. Distinctive:

    Never let a style heuristic overrule a higher item.

    line 23
  5. Very specific:

    If the request combines modes, use this order: frame → direct → build → polish → ship.

    line 38
  6. Very specific:

    Read repository and platform guidance completely: AGENTS.md, CLAUDE.md, CONTRIBUTING.md, design-system docs, ADRs, token files, Storybook, …

    line 42
  7. Distinctive:

    Use real product content and state.

    line 46
  8. Distinctive:

    Read product-and-flow.md for product framing, cognitive load, AI behavior, trust, copy, and failure recovery.

    line 50
  9. Distinctive:

    When direction is genuinely open, show 2–3 distinct systems, not color variations.

    line 62
  10. Distinctive:

    When an acceptance target exists, measure it.

    line 64
  11. Distinctive:

    Read style-routing.md for selecting and reconciling aesthetics, brand, anti-slop rules, and reference-based work.

    line 66
  12. Distinctive:

    Never solve a repeated defect in one screen when its cause is a token or shared component.

    line 83
  13. Distinctive:

    Read system-and-craft.md for component geometry, layout, typography, color, surfaces, icons, motion, and accessibility details.

    line 85
  14. Distinctive:

    Add restrained motion only when it explains change, confirms action, or preserves spatial continuity.

    line 94
  15. Distinctive:

    Add empty, loading, error, success, offline, permission, and recovery states where the product can reach them.

    line 95
  16. Distinctive:

    Use native controls and semantics before custom replicas.

    line 97
  17. Very specific:

    When an installed platform skill covers the actual stack—such as Apple HIG, macOS/SwiftUI/AppKit, iOS, web, or React Native—load it for …

    line 99
  18. Distinctive:

    Use one finding per root cause.

    line 116
  19. Distinctive:

    Do not infer keyboard access, screen-reader output, clipping, animation behavior, or deployed state from a static screenshot.

    line 123
  20. Distinctive:

    Read review-contract.md for scope, severity, output, caps, and verdict rules.

    line 125
  21. Distinctive:

    Create a surface-by-state matrix and exercise it.

    line 129
  22. Distinctive:

    Read evidence-and-verification.md for the complete proof ladder, platform matrices, and release gate.

    line 143
  23. Distinctive:

    Before calling work complete, check all of these:

    line 147
  24. Distinctive:

    no clipped, overlapped, off-screen, or unreachable content.

    line 149
  25. Distinctive:

    no accidental horizontal scrolling.

    line 150
  26. Distinctive:

    no critical action below the fold without a visible continuation cue.

    line 151
  27. Distinctive:

    no mismatched peer-button geometry or label baselines.

    line 152
  28. Distinctive:

    no one-off spacing, radius, font, color, or icon that should use a shared token.

    line 153
  29. Distinctive:

    no tiny or low-contrast secondary text masquerading as polish.

    line 154
  30. Distinctive:

    no active state shown only by color.

    line 155
  31. Distinctive:

    no missing hover, focus, active, selected, disabled, loading, empty, error, or success state.

    line 156
  32. Distinctive:

    no unlabeled icon control, pointer-only path, broken focus order, or ignored reduced-motion preference.

    line 157
  33. Distinctive:

    no generic filler copy, unexplained jargon, fake data, hard-coded personal greeting, or false readiness claim.

    line 158
  34. Distinctive:

    no decorative effect competing with the task hierarchy.

    line 159
  35. Distinctive:

    no CSS or rendering trick that fights the platform.

    line 160
  36. Distinctive:

    no claim of completion beyond the evidence actually gathered.

    line 161
  37. Very specific:

    Use scripts/scan-interface-risks.sh <project-root> as a fast candidate scan when the project contains source code.

    line 163
  38. Distinctive:

    Do not publish, deploy, buy, send, delete, or grant permissions unless the user explicitly authorized that action.

    line 169

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Master Design

Create interfaces that are coherent, specific, usable, accessible, technically sound, and proven in the product people actually use. Treat visual quality and behavioral quality as one discipline.

This skill synthesizes a broad interface-design library without disabling or replacing the source skills. Read source-map.md only when auditing this synthesis, updating the master skill, or explaining its provenance.

Non-negotiable hierarchy

Resolve conflicts in this order:

  1. Follow the user's explicit brief, constraints, and approved acceptance target.
  2. Protect accessibility, truthfulness, safety, privacy, and user data.
  3. Follow the platform's interaction conventions and native semantics.
  4. Preserve the project's established design system, stack, brand, and density when they remain fit for purpose.
  5. Make task hierarchy, real content, and product state legible.
  6. Apply stylistic taste and novelty.

Never let a style heuristic overrule a higher item. A brutalist, minimal, editorial, playful, luxury, or hardware direction is a route, not a universal rule.

Choose the operating mode

Infer one mode from the request and state it briefly when useful.

ModeUse whenDefault action
frameThe problem, audience, or feature is unclearClarify the job, risk, evidence, and success condition before drawing UI
directA new visual direction or system is neededProduce 2–3 coherent directions, recommend one, and wait if the choice materially changes the result
buildThe user asks to create or change the productImplement the smallest complete system in the existing stack and verify it
reviewThe user asks to inspect, critique, or auditStay read-only; return evidence-backed findings and a verdict
polishA working interface needs launch-quality refinementFix shared primitives and high-leverage inconsistencies, then recheck all consumers
shipThe user asks for production readiness or publicationRun the full product and release evidence gates; publish only when explicitly authorized

If the request combines modes, use this order: frame → direct → build → polish → ship. For an existing approved direction, skip direct. For a review-only request, do not mutate source or external state.

1. Establish the truth before designing

  1. Read repository and platform guidance completely: AGENTS.md, CLAUDE.md, CONTRIBUTING.md, design-system docs, ADRs, token files, Storybook, and release instructions.
  2. Inventory the actual stack, components, tokens, fonts, icons, assets, supported sizes, localization, themes, and preview/test commands.
  3. Inventory the product surfaces and states: entry points, windows/routes, subnavigation, overlays, menus, loading, empty, error, disabled, selected, success, destructive, narrow, large, zoomed, and restored states.
  4. Determine whether each supplied image is an acceptance target, brand source, content source, or inspiration only. If ambiguity would materially change the work, ask once. Do not blend conflicting references silently.
  5. Use real product content and state. Find hard-coded personal names, demo data, stale version text, fake readiness, placeholders, and copy that claims more than the implementation proves.

For existing products, preserve the architecture and interaction model unless the user explicitly authorizes a rewrite. Redesign the system, not just the most visible screenshot.

Read product-and-flow.md for product framing, cognitive load, AI behavior, trust, copy, and failure recovery.

2. Form a coherent direction

Define one sentence for each:

  • Audience: who uses this and what they already understand.
  • Job: the single primary outcome of the surface or flow.
  • Tone: a specific character such as restrained technical, warm editorial, precise utilitarian, refined hardware, or expressive cultural. Never use “clean and modern” as the whole direction.
  • Hierarchy: what earns first, second, and third attention.
  • Signature: one or two memorable moves that belong to this product.

When direction is genuinely open, show 2–3 distinct systems, not color variations. For each, specify structure, typography, palette/material, interaction character, strengths, risks, and fit. Recommend one based on the audience and job.

When an acceptance target exists, measure it. Reconstruct its structure, proportions, alignment, typography roles, density, and component geometry before adding decoration. Preserve its design DNA without copying unrelated content or accidental defects.

Read style-routing.md for selecting and reconciling aesthetics, brand, anti-slop rules, and reference-based work.

3. Build the design system before the pages

Define or normalize these shared primitives before leaf-screen polish:

  • semantic color roles and contrast pairs;
  • typography roles, line heights, measures, and numeric styles;
  • spacing scale and layout margins;
  • radii, borders, elevation, material, and lighting direction;
  • icon family, stroke/fill weight, optical size, and decorative semantics;
  • control heights, horizontal padding, label baselines, focus treatment, and state behavior;
  • motion durations, easing, reduced-motion behavior, and interruption rules;
  • window/container size policies and responsive breakpoints based on content.

Peer actions that are intended to read as a set must share height, radius, vertical padding, baseline, and state geometry. Use equal width when the actions have equal rank; use content width deliberately when rank or available space differs. Check optical centering, not only numeric constraints.

Never solve a repeated defect in one screen when its cause is a token or shared component. Audit every consumer after changing a primitive.

Read system-and-craft.md for component geometry, layout, typography, color, surfaces, icons, motion, and accessibility details.

4. Implement in task order

  1. Build semantic structure and state ownership.
  2. Establish layout, reflow, window sizing, and scroll behavior.
  3. Apply typography and content hierarchy.
  4. Apply color, material, imagery, and iconography.
  5. Implement every interaction state and keyboard path.
  6. Add restrained motion only when it explains change, confirms action, or preserves spatial continuity.
  7. Add empty, loading, error, success, offline, permission, and recovery states where the product can reach them.

Use native controls and semantics before custom replicas. Match the existing framework and styling method. Do not introduce a second UI stack for a cosmetic change.

When an installed platform skill covers the actual stack—such as Apple HIG, macOS/SwiftUI/AppKit, iOS, web, or React Native—load it for implementation mechanics. This master skill owns direction, quality gates, evidence, and final coherence; the platform skill owns framework-specific APIs and conventions.

For AI features, make scope, inputs, sources, progress, confidence limits, cost, reversibility, and the boundary between suggestion and action visible. Require preview or confirmation proportional to the consequence. Never present a static or inferred status as a live verified fact.

5. Review as one product

Review foundational domains before surface polish:

  1. Accessibility and input methods
  2. Product flow, clarity, trust, and recovery
  3. Layout, resizing, scrolling, and localization growth
  4. Writing and information hierarchy
  5. Typography
  6. Color and contrast
  7. Components, imagery, surfaces, icons, and motion
  8. Cross-screen consistency and release truth

Use one finding per root cause. Rank shared primitives above isolated symptoms. Every finding needs evidence from the correct layer:

  • source evidence for implementation facts;
  • rendered evidence for visual claims;
  • interaction evidence for behavior claims;
  • installed or deployed evidence for release claims.

Do not infer keyboard access, screen-reader output, clipping, animation behavior, or deployed state from a static screenshot. Do not infer visual quality from source alone.

Read review-contract.md for scope, severity, output, caps, and verdict rules.

6. Verify the actual experience

Create a surface-by-state matrix and exercise it. At minimum:

  • normal, minimum, and large window/viewport sizes;
  • 200% zoom or the platform's relevant text-size setting;
  • light/dark/high-contrast modes the product claims to support;
  • keyboard traversal, focus visibility, shortcuts, Escape, and focus restoration;
  • accessible name, role, value, and dynamic announcements;
  • real content extremes, localization growth, empty, loading, error, and permission-denied states;
  • destructive confirmation and recovery;
  • repeated actions, cancellation, interruption, and reopen/restoration;
  • actual installed app or deployed URL when evaluating a release.

Inspect rather than assume. Capture before/after evidence at matching dimensions when implementing visual changes. A successful build, signature, notarization, test suite, or preview does not prove the installed or deployed interface works.

Read evidence-and-verification.md for the complete proof ladder, platform matrices, and release gate.

7. Run the final slop gate

Before calling work complete, check all of these:

  • no clipped, overlapped, off-screen, or unreachable content;
  • no accidental horizontal scrolling;
  • no critical action below the fold without a visible continuation cue;
  • no mismatched peer-button geometry or label baselines;
  • no one-off spacing, radius, font, color, or icon that should use a shared token;
  • no tiny or low-contrast secondary text masquerading as polish;
  • no active state shown only by color;
  • no missing hover, focus, active, selected, disabled, loading, empty, error, or success state;
  • no unlabeled icon control, pointer-only path, broken focus order, or ignored reduced-motion preference;
  • no generic filler copy, unexplained jargon, fake data, hard-coded personal greeting, or false readiness claim;
  • no decorative effect competing with the task hierarchy;
  • no CSS or rendering trick that fights the platform;
  • no claim of completion beyond the evidence actually gathered.

Use scripts/scan-interface-risks.sh <project-root> as a fast candidate scan when the project contains source code. Treat its output as leads, never findings.

Completion contract

Lead with the outcome. State what changed or what was reviewed, what was physically verified, what remains unverified, and the verdict or release status. Link to real files with exact lines when possible.

Do not publish, deploy, buy, send, delete, or grant permissions unless the user explicitly authorized that action. “Production ready” authorizes preparation and verification, not publication by itself.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.