frontend-design

Apply design thinking and UX psychology to frontend UI decisions.

3|2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/grasberg/sofia --skill frontend-design-grasberg
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frontend-design
Source: https://github.com/grasberg/sofia/tree/main/cmd/sofia/internal/onboard/antigravity-kit/.agent/skills/frontend-design
Command: npx skills add https://github.com/grasberg/sofia --skill frontend-design-grasberg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a structured framework for making UI design decisions by applying design thinking, UX psychology, and accessibility patterns to frontend work, reducing guesswork and enabling cohesive, user-centered interfaces.

Core Features & Use Cases

  • Principles-based frontend design guidance covering color, typography, layout, motion, and accessibility.
  • Decision templates and heuristics (Hick's Law, Fitts', Miller's, Von Restorff, Serial Position) to guide design choices.
  • Distinct sections for trust and emotional design, cognitive load management, and visual systems to build reliable products.
  • Reusable prompts and guidelines for design reviews, audits, and design system creation.

Quick Start

Describe your UI design task (e.g., choose a color system for a dark-mode dashboard), and I will apply frontend-design principles to deliver targeted guidance.

Frequently Asked Questions about frontend-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a cohesive color system for a dark-mode web dashboard?

Create a cohesive color system by applying the 60-30-10 color rule to distribute primary, secondary, and accent colors proportionally. This establishes visual hierarchy and balance, ensuring your dark-mode dashboard interface remains accessible and readable without overwhelming the user.

What UX psychology principles guide frontend layout and motion design decisions?

Frontend layout and motion design decisions are guided by heuristics like Hick's Law, Fitts' Law, Miller's Law, and the Von Restorff effect. These principles reduce cognitive load, optimize interaction target sizes, structure progressive disclosure, and highlight critical UI elements effectively.

How do I build a modular typography scale for web apps and marketing sites?

Build a modular typography scale by defining proportional type sizes and applying typographic hierarchy rules. This ensures consistent text rendering across web apps and marketing sites, establishing clear visual relationships between headings, body text, and UI labels.

What's the best way to manage cognitive load when designing complex web interfaces?

Manage cognitive load in complex web interfaces by applying progressive disclosure patterns and trust-based emotional design. This approach sequences information presentation, revealing advanced features only when needed to prevent overwhelming the user during their workflow.

Can I use this framework to audit an existing design system for accessibility?

Yes, you can audit an existing design system using the included reusable prompts and guidelines. The framework evaluates accessibility patterns, visual systems, and cognitive load management to identify gaps and deliver actionable governance improvements.

When should I apply progressive disclosure patterns in frontend UI?

Apply progressive disclosure patterns when frontend UI screens contain dense information or complex workflows. This technique sequences content reveal based on user interaction, reducing initial cognitive load and streamlining the decision-making process for web apps and dashboards.