# Build a frontend interface

Creates distinctive, production-grade frontend interfaces with high design quality. Avoids the generic 'AI aesthetic' of identical sans-serif + flat color UI.

Curated by The Design Project. Adapted from the original skills repo.

## How TDP uses it

Whenever I ask Claude to build a UI from scratch I want this on, otherwise the output drifts into generic. Client demos, new product pages, anything where 'good taste' matters more than 'functional'.

Activation and available tools depend on the host and installed version.

## Your first task

Bring: A screen brief, real content, existing tokens, and the project’s component conventions.

Task: Implement the main user action first, then add empty, loading, error, and success states.

Check: Use the screen at narrow and wide widths; complete its main action with a keyboard.

## When to use this workflow

Use this skill to turn a bounded product task into a working interface that follows the existing visual system. Supply real content, the user’s goal, supported states, and representative references. A vague request for a polished screen leaves the agent to invent both the product behavior and the design direction.

## A worked example

For an invitation-form exercise, identify the fields, available roles, primary action, and outcomes before styling. Map the interface to existing components and tokens. Build the complete happy path, then inspect empty, invalid, pending, and failed-request states that the feature actually supports. Keep the design decisions visible in the implementation review.

## Decisions and common mistakes

When the output feels generic, identify the specific cause: typography, density, content hierarchy, imagery, or an invented component. Compare it with an approved product screen. Adding more adjectives to the prompt is less useful than naming the wrong relationship and pointing to a concrete reference.

## What to hand off

Review the running page at narrow and wide widths with realistic text. Complete its main task using the keyboard and inspect the diff for duplicated components or raw values. Capture the approved pattern in the design context so the next screen starts from the same decisions.

## Step-by-step setup

1. Choose one task, provide the relevant files or brief, and define the expected output.
2. Review the source and prerequisites; install the skill or open the original resource.
3. Apply it with current project context.
4. Review the result against the actual requirements.
5. Save approved outputs and record limitations.

```bash
npx skills add thedesignproject/agent-skills -s frontend-design
```

[Full skill source](https://github.com/thedesignproject/agent-skills/tree/main/skills/frontend-design)

## Starter request

Build this product screen using our design tokens and actual content. Include loading, empty, error, and keyboard-focus states. Explain any new component decisions.

## Use it in a workflow

### Build, review, and check accessibility

Shipping any user-facing page or component.

1. [Build a frontend interface](https://designproject.io/resources/skills/frontend-design/) — Build the UI with taste — avoid the generic AI look
2. [Review UI design guidelines](https://designproject.io/resources/skills/web-design-guidelines/) — Audit UX, typography, focus states, touch targets
3. [Review web accessibility](https://designproject.io/resources/skills/accessibility/) — Review accessibility and document issues requiring further testing

[Browse all agent skills](https://designproject.io/resources/skills/)

[Original TDP skills repo](https://designproject.io/skills-repo/)

Canonical: https://designproject.io/resources/skills/frontend-design/

## Keep learning

- [Use the Figma MCP](https://designproject.io/resources/skills/figma-use/)
- [Context OS principles](https://designproject.io/resources/skills/context-principles/)
- [How to write a design.md file: a step-by-step guide](https://designproject.io/resources/guides/write-design-md/)
