Design Surfaces

Use when styling cards, dialogs, modals, panels, borders, shadows, elevation, overlays, nested radii, “radius terasa aneh”, “shadow kasar”, or surfaces that lose hierarchy between light and dark themes.

9 stars 1 forksFrontend & Design Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add sukirman1901/frontend-expert

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add sukirman1901/frontend-expert --skill design-surfaces
Manual install
git clone --depth 1 https://github.com/sukirman1901/frontend-expert.git /tmp/frontend-expert
mkdir -p ~/.claude/skills
cp -r /tmp/frontend-expert/skills/design-surfaces ~/.claude/skills/design-surfaces

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Design Surfaces

## Overview

Surface styling communicates grouping, hierarchy, and state. Geometry and depth follow the project language before any standalone recipe.

## When to use

- Nested cards/panels, modal layers, overlays, dividers, or elevation
- Radius mismatch, harsh shadows, excessive borders, or dark-theme flattening
- Button/control families whose radii drift across text, icon, and state variants
- Creating surface tokens or auditing nested containers

## When to skip

- Palette construction → `design-color`
- Large layout grouping → `design-foundations`
- Enter/exit behavior → `motion`

## MUST

| Rule | Detail |
|---|---|
| **Project language first** | Reuse existing radius, border, and elevation tokens |
| **Control-family consistency** | Buttons and related controls use project radius tokens across text/icon variants and states |
| **Purposeful depth** | Borders structure; shadows/tonal steps may convey elevation |
| **Conditional concentricity** | Outer ≈ inner + inset only when curves share a visual center |
| **State-aware** | Verify hover, focus, selected, disabled, overlay, light, and dark as relevant |
| **No card nesting habit** | Add a surface only when it communicates a boundary or level |

## Workflow

1. **Inventory** — tokens, nesting, surface jobs, themes, and interaction states.
2. **Simplify** — remove redundant wrappers, borders, and competing elevation.
Read the full skill on GitHub

Details

Skill name
design-surfaces
Path
skills/design-surfaces/SKILL.md
License
MIT
Repo updated
5 November 2026

FAQ

What does the Design Surfaces skill do?

Use when styling cards, dialogs, modals, panels, borders, shadows, elevation, overlays, nested radii, “radius terasa aneh”, “shadow kasar”, or surfaces that lose hierarchy between light and dark themes.

How do I install the Design Surfaces skill?

Claude Code plugin: /plugin marketplace add sukirman1901/frontend-expert. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Design Surfaces popular?

It lives in sukirman1901/frontend-expert, which has 9 GitHub stars and 1 forks.

Related skills

Accessibility

9

sukirman1901/frontend-expert

Enforce WCAG 2.2 AA by default (keyboard, ARIA, focus, contrast, semantics, target size, dragging alternatives, accessible authentication). Use for accessibility work, pre-ship UI checks, and as a light pass on every UI build or design review — including "a11y", "keyboard", "screen reader", or shipping user-facing changes.

Frontend & Design

Anti Slop Code

9

sukirman1901/frontend-expert

Detect and fix AI-generated frontend implementation slop: isolated helpers that ignore other modules, needless useEffect, type lies, empty wrappers, and boilerplate error handling that misses field edge cases. Trigger for “kode terasa AI”, “rapikan kode”, “dampak ke modul lain”, “edge case”, “error handling generik”, “too many useEffect”, or “over-engineered”. Visual slop stays on anti-slop-design; copy stays on content-design.

Software Development

Anti Slop Design

9

sukirman1901/frontend-expert

Detect and fix AI aesthetic anti-patterns (purple/indigo defaults, gradients, rounded-2xl everywhere, generic heroes, Lorem ipsum, shadow-heavy cards). Use whenever building, restyling, or reviewing visual UI quality — including "terlalu generik", "AI slop", "rapihin UI", or design audit requests — without requiring /design.

Frontend & Design

Design Typography

9

sukirman1901/frontend-expert

Use when choosing fonts, defining or repairing a type scale, loading webfonts, or fixing text wrapping, truncation, numeric alignment, mixed-direction text, “tipografi”, “font apa”, “teks kepotong”, or “heading berantakan”.

Frontend & Design

Design Foundations

9

sukirman1901/frontend-expert

Use when creating or repairing the structural layout of a web screen: grid, spacing rhythm, alignment, hierarchy, density, composition, whitespace, or content grouping. Trigger for blank layouts, inconsistent spacing, weak hierarchy, cluttered screens, "layout terasa berantakan", "struktur layout", or "rapikan struktur". Skip isolated color, typography, component-state, motion, and micro-polish changes.

Frontend & Design

Design Vocabulary

9

sukirman1901/frontend-expert

Name a design or UI concept from a loose description. Reverse-lookup for design terms — user describes something vaguely ("card floating over blur", "zig-zag layout"), skill returns the proper name + brief definition. Use when the user uses informal language for a UI concept, or when you need the correct term to search references or communicate precisely.

Frontend & Design

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.