one-man-company/skills-contextmanager/frontend-design

Claude Code and agent skill by one-man-company/skills-contextmanager

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Design thinking and decision-making for web UI. Use when designing components, layouts, color schemes, typography, or creating aesthetic interfaces. Teaches principles, not fixed values.

Install

npx vskill@latest install one-man-company/skills-contextmanager/frontend-design

SKILL.md

Frontend Design System

Philosophy: Every pixel has purpose. Restraint is luxury. User psychology drives decisions.
Core Principle: THINK, don't memorize. ASK, don't assume.

🎯 Selective Reading Rule (MANDATORY)

Read REQUIRED files always, OPTIONAL only when needed:

FileStatusWhen to Read
ux-psychology.mdπŸ”΄ REQUIREDAlways read first!
color-system.mdβšͺ OptionalColor/palette decisions
typography-system.mdβšͺ OptionalFont selection/pairing
visual-effects.mdβšͺ OptionalGlassmorphism, shadows, gradients
animation-guide.mdβšͺ OptionalAnimation needed
motion-graphics.mdβšͺ OptionalLottie, GSAP, 3D
decision-trees.mdβšͺ OptionalContext templates
πŸ”΄ ux-psychology.md = ALWAYS READ. Others = only if relevant.

πŸ”§ Runtime Scripts

Execute these for audits (don't read, just run):

ScriptPurposeUsage
scripts/ux_audit.pyUX Psychology & Accessibility Auditpython scripts/ux_audit.py <project_path>

⚠️ CRITICAL: ASK BEFORE ASSUMING (MANDATORY)

STOP! If the user's request is open-ended, DO NOT default to your favorites.
When User Prompt is Vague, ASK:

Color not specified? Ask:

"What color palette do you prefer? (blue/green/orange/neutral/other?)"

Style not specified? Ask:

"What style are you going for? (minimal/bold/retro/futuristic/organic?)"

Layout not specified? Ask:

"Do you have a layout preference? (single column/grid/asymmetric/full-width?)"
β›” DEFAULT TENDENCIES TO AVOID (ANTI-SAFE HARBOR):
AI Default TendencyWhy It's BadThink Instead
Bento Grids (Modern ClichΓ©)Used in every AI designWhy does this content NEED a grid?
Hero Split (Left/Right)Predictable & BoringHow about Massive Typography or Vertical Narrative?
Mesh/Aurora GradientsThe "new" lazy backgroundWhat's a radical color pairing?
GlassmorphismAI's idea of "premium"How about solid, high-contrast flat?
Deep Cyan / Fintech BlueSafe harbor from purple banWhy not Red, Black, or Neon Green?
"Orchestrate / Empower"AI-generated copywritingHow would a human say this?
Dark background + neon glowOverused, "AI look"What does the BRAND actually need?
Rounded everythingGeneric/SafeWhere can I use sharp, brutalist edges?
πŸ”΄ "Every 'safe' structure you choose brings you one step closer to a generic template. TAKE RISKS."

1. Constraint Analysis (ALWAYS FIRST)

Before any design work, ANSWER THESE or ASK USER:

ConstraintQuestionWhy It Matters
TimelineHow much time?Determines complexity
ContentReady or placeholder?Affects layout flexibility
BrandExisting guidelines?May dictate colors/fonts
TechWhat stack?Affects capabilities
AudienceWho exactly?Drives all visual decisions
Audience β†’ Design Approach
AudienceThink About
Gen ZBold, fast, mobile-first, authentic
MillennialsClean, minimal, value-driven
Gen XFamiliar, trustworthy, clear
BoomersReadable, high contrast, simple
B2BProfessional, data-focused, trust
LuxuryRestrained elegance, whitespace

2. UX Psychology Principles

Core Laws (Internalize These)
LawPrincipleApplication
Hick's LawMore choices = slower decisionsLimit options, use progressive disclosure
Fitts' LawBigger + closer = easier to clickSize CTAs appropriately
Miller's Law~7 items in working memoryChunk content into groups
Von RestorffDifferent = memorableMake CTAs visually distinct
Serial PositionFirst/last remembered mostKey info at start/end
Emotional Design Levels
VISCERAL (instant) β†’ First impression: colors, imagery, overall feel
BEHAVIORAL (use) β†’ Using it: speed, feedback, efficiency
REFLECTIVE (memory) β†’ After: "I like what this says about me"
Trust Building
  • Security indicators on sensitive actions
  • Social proof where relevant
  • Clear contact/support access
  • Consistent, professional design
  • Transparent policies

3. Layout Principles

Golden Ratio (Ο† = 1.618)
Use for proportional harmony:
β”œβ”€β”€ Content : Sidebar = roughly 62% : 38%
β”œβ”€β”€ Each heading size = previous Γ— 1.618 (for dramatic scale)
β”œβ”€β”€ Spacing can follow: sm β†’ md β†’ lg (each Γ— 1.618)
8-Point Grid Concept
All spacing and sizing in multiples of 8:
β”œβ”€β”€ Tight: 4px (half-step for micro)
β”œβ”€β”€ Small: 8px
β”œβ”€β”€ Medium: 16px
β”œβ”€β”€ Large: 24px, 32px
β”œβ”€β”€ XL: 48px, 64px, 80px
└── Adjust based on content density
Key Sizing Principles
ElementConsideration
Touch targetsMinimum comfortable tap size
ButtonsHeight based on importance hierarchy
InputsMatch button height for alignment
CardsConsistent padding, breathable
Reading width45-75 characters optimal

4. Color Principles

60-30-10 Rule
60% β†’ Primary/Background (calm, neutral base)
30% β†’ Secondary (supporting areas)
10% β†’ Accent (CTAs, highlights, attention)
Color Psychology (For Decision Making)
If You Need...Consider HuesAvoid
Trust, calmBlue familyAggressive reds
Growth, natureGreen familyIndustrial grays
Energy, urgencyOrange, redPassive blues
Luxury, creativityDeep Teal, Gold, EmeraldCheap-feeling brights
Clean, minimalNeutralsOverwhelming color
Selection Process
  1. What's the industry? (narrows options)
  2. What's the emotion? (picks primary)
  3. Light or dark mode? (sets foundation)
  4. ASK USER if not specified

For detailed color theory: color-system.md


5. Typography Principles

Scale Selection
Content TypeScale RatioFeel
Dense UI1.125-1.2Compact, efficient
General web1.25Balanced (most common)
Editorial1.333Readable, spacious
Hero/display1.5-1.618Dramatic impact
Pairing Concept
Contrast + Harmony:
β”œβ”€β”€ DIFFERENT enough for hierarchy
β”œβ”€β”€ SIMILAR enough for cohesion
└── Usually: display + neutral, or serif + sans
Readability Rules
  • Line length: 45-75 characters optimal
  • Line height: 1.4-1.6 for body text
  • Contrast: Check WCAG requirements
  • Size: 16px+ for body on web

For detailed typography: typography-system.md


6. Visual Effects Principles

Glassmorphism (When Appropriate)
Key properties:
β”œβ”€β”€ Semi-transparent background
β”œβ”€β”€ Backdrop blur
β”œβ”€β”€ Subtle border for definition
└── ⚠️ **WARNING:** Standard blue/white glassmorphism is a modern clichΓ©. Use it radically or not at all.
Shadow Hierarchy
Elevation concept:
β”œβ”€β”€ Higher elements = larger shadows
β”œβ”€β”€ Y-offset > X-offset (light from above)
β”œβ”€β”€ Multiple layers = more realistic
└── Dark mode: may need glow instead
Gradient Usage
Harmonious gradients:
β”œβ”€β”€ Adjacent colors on wheel (analogous)
β”œβ”€β”€ OR same hue, different lightness
β”œβ”€β”€ Avoid harsh complementary pairs
β”œβ”€β”€ 🚫 **NO Mesh/Aurora Gradients** (floating blobs)
└── VARY from project to project radically

For complete effects guide: visual-effects.md


7. Animation Principles

Timing Concept
Duration based on:
β”œβ”€β”€ Distance (further = longer)
β”œβ”€β”€ Size (larger = slower)
β”œβ”€β”€ Importance (critical = clear)
└── Context (urgent = fast, luxury = slow)
Easing Selection
ActionEasingWhy
EnteringEase-outDecelerate, settle in
LeavingEase-inAccelerate, exit
EmphasisEase-in-outSmooth, deliberate
PlayfulBounceFun, energetic
Performance
  • Animate only transform and opacity
  • Respect reduced-motion preference
  • Test on low-end devices

For animation patterns: animation-guide.md, for advanced: motion-graphics.md


8. "Wow Factor" Checklist

Premium Indicators
  • [ ] Generous whitespace (luxury = breathing room)
  • [ ] Subtle depth and dimension
  • [ ] Smooth, purposeful animations
  • [ ] Attention to detail (alignment, consistency)
  • [ ] Cohesive visual rhythm
  • [ ] Custom elements (not all defaults)
Trust Builders
  • [ ] Security cues where appropriate
  • [ ] Social proof / testimonials
  • [ ] Clear value proposition
  • [ ] Professional imagery
  • [ ] Consistent design language
Emotional Triggers
  • [ ] Hero that evokes intended emotion
  • [ ] Human elements (faces, stories)
  • [ ] Progress/achievement indicators
  • [ ] Moments of delight

9. Anti-Patterns (What NOT to Do)

❌ Lazy Design Indicators
  • Default system fonts without consideration
  • Stock imagery that doesn't match
  • Inconsistent spacing
  • Too many competing colors
  • Walls of text without hierarchy
  • Inaccessible contrast
❌ AI Tendency Patterns (AVOID!)
  • Same colors every project
  • Dark + neon as default
  • Purple/violet everything (PURPLE BAN βœ…)
  • Bento grids for simple landing pages
  • Mesh Gradients & Glow Effects
  • Same layout structure / Vercel clone
  • Not asking user preferences
❌ Dark Patterns (Unethical)
  • Hidden costs
  • Fake urgency
  • Forced actions
  • Deceptive UI
  • Confirmshaming

10. Decision Process Summary

For EVERY design task:
1. CONSTRAINTS
└── What's the timeline, brand, tech, audience?
└── If unclear β†’ ASK
2. CONTENT
└── What content exists?
└── What's the hierarchy?
3. STYLE DIRECTION
└── What's appropriate for context?
└── If unclear β†’ ASK (don't default!)
4. EXECUTION
└── Apply principles above
└── Check against anti-patterns
5. REVIEW
└── "Does this serve the user?"
└── "Is this different from my defaults?"
└── "Would I be proud of this?"

Reference Files

For deeper guidance on specific areas:


Related Skills

SkillWhen to Use
frontend-design (this)Before coding - Learn design principles (color, typography, UX psychology)
[web-design-guidelines](../web-design-guidelines/SKILL.md)After coding - Audit for accessibility, performance, and best practices

Post-Design Workflow

After implementing your design, run the audit:

1. DESIGN β†’ Read frontend-design principles ← YOU ARE HERE
2. CODE β†’ Implement the design
3. AUDIT β†’ Run web-design-guidelines review
4. FIX β†’ Address findings from audit
Next Step: After coding, use web-design-guidelines skill to audit your implementation for accessibility, focus states, animations, and performance issues.

Remember: Design is THINKING, not copying. Every project deserves fresh consideration based on its unique context and users. Avoid the Modern SaaS Safe Harbor!

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
69
Repository forks
15
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 14 May 2026, 5 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/one-man-company/skills-contextmanager/frontend-design/badge)](https://verified-skill.com/skills/one-man-company/skills-contextmanager/frontend-design)

Something wrong with this skill or its page? Tell us.