Skills

Frontend Design

前端界面设计原则:视觉层次、布局、色彩、间距、响应式和避免“AI 味”页面。

Install

npx skills add OpenBMB/PilotDeck --skill frontend-design -g -a claude-code -y
Repository
OpenBMB/PilotDeck4.9k
Category
Engineering
Updated
6d ago
License
AGPL-3.0
Context cost
Lightabout 280 tokens
Runs scripts
No, instructions only

What it does

前端界面设计原则:视觉层次、布局、色彩、间距、响应式和避免“AI 味”页面。

Frontend Design

Use this skill when creating or reviewing frontend UI where visual quality matters.

Workflow

  1. Clarify the product context, target user, and page goal.
  2. Establish visual hierarchy before writing code: primary action, secondary action, supporting content.
  3. Choose a deliberate visual direction instead of generic gradients and cards.
  4. Use consistent spacing, type scale, color tokens, border radius, shadows, and component rhythm.
  5. Design responsive states, loading states, empty states, error states, and disabled states.
  6. Verify the result in a browser or preview surface when available.

Review Checklist

  • The page has a clear focal point and primary action.
  • Components align to a consistent grid.
  • Typography has enough contrast and hierarchy.
  • Color is meaningful, not decorative noise.
  • The UI works at common mobile/tablet/desktop widths.
  • Empty/loading/error states are intentional.

PilotDeck Migration Note

  • Source inspiration: Anthropic frontend-design skill and general frontend design best practices.
  • This is a PilotDeck-native draft, not a verbatim copy.

More in Engineering