mcpField
F
frontend-design

frontend-design

github.com/majesticlabs-devDesign & UI50162 installsUpdated 7w ago
Repository

About frontend-design

frontend-design is a skill for building production-grade web interfaces, aimed at developers working across several frameworks. It routes design and implementation needs to focused guidance and reference materials.

Key features

  1. 01Routes design tasks to specialized skills
  2. 02Parses DESIGN.md tokens
  3. 03Provides React and Vue patterns
  4. 04Covers Rails and Hotwire patterns
  5. 05Includes accessibility and validation guidance

Use cases

  1. 01Apply project design tokens to an interface
  2. 02Choose a visual direction for a web project
  3. 03Implement motion in React or Vue
  4. 04Review interface accessibility and responsiveness

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill frontend-design

After installing, type/frontend-designin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
css-polish-tips.md
design-md-format.md
landing-page-design.md
motion-patterns.md
rails-hotwire.md
react-vue.md
ui-implementation-guide.md
web-interface-standards.md

Details

From the project README

Frontend Design

Orchestrator for creating distinctive, production-grade interfaces.

Skill Routing

Based on needs, invoke specialized skills:

NeedSkillContent
Design tokensSee references/design-md-format.mdDESIGN.md token parsing, export
Design directionfrontend-design-philosophyAesthetic extremes, anti-patterns
CSS implementationfrontend-css-patternsTypography, color, motion, spatial
React/Vue patternsSee references/react-vue.mdFramer Motion, Vue Transitions
Rails/HotwireSee references/rails-hotwire.mdViewComponent, Stimulus, Turbo

Framework Resources

React/Vue

See references/react-vue.md for:

  • Framer Motion staggered animations
  • Vue Transition/TransitionGroup patterns
  • Component architecture with design tokens
Rails/Hotwire

See references/rails-hotwire.md for:

  • ViewComponent with sidecar styles
  • Stimulus reveal/toggle controllers
  • Turbo Frames & Streams with animations
  • ERB layout patterns with content_for
  • CSS design tokens and import order

Implementation Resources

ResourceContent
ui-implementation-guide.mdTypography rules, color, forms, buttons, tables
motion-patterns.mdPage load, scroll triggers, hover, performance
css-polish-tips.mdAccessibility, scroll, focus, defensive CSS
landing-page-design.mdSection design, palettes, typography pairings

Workflow

1. Check for design tokens
   - Look for DESIGN.md in project root
   - If found: parse tokens, use as source of truth for colors, typography, spacing
   - See references/design-md-format.md for format details

2. Clarify design direction
   - Invoke `frontend-design-philosophy` for aesthetic guidance
   - User picks: brutalist, minimalist, luxury, playful, etc.

3. Implement CSS foundation
   - Invoke `frontend-css-patterns` for typography, color, motion
   - If DESIGN.md tokens exist: map tokens to CSS variables or Tailwind theme
   - Otherwise: customize Tailwind or write CSS variables

4. Apply framework patterns
   - React/Vue: Use references/react-vue.md
   - Rails/Hotwire: Use references/rails-hotwire.md

5. Polish and validate
   - Use references/css-polish-tips.md for accessibility
   - Use references/motion-patterns.md for animation
   - Run validation checklist from philosophy skill

Quick Reference

Web Interface Standards

See references/web-interface-standards.md for:

  • Keyboard operability requirements (WAI-ARIA widget patterns)
  • Touch target sizing (44px mobile, 24px desktop)
  • Form behavior (Enter submission, autocomplete, mobile keyboards)
  • Animation accessibility (prefers-reduced-motion)
  • Network performance budgets (POST < 500ms, virtualization thresholds)

Validation Checklist:

  • Distinctive typography (not default fonts)
  • Intentional, limited color palette
  • Layout breaks predictable patterns
  • Motion serves purpose
  • Clear design direction
  • Responsive quality maintained
  • Accessibility preserved

Comments

Markdown supported