Frontend Super-Skill v2.0
Distinctive design requires explicit constraints. ~400 tokens of focused guidance dramatically improves output. GSD orchestrates the workflow; this skill provides the design domain expertise.
Philosophy
- Anti-AI-slop: Without explicit direction, output converges to Inter font, purple gradients, 3-column cards. Every project needs a BOLD aesthetic commitment BEFORE coding.
- Progressive disclosure: This skill has 14 reference files. NEVER load all at once. Load only what the current task needs.
- Structured evaluation: Design quality is scored 0-100 per category with JSON output. Not subjective "looks good."
- Performance is design: A beautiful site that takes 5s to load is a failure. CSS-first animation, Islands architecture, and native browser APIs replace heavy JS libraries wherever possible.
- Creative disruption: Before design brainstorming, inject creative seeds to break pattern-thinking. Read
~/.claude/skills/creative-seeds/seeds.mdand pick 3 random seeds for cognitive disruption. - Honest ceiling: For brand expression, emotional resonance, and cultural sensitivity, flag for human designer review. AI excels at 80% of implementation; the 20% requiring human judgment should be identified, not hidden.
Before Any Visual Work
STOP. Do these steps before writing any visual code:
Recommended: Run /design-intake First
The /design-intake command uses guided questions (AskUserQuestion) to configure the skill optimally:
- 4 context questions determine: work type, design direction, quality target, RTL needs
- 1-2 follow-up questions narrow the specifics based on context
- Auto-configures: which references to load, command sequence, score thresholds
- Then executes — no additional confirmation needed
This is the MOST EFFICIENT way to use this skill. It prevents loading unnecessary references and gives you a tailored execution plan.
Manual Alternative (if you skip intake):
-
Commit to ONE aesthetic direction — Not "clean and modern." Be specific: "warm editorial with serif headlines, cream backgrounds, watercolor textures, and staggered scroll reveals."
-
Ask: "What makes this UNFORGETTABLE?" — If you can't answer, the direction isn't bold enough.
-
Check for
<frontend_aesthetics>block in the project's CLAUDE.md. If present, follow it strictly. If absent, create one usingtemplates/aesthetics-block.md. -
If reference URL provided: Run
/extract-reference [URL]to extract principles.
Minimal Aesthetics Block (always enforce)
xml<frontend_aesthetics> No AI slop. Ban Inter/Roboto/Arial. Extreme weight contrast (200 vs 800). Size jumps 3x+. 8pt spacing grid. Internal <= external spacing. OKLCH colors. Tinted neutrals. One orchestrated animation moment. prefers-reduced-motion. Max 0.6s UI animations. CSS-first: scroll-driven animations, View Transitions, anchor positioning before JS. </frontend_aesthetics>
Design System Quick Reference
Typography
- BANNED: Inter, Roboto, Arial, Open Sans, system-ui (as primary)
- Required: Weight contrast 200 vs 800/900 (never 400 vs 600)
- Required: Size jumps 3x+ for headings (not 1.5x)
- Preferred: Variable fonts (single file, continuous weight/width range, smaller payload)
- Hebrew: No letter-spacing. No italics. Line-height 1.7-1.8.
- Full reference:
references/typography-system.md
Spacing
- Base: 8pt grid (4, 8, 12, 16, 24, 32, 48, 64, 96, 128)
- CRITICAL: Internal spacing <= external spacing (Gestalt proximity)
- Sections: 48-64px minimum between page sections
- Full reference:
references/spacing-system.md
Color
- Rule: 60/30/10 (dominant, secondary, accent)
- Required: Tinted neutrals (never pure gray)
- Required: WCAG AA contrast (4.5:1 body, 3:1 large)
- Preferred: OKLCH color space (perceptually uniform)
- Full reference:
references/color-system.md
Motion & Animation
- Focus: ONE orchestrated moment per section, not scattered animations
- CSS-first: Use CSS scroll-driven animations and View Transitions API before reaching for JS libraries
- Libraries: Motion (formerly Framer Motion, MIT) for React; GSAP for complex timelines; Lenis (3KB) for smooth scroll
- Limits: Max 0.6s UI, 1.2s decorative. Transform + opacity only.
- Required:
prefers-reduced-motionsupport - Full reference:
references/motion-system.md
CSS 2026 (NEW)
- Production-ready: CSS nesting,
:has(), container queries, scroll-driven animations, View Transitions - Progressive enhancement:
@scope, anchor positioning,if(), CSS masonry - Rule: Prefer native CSS features over JS libraries — smaller bundle, better performance
- Full reference:
references/css-2026.md
Reference Router
Load ONLY the reference file needed for your current task:
| Working on... | Load this reference |
|---|---|
| Font selection, type scale, font pairing | references/typography-system.md |
| Spacing, layout grid, composition | references/spacing-system.md |
| Color palette, themes, contrast | references/color-system.md |
| Animations, transitions, Motion/GSAP/Lenis | references/motion-system.md |
| CSS 2026: scroll animations, View Transitions, anchor positioning, @scope | references/css-2026.md |
| Hebrew/RTL site | references/rtl-hebrew.md |
| Mobile UX, touch targets, thumb zones, safe areas | references/mobile-ux.md |
| Design review, quality scoring | references/evaluation-criteria.md |
| What NOT to do, common mistakes | references/anti-patterns.md |
| Chrome, Playwright MCP, Figma MCP | references/visual-feedback.md |
| React, Vite, Tailwind, framework tips | references/framework-tips.md |
| Testing, TDD, accessibility, Lighthouse | references/testing-verification.md |
| Performance optimization, Core Web Vitals, bundle size | references/performance-optimization.md |
| 3D web: Three.js, R3F, Spline, WebGPU | references/3d-web.md |
Commands
Start Here
| Command | Purpose |
|---|---|
/design-intake | Recommended first step. Guided questions to configure optimal workflow |
Design Evaluation
| Command | Purpose |
|---|---|
/evaluate-design [path] | Score design quality 0-100 with structured JSON |
/progressive-refine [path] | Staged improvement: Layout > Typo > Color > Space > Motion |
/extract-reference [URL] | Extract design principles from a reference URL |
Design Critique & Polish
| Command | Purpose |
|---|---|
/audit [path] | Comprehensive 8-category design audit |
/critique [path] | Generator-Critic evaluation (read-only, no changes) |
/polish [path] | Final micro-detail pass (transitions, focus, touch targets) |
/bolder [path] | Strengthen visual hierarchy and distinctiveness |
Development
| Command | Purpose |
|---|---|
/new-component [Name] | Scaffold React component with TS, Tailwind, Motion, tests |
/fix-and-verify [bug] | TDD bug fix with visual verification |
/responsive-check [path] | Test at 375px, 768px, 1280px breakpoints |
/perf-audit [path] | Lighthouse audit, fix top 3 issues |
Mobile UX
| Command | Purpose |
|---|---|
/mobile-audit [path] | Comprehensive mobile UX audit — thumb zones, touch targets, safe areas, performance |
RTL/Hebrew
| Command | Purpose |
|---|---|
/rtl-validate [path] | Validate CSS logical properties, Hebrew typography rules |
Build-Verify-Iterate Loop
The core workflow for any visual frontend work:
Build initial version | v /evaluate-design --> JSON score (0-100) | Score >= 70? / \ YES NO | | v v /polish /progressive-refine | (Layout > Typo > Color > Space > Motion) v | DONE v /evaluate-design again | Score >= 70 or 3 iterations? / \ YES NO | | v v /polish Flag for human review | v DONE
Visual Feedback Setup (from frontend-pro)
Claude Code cannot see the browser by default. Choose the right tool:
| Tool | Best For | Setup |
|---|---|---|
claude --chrome | Daily dev, uses your auth | Install "Claude in Chrome" extension |
| Playwright MCP | CI/CD, automated testing, headless | claude mcp add playwright -- cmd /c npx -y @playwright/mcp@latest |
| Figma MCP | Design-to-code from Figma files | claude mcp add --transport http figma https://mcp.figma.com/mcp |
| Screenshot paste | Quick one-off visual checks | Win+Shift+S → Ctrl+V |
Critical: Say "use playwright MCP" explicitly the first time, or Claude may run Playwright via Bash instead.
Full reference: references/visual-feedback.md
Context Management (from frontend-pro)
When to /clear
- Between unrelated tasks (always)
- After correcting Claude 2+ times on the same issue
- At ~80% context utilization
- When Claude asks about things already discussed
Document & Clear (preferred over /compact)
The automatic compression is opaque and loses important details:
- "Write your current plan and progress to
PROGRESS.md" /clear- "Read
PROGRESS.mdand continue"
Animation Stack — Decision Matrix
| Need | Best Choice | Size | License |
|---|---|---|---|
| Simple transitions | CSS-native / TailwindCSS Motion | 0-5KB | N/A |
| Scroll-driven effects | CSS scroll-timeline | 0KB | Native |
| Page transitions | View Transitions API | 0KB | Native |
| React project animations | Motion (formerly Framer Motion) | ~85KB | MIT |
| Complex scroll timelines | GSAP + ScrollTrigger | ~78KB | Free (Webflow-restricted) |
| Smooth scrolling | Lenis | ~3KB | MIT |
| 3D scene animation | Theatre.js | Varies | Apache 2.0 |
| Tooltip/dropdown positioning | CSS anchor positioning | 0KB | Native |
Rule: Always try CSS-native first. Add JS libraries only when CSS can't achieve the effect.
MediaWave Landing Page Integration
This skill integrates bidirectionally with ~/.claude/skills/mediawave-landing-page.
When MediaWave activates frontend-super:
| MediaWave Phase | Frontend-Super Integration |
|---|---|
| Phase 2: Inspiration | Run /extract-reference on chosen reference URLs to produce <frontend_aesthetics> block |
| Phase 3: Design System | Use references/color-system.md for OKLCH palette, references/typography-system.md for font pairing rules, references/spacing-system.md for Gestalt proximity |
| Phase 5: Build | After each section (Hero, Features, Testimonials, CTA, FAQ, Contact), run /evaluate-design. If score < 70, run /progressive-refine |
| Phase 5: Build (Motion) | Use references/motion-system.md for Motion/Lenis implementation of animations found in Phase 3 |
| Phase 5: Build (RTL) | Load references/rtl-hebrew.md — more comprehensive than MediaWave's built-in RTL guide |
| Phase 5: Build (Mobile) | Load references/mobile-ux.md — MediaWave mentions mobile-first but lacks detailed mobile reference |
| Phase 6: Optimize | Run /perf-audit, /mobile-audit, /rtl-validate as quality gates |
What frontend-super gains from MediaWave:
- Client workflow pipeline (proposal, discovery, content collection, handoff) — use MediaWave when building for a client
- Hebrew copywriting patterns (StoryBrand, PAS/AIDA/4U variants) — load from MediaWave's
references/phase-4-copy.md - SEO implementation (10 reference files + 5 scripts) — load from MediaWave's
references/seo/ - Israeli legal compliance (accessibility statement, privacy policy, terms) — load from MediaWave's
templates/ - Font research agent — MediaWave has a dedicated agent that searches beyond standard Hebrew fonts
- Animation research agent — MediaWave has an agent that sources industry-specific animations
Cross-Reference Rule:
- If the user is building a client landing page: suggest MediaWave skill first
- If the user is building any frontend component/app: use frontend-super
- Both can coexist — MediaWave handles business pipeline, frontend-super handles design quality
Performance-First Design
Performance is not optional polish — it's a design constraint.
CSS-First Replacement Matrix
| JS Library | CSS-Native Replacement | Savings |
|---|---|---|
| Scroll animation library (45KB+) | CSS scroll-timeline + animation-timeline | 45KB+ |
| Tooltip/dropdown positioning (200+ LOC) | CSS anchor positioning (4 lines) | Significant |
| Masonry layout library | CSS display: masonry or grid-template-rows: masonry | Library size |
| Page transition library | View Transitions API | Library size |
:has() + conditional JS | CSS :has() selector | JS eliminated |
Performance Targets (2026)
| Metric | Target | What it measures |
|---|---|---|
| LCP | < 2.5s | Loading speed |
| INP | < 200ms | Responsiveness (replaced FID) |
| CLS | < 0.1 | Visual stability |
| Initial JS bundle | < 100KB | Bundle efficiency |
Architecture for Speed
- Islands Architecture (Astro): Ships 0-15KB JS vs 85-250KB for typical Next.js
- Variable fonts: Single file replaces 4-6 weight files
- CSS-first animation: Zero JS overhead for scroll effects
- AVIF/WebP images: 50-80% smaller than JPEG/PNG
Full reference: references/performance-optimization.md
3D Web Quick Reference
| Scenario | Tool | Notes |
|---|---|---|
| Complex custom 3D | Three.js | 270x more downloads than alternatives. WebGPU support since r171 |
| 3D in React app | React Three Fiber (R3F) | Declarative JSX for Three.js |
| Designer, no code | Spline | First animation in < 1 hour. Free plan available |
| 3D scene timeline | Theatre.js + Three.js | After Effects-level control in browser |
Performance: Draco compression = 90-95% geometry reduction. KTX2 = ~10x GPU memory reduction. LOD = 30-40% frame rate improvement.
Full reference: references/3d-web.md
Design Trends That Stand Out (2025-2026)
Reference these when committing to an aesthetic direction:
- Kinetic Typography — Text that reacts to cursor, scroll, or audio. Hero identity, not decoration.
- Exaggerated Typographic Hierarchy — Dramatically oversized type (200px+) juxtaposed with 14px text.
- Motion as Brand Identity — Consistent easing curves, timing, and interaction patterns as recognizable as the logo.
- Scroll-Driven Storytelling — Narrative flow replacing "sections stacked on a page."
- Dopamine Design — Bright, saturated Y2K-inspired palettes replacing muted minimalism.
- 3D Product Experiences — Interactive models, scroll-triggered 3D, AR previews.
- Context-Aware Micro-Animations — Animations responding to user behavior, not fixed timelines.
Benchmark: Lando Norris site — Awwwards 2025 Site of the Year.
Built on Webflow + GSAP: reactive blob overlays, fluid animated background, GSAP-driven transitions, optimized despite rich animation.
Component Library Recommendations
| Library | Style | Best For |
|---|---|---|
| shadcn/ui | Copy-paste, fully owned | Maximum design control. You own every component |
| Radix UI | Unstyled primitives | Building completely custom design systems |
| React Aria | Accessible primitives | ARIA best practices baked in |
| Magic UI | Animated components | Text effects, animated borders |
| Aceternity UI | Dramatic scroll effects | 3D cards, spotlight, parallax |
Rule: Own your components. Use shadcn-style "copy into your project" approaches. Design tokens as the foundation — change the tokens, change the entire system.
GSD Integration
When used with GSD orchestration, this skill auto-activates as a Frontend Domain Profile.
How it works:
- During
gsd init/gsd discuss: GSD detects frontend keywords in PROJECT.md - Offers frontend domain consultation with 5 targeted questions
- Saves design decisions to CONTEXT.md
## Domain Decisionssection - During
gsd plan: Task templates reference specific frontend-super references - During
gsd execute: Each task loads only the relevant reference files - During
gsd verify: Frontend verification checklist is appended to standard checks
Integration files:
gsd-integration/frontend-domain-profile.md— Detection, questions, routinggsd-integration/task-templates.md— XML task templates for PLAN-X.mdgsd-integration/verify-checklist.md— Frontend verification checklist
Context engineering:
- NEVER load all references at once (violates GSD context engineering principles)
- Each task loads: SKILL.md (~400 lines) + 1-2 reference files (~200-500 lines each)
- Total context per task: ~900 lines (~1200 tokens) — well within GSD budget
Production Readiness Cross-Reference
For production deployment validation, use the production-first skill:
~/.claude/skills/production-first— Security, RLS, auth, CI/CD checklists- Run
/prod-checkbefore any deployment - Integrates with GSD workflow
For systematic performance optimization, the performance-optimization reference in this skill covers:
- 6-phase optimization workflow (from pagespeed-optimizer skill, integrated here)
- Core Web Vitals targets and measurement
- Bundle analysis and code splitting
- Full reference:
references/performance-optimization.md
RTL Mode
When the project has dir="rtl" or is a Hebrew project:
- Always load
references/rtl-hebrew.mdalongside any other reference - CSS logical properties ONLY — no margin-left/right, padding-left/right
- Hebrew typography: no letter-spacing, no italics, line-height 1.7-1.8
- Font stack: Hebrew font first (Heebo, Rubik, Assistant, Alef, or custom)
- Animations: Enter from RIGHT (x: -20 instead of x: 20)
- Before committing: Run
/rtl-validateto catch violations
Mobile UX Mode
When building mobile-first UI or optimizing for touch devices:
- Always load
references/mobile-ux.mdas the primary mobile reference - Thumb zone design: Primary CTAs in bottom 30% of viewport
- Touch targets: Minimum 44x44px (48px preferred), 8px spacing between targets
- Safe areas:
viewport-fit=covermeta tag +env(safe-area-inset-*)on fixed elements - Typography:
font-size: 1rem(16px) minimum for body AND inputs (prevents iOS zoom) - Viewport height: Use
100dvhinstead of100vh(fixes mobile Safari) - Performance: Target < 500KB initial load, LCP < 2.5s on 4G
- Before shipping: Run
/mobile-auditfor structured mobile quality scoring (0-100)
Mobile + RTL:
For Hebrew/Arabic mobile projects, load BOTH references/mobile-ux.md AND references/rtl-hebrew.md. The mobile reference includes a dedicated RTL Mobile Considerations section.
Windows Compatibility
All commands in this skill use Windows-compatible syntax:
- PowerShell for shell commands (no bash, no chmod, no source)
- Backslash paths where applicable
npxfor tool execution (npx lighthouse, npx pa11y, npx tsc)npm runfor project scripts
Templates
Quick-start files for new projects:
| Template | Purpose |
|---|---|
templates/claude-md-frontend.md | CLAUDE.md template for React + Vite + Tailwind |
templates/aesthetics-block.md | Aesthetics block snippets (full, minimal, Hebrew) |
templates/design-tokens-template.md | CSS custom properties starter with Tailwind mapping |
Limitations & Human Checkpoints
Flag for human review when:
- Brand expression requires emotional resonance beyond technical implementation
- Cultural context needs nuanced understanding (Hebrew idioms, regional preferences)
- Spatial layout decisions require precise visual alignment (AI spatial reasoning is limited)
- Dark mode color choices for complex component systems
- Design direction is "make it feel [emotion]" rather than "implement [specification]"
What this skill does well:
- Enforcing design system consistency
- Catching anti-patterns and accessibility issues
- Structured evaluation with quantified metrics
- Progressive refinement through staged passes
- RTL/Hebrew technical compliance
- Mobile UX auditing (thumb zones, touch targets, safe areas, performance)
- CSS 2026 feature guidance and implementation
- Performance optimization with CSS-first approach
- Animation stack selection and implementation (Motion, GSAP, Lenis, CSS-native)
- MediaWave integration for client landing pages
Memory
Cross-session learnings are stored in MEMORY.md. Commands like /evaluate-design and /audit may append notable findings there. Read MEMORY.md at session start if working on a project with previous frontend-super history.


