Communitygithub.com

yest-ui-blueprint

Keep your coding agent up to date with human-grade UI/UX craft and modern web standards through research-first, per-app design blueprints (DESIGN.md + design tokens) and anti-slop guardrails. Trigger whenever the user starts a new web app, landing page, SaaS dashboard, e-commerce store, portfolio, mobile web utility, or UI redesign; asks for a design template, DESIGN.md, color palette, typography pairing, layout direction, or design tokens; wants to modernize outdated CSS/HTML patterns; or asks to audit or polish a frontend so it does not look generic or AI-generated—even if they do not explicitly ask for a "design system." DO NOT trigger for pure backend work (SQL, ORMs, API routes), infrastructure (CI/CD, Docker, Git), or trivial text-only copy edits with no visual or UX impact.

Was ist yest-ui-blueprint?

yest-ui-blueprint is a Claude Code agent skill that keep your coding agent up to date with human-grade UI/UX craft and modern web standards through research-first, per-app design blueprints (DESIGN.md + design tokens) and anti-slop guardrails. Trigger whenever the user starts a new web app, landing page, SaaS dashboard, e-commerce store, portfolio, mobile web utility, or UI redesign; asks for a design template, DESIGN.md, color palette, typography pairing, layout direction, or design tokens; wants to modernize outdated CSS/HTML patterns; or asks to audit or polish a frontend so it does not look generic or AI-generated—even if they do not explicitly ask for a "design system." DO NOT trigger for pure backend work (SQL, ORMs, API routes), infrastructure (CI/CD, Docker, Git), or trivial text-only copy edits with no visual or UX impact.

Funktioniert mit~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/billy-a/yest-skill-ui-blueprint/tree/HEAD

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Yest UI Blueprint

Research-first, style-agnostic UI/UX direction skill that creates a tailored per-app design blueprint (DESIGN.md + tokens.css) and enforces modern web standards so coding agents stop shipping generic AI slop or outdated CSS/JS patterns.

Core Philosophy

AI slop is a no-decisions problem, and stale frontend code is a training-cutoff problem. When an agent receives vague adjectives ("clean", "modern", "premium") without locked art direction, domain research, or current web platform checks, it regresses to statistical defaults (purple glow gradients, three identical feature cards, unstyled system defaults, happy-path-only screens, and heavy JS polyfills for features browsers now handle natively).

This skill contains no hardcoded visual theme. Every app earns its own blueprint through structured discovery, live or domain-grounded research when no archetype fits, Baseline web standards, and real verification.


Step 1: Inspect the Codebase & Route by Mode

Before asking questions or writing UI code, inspect the project directory for an existing DESIGN.md, CSS custom properties (:root / @theme), component primitives, and target framework.

Route the request to the right workflow mode:

ModeWhen to UseDiscovery Behavior
new-appBrand-new app, site, or greenfield prototype with no UI or blueprint yetRun full flow (Steps 2–7) to lock DESIGN.md + tokens.css first
adoptExisting app/codebase that has UI code already, but NO DESIGN.md yetReview the existing app first (inspect pages, CSS/tokens, fonts, colors, states, anti-slop & Baseline gaps), summarize findings, and ask the user to pick Codify As-Is, Codify & Polish, or Redesign before modifying UI code
redesignUser explicitly asks to overhaul an existing interface or replace its visual identityAudit existing pain points, then run Steps 2–7
extendAdding a new screen, flow, or component to a repo that already has DESIGN.md or established tokensSkip full onboarding. Read and preserve existing tokens; apply Steps 5–7
polishImproving spacing, typography, responsiveness, states, or visual craft without changing brand identityPreserve existing brand palette/fonts; apply Steps 5–7
auditRead-only design, accessibility, anti-slop, or modern-web reviewMake no file edits; report prioritized findings with concrete fixes

How adopt Mode Works (Existing App Without DESIGN.md)

Most real-world repositories already have working pages and styles, yet lack a formal DESIGN.md. Never ignore existing code or silently overwrite its visual identity:

  1. Inspect existing UI & styles: Read the layout shell, global CSS/Tailwind config, typography imports, color variables/hardcoded hexes, primary screens, and component patterns.
  2. Audit against craft & modern web baselines: Check what works well today vs. concrete gaps (inconsistent colors/spacing, missing loading/empty/error/disabled states, contrast or mobile 390px issues, anti-slop clichés, or outdated CSS/JS patterns).
  3. Present a concise App UI Review + 3 clear paths and wait for the user to choose:
    • Path A — Codify As-Is: Keep the current look and extract it into DESIGN.md + tokens.css, fixing only broken contrast or duplicate token drift.
    • Path B — Codify & Polish: Preserve the core brand feel, lock DESIGN.md + tokens.css, and upgrade craft (anti-slop cleanup, all 6 UI states, responsive 390px–1440px polish, and Baseline HTML/CSS).
    • Path C — Redesign: Keep the functional scope, run Step 2 (archetype/research) + Step 3 (5-question discovery), and generate a fresh DESIGN.md + tokens.css.

If the user already supplied a complete, explicit design brief (brand hex codes, fonts, layout, references), skip redundant questions, confirm any missing defaults (such as dark mode or browser policy), and proceed to Step 4.


Step 2: Archetype Lookup & Research-First Gate

Classify the product into its surface and business trade, then check the bundled archetypes in references/archetypes/:

  • saas-dashboard.md — B2B/B2C web apps, admin panels, analytics, developer tools
  • marketing-landing.md — Product launches, startup homepages, conversion landing pages
  • ecommerce-store.md — D2C storefronts, catalogs, configurators, checkout flows
  • editorial-portfolio.md — Personal portfolios, design studios, magazines, documentation hubs
  • mobile-utility.md — Mobile-first web apps, trackers, calculators, personal tools
  • local-service-place.md — Cafes, restaurants, clinics, hotels, studios, local businesses

Read only the single archetype file that matches the project.

When No Built-In Archetype Fits (Research-First Fallback)

If the app belongs to a niche not covered above, blends multiple categories, or the user says "I don't know, suggest something", research before designing:

  1. Research current real-world benchmarks: If web search or documentation access is available, inspect 2–4 well-regarded live products or current UI/UX conventions in that exact domain (navigation patterns, density expectations, trust signals, dominant media format, and modern CSS capabilities). Only claim live web research when you actually searched or fetched external sources in the current session; if working offline, explicitly label benchmark insights as offline domain analysis grounded in bundled baselines.
  2. Check modern web standards: Read references/modern-web-standards.md to verify current Baseline HTML/CSS/JS patterns (and consult modern-web-guidance if installed in the user's environment).
  3. Summarize findings concisely: Share 3–5 bullet insights covering what users in this domain expect, what visual clichés to avoid, and which media type fits best (e.g., real photography vs. live HTML UI fragments).
  4. Propose 2–3 distinct, named directions with clear trade-offs (mood, color direction, typography system, density, and motion level) so the user can choose instead of guessing from scratch.

Step 3: Ask-First Discovery (5 Diagnostic Questions)

For new-app and redesign modes without a locked brief, pause before generating layout code and ask a concise, structured set of 5 questions (bundled with your 2–3 recommended directions when helpful).

Write questions like a human designer talking to a client: Match the user's language, keep each option short and plain, and describe what an option looks and feels like instead of dumping dense CSS jargon or em-dash-heavy labels (e.g., say "Warm paper background with deep green buttons" instead of "Quiet Ledger — Adaptive Dual-Mode (Anti-Digital Warmth): warm linen canvas, tonal stone surfaces..."). Keep technical CSS tokens and Taste Dial numbers internal to DESIGN.md unless the user wants to tune them directly.

  1. Product Surface, Stack & Primary Action: What are we building, who uses it, what stack/styling setup is used, and what is the single main user action?
  2. Rough Feel (Plain Words First): Ask whether they want it calm and structured or bold and editorial, airy or compact, and quiet or animated. Save exact numeric dials until after the first preview (unless they already know exact numbers).
  3. Color Mood & Light/Dark: Light only, dark only, or adaptive light + dark? Translate 2–3 fitting options from references/color-directions.md into plain visual descriptions (e.g., "warm paper with dark green buttons") instead of internal style jargon, or ask for brand hex codes.
  4. Typography & Licensing: Do they own brand fonts, or prefer a clean free option (modern sans, editorial serif + sans, or fast OS native fonts for offline/zero-latency apps)? Keep exact font/CSS specs from references/typography.md inside DESIGN.md.
  5. References, Constraints & Browser Policy: Any 1–2 sites they like or want to avoid, plus browser target (default: Baseline Widely Available, with progressive fallbacks for newer CSS).

Wait for the user's confirmation before generating the blueprint or writing UI code.


Step 4: Lock Blueprint, Preview One Screen & Calibrate

Once the user confirms, generate two files adapted to the project's stack (vanilla CSS, Tailwind @theme, or CSS Modules):

  1. DESIGN.md from templates/DESIGN.md.template — locked brief, Taste Dials, last_verified date, browser policy, 60-30-10 tokens, typography, layout/media rules, 6 UI states, anti-slop guardrails, and short research log.
  2. tokens.css (or stack equivalent) from templates/tokens.css.template — contrast-checked tokens and prefers-reduced-motion. If the user chose Light Only or Dark Only, delete unused theme blocks cleanly (color-scheme: light or dark); for offline/zero-latency apps, use native system font stacks with zero external font requests.

Preview-First Checkpoint & 6 Post-Preview Taste Dials

For new-app and redesign builds with multiple screens, never rewrite the whole app in one blind pass:

  1. Preview 1 flagship screen first: Render one primary screen (for greenfield/static builds, a standalone preview HTML or main route; for existing multi-page apps, restyle the primary screen first without touching secondary routes).
  2. Calibrate 6 Taste Dials after preview: Read references/taste-dials.md and invite plain-language tweaks (or include a small removable live slider drawer on standalone previews) across: Layout Asymmetry, Data Density, Motion, Border Crispness, Corner Geometry, and Typographic Personality (1–10).
  3. Lock, clean up & roll out: Save final values into DESIGN.md and tokens.css, delete any temporary preview file or slider drawer, then roll out across remaining screens.

Step 5: Build with Craft & Modern Web Guardrails

When implementing screens or components, load only the reference files needed for the current task:

Enforce these universal craft rules on every implementation:

  1. 60-30-10 Color Ratio: 60% canvas/background, 30% structural surfaces/cards, 10% accent reserved for primary CTAs and key status signals. Avoid harsh #000000 on #FFFFFF unless intentionally editorial.
  2. Typographic Discipline: Default to 1 cohesive font family (or 1 intentional display/body pair), strong display-to-body hierarchy (~4:1 on marketing heroes, clear step scale on dashboards), regular/medium display weights (400–500) with tight negative tracking (-1.4% to -2.5%), and optional monospace accents for metadata, dates, and numbers.
  3. Sector-Appropriate Media: Use real photography (uncaptioned, credits grouped into one expandable footer row if needed) for physical places, hospitality, and local services—with zero WebGL/3D. For software/SaaS, use real HTML UI fragments, clean diagrams, and real SVG icons instead of fake generic illustrations.
  4. Complete 6 UI States: Implement and verify default, loading, empty, error, success, and disabled/recovery states on every interactive flow—never ship happy-path-only screens.
  5. Modern Baseline Web First: Prefer native <dialog>, Popover API, Container Queries, :has(), light-dark(), responsive AVIF/WebP, and CSS transitions over heavy JS polyfills. Respect prefers-reduced-motion and protect Core Web Vitals (especially INP and CLS).
  6. Human, Plain UI Copy: Write headlines, button labels, empty states, error messages, and discovery questions in plain everyday words (avoid em dashes, stiff AI phrasing, "Not just X, but Y" slogans, and dramatic closers). If yest-humanizer (billy-a/yest-skill-humanizer) is installed, pair with it for natural English or Bahasa Indonesia UI copy.

Step 6: Pre-Flight Anti-Slop Lint & Verification Gate

Before delivering finished UI code, run both checks:

  1. Anti-Slop Blacklist Audit: Cross-check generated markup, styles, and copy against references/anti-slop-blacklist.md. Strip any purple-pink AI glow gradients, identical three-column icon-title-text card rows, decorative 001 · eyebrows, single accented headline words, lorem ipsum, marketing fluff, fake street/VAT numbers (use .example contacts), captions under photos, or unauthorized WebGL.
  2. Multi-Viewport Visual & Accessibility Check: If browser tooling is available, inspect the rendered UI at 1440px, 1024px, 768px, and 390px viewports, plus dark mode and prefers-reduced-motion. Verify:
    • Zero horizontal overflow or clipped text (especially tables, currency, dates, and primary CTAs)
    • Balanced outer margins and visible above-the-fold hero on desktop and mobile
    • Keyboard tab order, visible focus rings, and readable contrast across light and dark modes
    • All 6 interactive states render cleanly

If browser inspection is not available in the current environment, never claim a visual pass—explicitly disclose which visual checks could not run.


Step 7: Honest Handoff Disclosure

Close every blueprint or UI delivery with a brief ### UI Blueprint Summary section covering:

  • Mode & Archetype: Which mode ran (new-app, adopt, redesign, extend, polish, audit) and whether a bundled archetype or live research shaped the direction.
  • Blueprint & References Used: Paths created/updated (DESIGN.md, tokens.css) and which reference guides or live benchmarks informed key decisions.
  • Companion Skills Used: Name any companion skill actually read and applied in this session (such as yest-humanizer or modern-web-guidance), or write none.
  • Verification Status: What passed (anti-slop lint, preview sign-off, responsive/state checks, contrast/modern-web compliance) and any visual checks skipped due to tooling limits.

See examples.md for realistic end-to-end walkthroughs across new apps, researched niches, and existing codebases.

Verwandte Skills