본문으로 건너뛰기
cccskills
무료GitHub에 공개

skill-frontend-design

Design precise, production-grade enterprise UI — dashboards, admin panels, SaaS interfaces, and data-heavy applications. Use this skill for professional software interfaces that need Jony Ive-level craft: clean, minimal, functional, with intentional personality. Do NOT use for creative landing pages, marketing sites, or experimental/artistic frontends.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md10.0 KB
  • TEMPLATES.md16.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Enterprise UI Design Skill

Build polished, professional interfaces for enterprise software, SaaS dashboards, admin panels, and data-heavy applications. Every pixel intentional. No generic AI aesthetics.

When to use this skill: Dashboards, admin interfaces, SaaS products, data tables, settings pages, internal tools, analytics views, multi-panel layouts, form-heavy interfaces.


Integration with PWDEV-CODE

This skill integrates into the PWDEV-CODE workflow at multiple phases:

In SPEC.md (DESIGN phase — agent-architect)

When this skill is active, the architect MUST add to SPEC.md:

Section 1 — Persona: Include "skill-frontend-design" in Active Skills.

Section 5 — Quality Criteria: Add:

  • Design direction explicitly chosen (not defaulted)
  • 4px grid for all spacing
  • Consistent border-radius system
  • ONE depth strategy throughout
  • Four-level text contrast hierarchy
  • Color used only for meaning (status, action, error)
  • Navigation context present (sidebar/topnav, location, user)
  • Monospace for all data values

Section 7 — Prohibitions: Add:

  • No native form elements in styled UI
  • No multiple accent colors in one interface
  • No generic AI aesthetics (purple gradients, oversized corners, excessive shadows)
  • No asymmetric padding without clear reason

In PLAN.md (PLAN phase — agent-planner)

When this skill is active, tasks that involve UI MUST include in "Required Context":

- Skill: skills/skill-frontend-design/SKILL.md — read before implementing UI components
- Skill: skills/skill-frontend-design/TEMPLATES.md — reference patterns for common components

In REVIEW (REVIEW phase — agent-code-reviewer + agent-qa)

The code reviewer MUST check:

  • Design direction was committed to (not generic defaults)
  • Spacing follows 4px grid
  • Depth strategy is consistent
  • Color is used for meaning only

In VERIFY.md (VERIFY phase — agent-verifier)

Add to verification checklist:

## Skill: frontend-design
| Item | Status | Evidence |
|------|:------:|----------|
| Design direction chosen | ✅/❌ | [which direction] |
| 4px grid spacing | ✅/❌ | [spot check 3 components] |
| Consistent radius | ✅/❌ | [all use same system] |
| ONE depth strategy | ✅/❌ | [borders-only / shadows / surface] |
| Monospace for data | ✅/❌ | [numbers, IDs, timestamps] |
| No anti-patterns | ✅/❌ | [checked AVOID list] |

Workflow (follow this order)

Step 1: Analyze Context

Before writing ANY code, read the project's CLAUDE.md and SPEC.md to understand:

QuestionWhy it matters
What does this product do?A finance tool ≠ a creative tool ≠ a dev tool
Who are the users?Power users want density. Casual users want guidance
What's the emotional job?Trust? Efficiency? Delight? Focus?
What data is primary?Tables, charts, KPIs, forms — drives layout choice
What stack is defined?Read SPEC.md section 1 for framework and conventions

Step 2: Commit to a Design Direction

Pick ONE personality. Don't default — choose with intent:

  • Precision & Density — Tight spacing, monochrome, information-forward. Think: Linear, Raycast.
  • Warmth & Approachability — Generous spacing, soft shadows, friendly. Think: Notion, Coda.
  • Sophistication & Trust — Cool tones, layered depth, financial gravitas. Think: Stripe, Mercury.
  • Boldness & Clarity — High contrast, dramatic negative space, confident type. Think: Vercel.
  • Utility & Function — Muted palette, functional density, clear hierarchy. Think: GitHub.
  • Data & Analysis — Chart-optimized, technical but accessible. Think: Grafana, Metabase.

Then lock in these choices:

DecisionOptions
Color foundationWarm (creams) · Cool (slate/blue-gray) · Pure neutral · Tinted
Light or dark?Light = open, approachable · Dark = focused, premium, technical
Accent colorONE color. Blue=trust, Green=growth, Orange=energy, Violet=creativity
Depth strategyBorders-only · Single shadow · Layered shadows · Surface color shifts
Corner radiusSharp (2-6px) · Soft (8-12px) — pick a system, stay consistent
TypographySystem fonts · Geometric sans (Geist, Inter) · Humanist (SF Pro, Satoshi) · Mono-influenced
LayoutDense grid · Generous spacing · Sidebar nav · Top nav · Split panels

Record these decisions in CONTEXT.md during the DESIGN phase.

Step 3: Build with Craft

Implement the interface following the design rules below. Every component must feel intentional.

Step 4: Self-Validate

Before delivering, run through the Validation Checklist at the bottom of this file.


Design Rules

MUST (non-negotiable)

  1. 4px grid for all spacing. Values: 4, 8, 12, 16, 24, 32px. No arbitrary numbers.
  2. Symmetrical padding. If top is 16px, sides and bottom are 16px. Exception: padding: 12px 16px when horizontal needs room.
  3. Consistent border-radius. Pick sharp (2-6px) or soft (8-12px). Never mix systems. Never 16px+ on small elements.
  4. ONE depth strategy. Borders-only OR single shadows OR layered shadows. Don't mix across the same interface.
  5. Monospace for data. Numbers, IDs, codes, timestamps get font-family: monospace with font-variant-numeric: tabular-nums.
  6. Four-level contrast hierarchy. Foreground (primary) → Secondary → Muted → Faint. Use all four consistently:
    --text-primary: #0f172a;    /* headings, key data */
    --text-secondary: #334155;  /* body text */
    --text-muted: #64748b;      /* labels, secondary info */
    --text-faint: #94a3b8;      /* placeholders, disabled */
    
  7. Color = meaning only. Gray builds structure. Color only for: status, action, error, success. No decorative color.
  8. Navigation context. Never render a floating component — include sidebar/topnav, breadcrumbs/page title, and user context.
  9. No native form elements in styled UI. Build custom selects, date pickers, checkboxes. Native elements break visual consistency.
  10. Custom select triggers use display: inline-flex + white-space: nowrap to keep text and chevron on same row.

SHOULD (strong recommendations)

  1. Typography scale: 11, 12, 13, 14 (base), 16, 18, 24, 32px. Headlines at 600 weight with -0.02em letter-spacing.
  2. Icons from Lucide (lucide-react or lucide-vue-next). Icons clarify, not decorate — if removing one loses no meaning, remove it.
  3. Animation: 150ms micro-interactions, 200-250ms transitions. Easing: cubic-bezier(0.25, 1, 0.5, 1). No bounce/spring.
  4. Card layout variety. A metric card ≠ a plan card ≠ a settings card. Vary internal structure, but keep surface treatment consistent.
  5. Sidebar same background as content. Use a subtle border for separation, not different background colors.
  6. CSS variables for all design tokens. Colors, spacing, shadows, radii — all as variables for easy theming.

AVOID (anti-patterns)

  • Dramatic drop shadows (box-shadow: 0 25px 50px...)
  • Thick borders (2px+) for decoration
  • Asymmetric padding without clear reason
  • Pure white cards on colored backgrounds
  • Excessive spacing (margins > 48px between sections)
  • Spring/bouncy animations
  • Gradients for decoration
  • Multiple accent colors in one interface
  • Color-coding everything — score bars, grade badges don't need traffic-light colors
  • Generic AI aesthetics: purple gradients, oversized rounded corners, excessive card shadows

Dark Mode Rules

When building dark interfaces:

  • Borders over shadows — Shadows are nearly invisible on dark backgrounds. Use borders at 10-15% white opacity.
  • Desaturate semantic colors — Success/warning/error colors need lower saturation to avoid harshness.
  • Same hierarchy, inverted values — The four-level contrast system still applies with inverted lightness values.

Validation Checklist

Run through before delivering:

  • Design direction was explicitly chosen (not defaulted)
  • All spacing aligns to 4px grid
  • Padding is symmetrical on all containers
  • Border-radius is consistent across all components
  • ONE depth strategy used throughout
  • Monospace applied to all data values
  • Color only used for meaning (status, action, error)
  • Four-level text contrast hierarchy applied
  • Navigation context present (sidebar/topnav, location, user)
  • No native form elements — all custom-styled
  • No anti-patterns from AVOID list
  • Card layouts vary by content type, surface treatment stays consistent
  • Dark mode adjustments applied (if applicable)
  • Animations use correct timing and easing
  • Interface feels designed for its specific product context

Template Reference

See TEMPLATES.md for starter component patterns: metric cards, data tables, sidebar navigation, filter bars, form layouts, and status badges — all following these design rules.

Templates are framework-agnostic references. Adapt to your project's stack (React, Vue, Svelte, etc.) and component library as defined in SPEC.md section 1.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Accessibility auditing and remediation skill for Vue 3 + Reka UI. Use when reviewing components, verifying WCAG 2.1 AA, fixing ARIA issues, or validating keyboard navigation in Reka UI components.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pwdev-solucoes/pwdev-claude-marketplace32026년 10월 15일 업데이트

ai-infra

무료

Infraestrutura para IA — GPU, servidores MCP, gateway de LLM, pipeline de inferência, custo de token, cache semântico e observabilidade de modelo. Use quando o usuário disser "GPU", "MCP server", "LLM", "inferência", "modelo", "gateway de IA", "custo de token", "rate limit da API de IA", "self-host de modelo".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pwdev-solucoes/pwdev-claude-marketplace32026년 10월 15일 업데이트

alt-text

무료

Escreve texto alternativo e descrição de imagem para peças de rede social. Use quando o usuário disser "alt text", "texto alternativo", "descrição da imagem", "acessibilidade da peça", "descrever para leitor de tela", ou automaticamente antes de qualquer publicação. Obrigatório em todas as peças — em carrossel, um por slide.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pwdev-solucoes/pwdev-claude-marketplace32026년 10월 15일 업데이트

Organiza, compara e seleciona entre as variações geradas, e publica a grade de comparação como Artifact para aprovação do time. Use quando o usuário disser "qual dessas", "comparar as variações", "escolher a melhor", "mostrar as opções", "montar grade de aprovação", ou após qualquer lote de geração. Selecionar é trabalho, não detalhe.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pwdev-solucoes/pwdev-claude-marketplace32026년 10월 15일 업데이트

Aumenta resolução e qualidade de imagem via Freepik/Magnific, ou orienta o processo manual quando não há chave. Use quando o usuário disser "upscale", "melhorar a resolução", "a imagem está pixelada", "Magnific", "Freepik", "aumentar a imagem", "imagem pequena demais". Gasta crédito — exige confirmação.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pwdev-solucoes/pwdev-claude-marketplace32026년 10월 15일 업데이트

CI/CD e automação — GitHub Actions, Terraform, OpenTofu, Ansible, n8n. Use quando o usuário disser "pipeline", "CI/CD", "GitHub Actions", "workflow", "terraform", "ansible", "n8n", "automatizar", "deploy automático", "IaC".

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

pwdev-solucoes/pwdev-claude-marketplace32026년 10월 15일 업데이트

pwdev-solucoes의 스킬 모두 보기

이 스킬의 문제 신고