frontend-design
Use when creating or substantially redesigning web interfaces, landing pages, dashboards, components, or other frontend UI where visual direction and…
от PaulRBerg★ 109 звёзд на GitHub
Установить frontend-design в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Frontend Design
Create a working frontend with a clear, subject-specific point of view. Then prove it in the rendered UI.
Contract
- For a critique, review, or design plan, inspect the relevant product and report the direction without editing files.
- For a build or redesign, make the requested in-scope changes and run local, non-destructive validation.
- Treat explicit user direction, supplied references, repository instructions, existing product behavior, and the local design system as authoritative. Fidelity requests override this skill's defaults.
- Preserve the stack and working behavior. Do not replace the framework or design system, add dependencies, or invent features unless the request requires it.
- Preserve distinctive existing artwork and useful visual cues during redesigns. Before replacing them, verify that the replacement retains their contribution to identity, comprehension, or interaction.
- Choose original SVG authored in code or stock imagery when it supports the art direction. Generate other media only when the request requires it.
- Make the smallest defensible assumption when the subject, audience, or page job is missing. State it before building. Ask only when the answer would materially change scope or identity.
Layout and Theme Defaults
Treat every build as a one-off page for a specific purpose. Apply these defaults unless the user specifies otherwise:
- Build for a desktop browser window only. Do not add a mobile or responsive layout.
- Build one theme only. Do not add a second theme, a theme toggle, or a
prefers-color-schemevariant. - Before you choose colors, detect the system appearance. Use a light theme only when the system uses light mode. Otherwise, use a dark theme.
- On macOS, run
defaults read -g AppleInterfaceStyle. It printsDarkin dark mode. In light mode, it fails because the key does not exist.
When you change an existing surface, keep its working responsive and theme behavior. Do not extend it to new work unless the user asks.
Workflow
1. Read the product before drawing the page
Inspect the affected route or component, neighboring UI, tokens, typography, assets, dependencies, and repository validation commands. Identify:
- the concrete subject and audience.
- the screen's single primary job and content hierarchy.
- the existing visual language and interaction conventions.
- the required viewports, themes, states, and accessibility constraints.
Use real product content and supplied assets wherever possible. If copy is missing, write only what the user needs to understand the interface and act.
2. Set one art direction
Before coding, define a compact direction:
- Thesis: one sentence connecting the visual idea to the subject and screen job.
- System: role-based color tokens, explicit type roles and scale, spacing and density, and deliberate layout and alignment choices.
- Signature: one memorable element drawn from the domain's objects, workflows, data shapes, environments, or language.
- Risk: one deliberate departure from the obvious solution, with a reason it serves this brief.
- Motion and copy: when motion helps, how the interface speaks, and where restraint matters.
Adapt this direction to existing brand constraints instead of creating a parallel design language. Keep options and process narration internal unless the user asked to choose among directions.
For builds and substantial redesigns, evaluate imagery case by case. Consider stock photos, artwork, or original SVG for backgrounds, section transitions, or focal details. Use images only when they strengthen the site's subject, atmosphere, or content hierarchy. An image-free design is valid. Read SVG design when choosing or building an original SVG motif.
When stock imagery suits the direction, use $chromium-browser to search Google or Unsplash.
Open the original source to verify usage rights and any attribution requirements before using an image. Search results
alone do not establish permission to reuse an asset.
Compose imagery and colorful backgrounds as one palette. Choose complementary colors, deliberate crops, and quiet space behind text and controls. Avoid generic stock images that could fit any unrelated site.
3. Run the anti-default critique
Apply the subject-swap test: mentally replace the subject with an unrelated one. Any major choice that still works unchanged is probably a template default. Revise that choice or justify why it is structurally correct.
Make every visual device earn its place. Cards, pills, gradients, numbering, dividers, oversized type, split heroes, illustrations, and animation must communicate hierarchy, function, sequence, or subject—not merely decorate. Concentrate expressive force in the signature and make the surrounding system support it.
Clear delineation is a functional requirement. Borders and containers are valid when th
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
- references/svg-design.md
FAQ
Что делает скилл frontend-design?
Use when creating or substantially redesigning web interfaces, landing pages, dashboards, components, or other frontend UI where visual direction and implementation quality matter. Produces subject-specific art direction, accessible code, and rendered visual verification.
Как установить скилл frontend-design?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл frontend-design запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…