Skip to content

About

Trae/Claude skill that distills high-end website aesthetics into reusable frontend design rules, then verifies results with desktop & mobile screenshots

Resources

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

UI Style Distiller

A Trae skill that turns high-end website aesthetics into reusable frontend design rules, applies them safely, then verifies the result with desktop and mobile screenshots.

What It Does

Most frontend prompts say "make it look premium" but never explain what premium means. This skill makes the process concrete:

  1. Classify the desired UI style.
  2. Load a focused style card with executable rules.
  3. Distill reference websites without cloning them.
  4. Build or revise the frontend.
  5. Review with screenshot verification on desktop and mobile.
  6. Iterate when the screenshot reveals layout, text, spacing, or brand-safety issues.

Quick Start

Install as a Trae Skill

Copy or symlink the .trae/skills/ui-style-distiller/ directory into your project's .trae/skills/ folder.

Run Demo Verification

uv sync
uv run python -m playwright install chromium
uv run python tools/validate_release.py

Generate a Demo Review

uv run python ui-style-distiller/scripts/visual_review.py --target file:///path/to/page.html --style stripe --out runs/review
uv run python ui-style-distiller/scripts/distill_site.py --url https://example.com --out runs/distill

Built-in Style Profiles

Style Best For One-Liner
Apple-like Product Cinematic Product launches, app showcases, hardware Product is the hero, less talk, let space create premium feel
Google/Material System Clarity Forms, settings, productivity tools Clear states, stable components, predictable interactions
Stripe-like SaaS Editorial SaaS, data products, developer platforms Dense but clean, credible and refined
Developer Tool API, CLI, docs, logs, tech consoles Code and status must be real, readable, actionable
Luxury Minimal High-end brands, architecture, galleries Few elements, but every element has quality
Futuristic Interface AI, robotics, 3D, WebGL, immersive tech Cool is allowed, readability is not sacrificed
Editorial Magazine Portfolios, culture, long-form, visual storytelling Magazine rhythm and point of view
Warm Apothecary (Aesop-like) Skincare, fragrance, ceramics, slow craft Warm bone base, terracotta accent, serif-plus-sans
Avant-Garde BW Creative agencies, art institutions, fashion editorials Pure black and white, asymmetric, weight polarisation
Oat Craft Lifestyle, stationery, small e-commerce, gift brands Gentle oat base, brick red accent, handcraft copy
Luxury Accent Boutique services, executive consulting, premium hospitality Oat base, accent under 10%, very small type, slow images

Project Structure

.trae/skills/ui-style-distiller/
  SKILL.md                          # Trae skill entry point

ui-style-distiller/
  SKILL.md                          # Original skill definition (reference)
  agents/openai.yaml                # Agent metadata
  references/
    common-review.md                # Shared visual QA checklist
    inspiration-map.md              # Style direction classification
    reference-sites.md              # 12 reference site distillation library
    distilled-archetypes.md         # 12 archetypes + decision tree + token matrix
    style-profiles/
      apple.md
      google-material.md
      stripe.md
      developer-tool.md
      luxury-minimal.md
      futuristic-interface.md
      editorial-magazine.md
      aesop-warm.md
      avant-bw.md
      oat-craft.md
      luxury-accent.md
  scripts/
    distill_site.py                 # URL distillation script
    visual_review.py                # Screenshot review script
  evals/
    evals.json                      # 6 eval cases

examples/
  stripe-saas-demo.html
  futuristic-ai-demo.html
  apple-product-demo.html
  aesop-warm-demo.html
  aurelian-tea-demo.html
  google-material-demo.html
  style-lab.html

case-studies/
  stripe-saas-demo/
  futuristic-ai-demo/
  apple-product-demo/
  aesop-warm-demo/
  aurelian-tea-demo/
  google-material-demo/
  reference-sites/                  # Vercel, Linear, Resend distillations

tools/
  validate_release.py               # Release validation script

Demo Cases

Case Style What It Proves
Stripe SaaS Demo Stripe-like Clean SaaS/dashboard with credible metrics
Futuristic AI Demo Futuristic Dark AI interface that stays readable
Apple Product Demo Apple-like Minimal product storytelling without copying Apple
Aesop Warm Demo Warm Apothecary Warm apothecary without cloning Aesop
Aurelian Tea Demo Warm Apothecary Same style, different product — style is transferable
Google Material Demo Material System clarity with predictable components
Reference Sites Mixed Real public website distillation (Vercel, Linear, Resend)

What This Is Not

  • Not a website cloner.
  • Not a prompt pack.
  • Not a color/radius/shadow generator.

The value is the loop: style intent → style card/reference distillation → implementation → screenshot review → iteration.

License

MIT

About

Trae/Claude skill that distills high-end website aesthetics into reusable frontend design rules, then verifies results with desktop & mobile screenshots

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages