From pwdev-code
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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pwdev-code:skill-frontend-designThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Build polished, professional interfaces for enterprise software, SaaS dashboards, admin panels,
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.
This skill integrates into the PWDEV-CODE workflow at multiple phases:
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:
Section 7 — Prohibitions: Add:
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
The code reviewer MUST check:
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] |
Before writing ANY code, read the project's CLAUDE.md and SPEC.md to understand:
| Question | Why 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 |
Pick ONE personality. Don't default — choose with intent:
Then lock in these choices:
| Decision | Options |
|---|---|
| Color foundation | Warm (creams) · Cool (slate/blue-gray) · Pure neutral · Tinted |
| Light or dark? | Light = open, approachable · Dark = focused, premium, technical |
| Accent color | ONE color. Blue=trust, Green=growth, Orange=energy, Violet=creativity |
| Depth strategy | Borders-only · Single shadow · Layered shadows · Surface color shifts |
| Corner radius | Sharp (2-6px) · Soft (8-12px) — pick a system, stay consistent |
| Typography | System fonts · Geometric sans (Geist, Inter) · Humanist (SF Pro, Satoshi) · Mono-influenced |
| Layout | Dense grid · Generous spacing · Sidebar nav · Top nav · Split panels |
Record these decisions in CONTEXT.md during the DESIGN phase.
Implement the interface following the design rules below. Every component must feel intentional.
Before delivering, run through the Validation Checklist at the bottom of this file.
padding: 12px 16px when horizontal needs room.font-family: monospace with font-variant-numeric: tabular-nums.--text-primary: #0f172a; /* headings, key data */
--text-secondary: #334155; /* body text */
--text-muted: #64748b; /* labels, secondary info */
--text-faint: #94a3b8; /* placeholders, disabled */
display: inline-flex + white-space: nowrap to keep text and chevron on same row.-0.02em letter-spacing.lucide-react or lucide-vue-next). Icons clarify, not decorate — if removing one loses no meaning, remove it.cubic-bezier(0.25, 1, 0.5, 1). No bounce/spring.box-shadow: 0 25px 50px...)When building dark interfaces:
Run through before delivering:
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.
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub pwdev-solucoes/pwdev-claude-marketplace --plugin pwdev-code