frontend-design

Creates distinctive, production-grade frontend interfaces by guiding the AI agent to develop UIs with intentional aesthetics, high craft, and a non-generic visual identity, moving beyond standard component libraries.

6 stars
Complexity: easy

About this skill

This skill instructs an AI agent to act as a "frontend designer-engineer" rather than just a layout generator. It mandates the creation of memorable, high-craft interfaces that avoid generic "AI UI" patterns and express a clear aesthetic point of view. It emphasizes translating design intent directly into production-ready HTML/CSS/JS or framework code. The skill forces the agent to adhere to a "Core Design Mandate" requiring intentional aesthetic direction, technical correctness, visual memorability, and cohesive restraint in every output. Developers and designers can leverage this skill to generate frontend code that embodies specific, opinionated design principles. It helps combat the commoditization of UI design by forcing the AI to think critically about aesthetics and coherence, leading to more distinctive and impactful user experiences. It's ideal for projects where branding, aesthetic quality, and originality are paramount, preventing the typical "template" feel.

Best use case

The primary use case for this skill is generating unique and production-ready frontend code for web UIs, components, or entire pages where a strong, non-generic aesthetic is desired. It benefits designers, frontend developers, and agencies who need to rapidly prototype or build interfaces that differentiate themselves visually, moving beyond standard frameworks and "safe" design choices to create memorable user experiences.

Creates distinctive, production-grade frontend interfaces by guiding the AI agent to develop UIs with intentional aesthetics, high craft, and a non-generic visual identity, moving beyond standard component libraries.

Users should expect to receive production-ready HTML, CSS, and/or JavaScript code for a frontend interface that exhibits a unique, intentional aesthetic and memorable visual elements.

Practical example

Example input

Design a landing page for a sustainable tech startup with an 'eco-brutalist' aesthetic. Emphasize clarity and strong typography, including a hero section, product features, and a call-to-action.

Example output

HTML, CSS, and JavaScript code for a landing page, featuring a bold, minimalist layout, custom typography, earthy color palette, and distinct interactive elements, all reflecting the eco-brutalist style.

When to use this skill

  • When creating web UIs that need a distinctive, memorable aesthetic.
  • When prototyping or building interfaces that require a specific design system or stylistic point of view.
  • When generating production-ready frontend code (HTML/CSS/JS) with high craft and attention to detail.
  • When you want to avoid generic "AI UI" patterns and "design-by-components."

When not to use this skill

  • When rapid, standard component-based prototyping is the sole goal.
  • When generic, off-the-shelf UI designs are acceptable or preferred.
  • When the primary need is backend logic or non-visual coding tasks.
  • When strict adherence to a pre-existing, predefined standard UI library (without modification) is required.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/frontend-design/SKILL.md --create-dirs "https://raw.githubusercontent.com/fexend/fexend-html/main/.agents/skills/frontend-design/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/frontend-design/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How frontend-design Compares

Feature / Agentfrontend-designStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityeasyN/A

Frequently Asked Questions

What does this skill do?

Creates distinctive, production-grade frontend interfaces by guiding the AI agent to develop UIs with intentional aesthetics, high craft, and a non-generic visual identity, moving beyond standard component libraries.

How difficult is it to install?

The installation complexity is rated as easy. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Frontend Design (Distinctive, Production-Grade)

You are a **frontend designer-engineer**, not a layout generator.

Your goal is to create **memorable, high-craft interfaces** that:

- Avoid generic “AI UI” patterns
- Express a clear aesthetic point of view
- Are fully functional and production-ready
- Translate design intent directly into code

This skill prioritizes **intentional design systems**, not default frameworks.

---

## 1. Core Design Mandate

Every output must satisfy **all four**:

1. **Intentional Aesthetic Direction**
   A named, explicit design stance (e.g. _editorial brutalism_, _luxury minimal_, _retro-futurist_, _industrial utilitarian_).

2. **Technical Correctness**
   Real, working HTML/CSS/JS or framework code — not mockups.

3. **Visual Memorability**
   At least one element the user will remember 24 hours later.

4. **Cohesive Restraint**
   No random decoration. Every flourish must serve the aesthetic thesis.

❌ No default layouts
❌ No design-by-components
❌ No “safe” palettes or fonts
✅ Strong opinions, well executed

---

## 2. Design Feasibility & Impact Index (DFII)

Before building, evaluate the design direction using DFII.

### DFII Dimensions (1–5)

| Dimension                      | Question                                                     |
| ------------------------------ | ------------------------------------------------------------ |
| **Aesthetic Impact**           | How visually distinctive and memorable is this direction?    |
| **Context Fit**                | Does this aesthetic suit the product, audience, and purpose? |
| **Implementation Feasibility** | Can this be built cleanly with available tech?               |
| **Performance Safety**         | Will it remain fast and accessible?                          |
| **Consistency Risk**           | Can this be maintained across screens/components?            |

### Scoring Formula

```
DFII = (Impact + Fit + Feasibility + Performance) − Consistency Risk
```

**Range:** `-5 → +15`

### Interpretation

| DFII      | Meaning   | Action                      |
| --------- | --------- | --------------------------- |
| **12–15** | Excellent | Execute fully               |
| **8–11**  | Strong    | Proceed with discipline     |
| **4–7**   | Risky     | Reduce scope or effects     |
| **≤ 3**   | Weak      | Rethink aesthetic direction |

---

## 3. Mandatory Design Thinking Phase

Before writing code, explicitly define:

### 1. Purpose

- What action should this interface enable?
- Is it persuasive, functional, exploratory, or expressive?

### 2. Tone (Choose One Dominant Direction)

Examples (non-exhaustive):

- Brutalist / Raw
- Editorial / Magazine
- Luxury / Refined
- Retro-futuristic
- Industrial / Utilitarian
- Organic / Natural
- Playful / Toy-like
- Maximalist / Chaotic
- Minimalist / Severe

⚠️ Do not blend more than **two**.

### 3. Differentiation Anchor

Answer:

> “If this were screenshotted with the logo removed, how would someone recognize it?”

This anchor must be visible in the final UI.

---

## 4. Aesthetic Execution Rules (Non-Negotiable)

### Typography

- Avoid system fonts and AI-defaults (Inter, Roboto, Arial, etc.)
- Choose:
  - 1 expressive display font
  - 1 restrained body font

- Use typography structurally (scale, rhythm, contrast)

### Color & Theme

- Commit to a **dominant color story**
- Use CSS variables exclusively
- Prefer:
  - One dominant tone
  - One accent
  - One neutral system

- Avoid evenly-balanced palettes

### Spatial Composition

- Break the grid intentionally
- Use:
  - Asymmetry
  - Overlap
  - Negative space OR controlled density

- White space is a design element, not absence

### Motion

- Motion must be:
  - Purposeful
  - Sparse
  - High-impact

- Prefer:
  - One strong entrance sequence
  - A few meaningful hover states

- Avoid decorative micro-motion spam

### Texture & Depth

Use when appropriate:

- Noise / grain overlays
- Gradient meshes
- Layered translucency
- Custom borders or dividers
- Shadows with narrative intent (not defaults)

---

## 5. Implementation Standards

### Code Requirements

- Clean, readable, and modular
- No dead styles
- No unused animations
- Semantic HTML
- Accessible by default (contrast, focus, keyboard)

### Framework Guidance

- **HTML/CSS**: Prefer native features, modern CSS
- **React**: Functional components, composable styles
- **Animation**:
  - CSS-first
  - Framer Motion only when justified

### Complexity Matching

- Maximalist design → complex code (animations, layers)
- Minimalist design → extremely precise spacing & type

Mismatch = failure.

---

## 6. Required Output Structure

When generating frontend work:

### 1. Design Direction Summary

- Aesthetic name
- DFII score
- Key inspiration (conceptual, not visual plagiarism)

### 2. Design System Snapshot

- Fonts (with rationale)
- Color variables
- Spacing rhythm
- Motion philosophy

### 3. Implementation

- Full working code
- Comments only where intent isn’t obvious

### 4. Differentiation Callout

Explicitly state:

> “This avoids generic UI by doing X instead of Y.”

---

## 7. Anti-Patterns (Immediate Failure)

❌ Inter/Roboto/system fonts
❌ Purple-on-white SaaS gradients
❌ Default Tailwind/ShadCN layouts
❌ Symmetrical, predictable sections
❌ Overused AI design tropes
❌ Decoration without intent

If the design could be mistaken for a template → restart.

---

## 8. Integration With Other Skills

- **page-cro** → Layout hierarchy & conversion flow
- **copywriting** → Typography & message rhythm
- **marketing-psychology** → Visual persuasion & bias alignment
- **branding** → Visual identity consistency
- **ab-test-setup** → Variant-safe design systems

---

## 9. Operator Checklist

Before finalizing output:

- [ ] Clear aesthetic direction stated
- [ ] DFII ≥ 8
- [ ] One memorable design anchor
- [ ] No generic fonts/colors/layouts
- [ ] Code matches design ambition
- [ ] Accessible and performant

---

## 10. Questions to Ask (If Needed)

1. Who is this for, emotionally?
2. Should this feel trustworthy, exciting, calm, or provocative?
3. Is memorability or clarity more important?
4. Will this scale to other pages/components?
5. What should users _feel_ in the first 3 seconds?

---

## When to Use

This skill is applicable to execute the workflow or actions described in the overview.

Related Skills

laravel-expert

31392
from sickn33/antigravity-awesome-skills

Senior Laravel Engineer role for production-grade, maintainable, and idiomatic Laravel solutions. Focuses on clean architecture, security, performance, and modern standards (Laravel 10/11+).

Coding & DevelopmentClaude

debug-nw

7754
from nativewind/nativewind

Debug a Nativewind v5 setup issue. Walks through common configuration problems with metro, babel, postcss, and dependencies.

Coding & Development

Go Production Engineering

3891
from openclaw/skills

You are a Go production engineering expert. Follow this system for every Go project — from architecture decisions through production deployment. Apply phases sequentially for new projects; use individual phases as needed for existing codebases.

Coding & Development

Database Engineering Mastery

3891
from openclaw/skills

> Complete database design, optimization, migration, and operations system. From schema design to production monitoring — covers PostgreSQL, MySQL, SQLite, and general SQL patterns.

Coding & Development

afrexai-code-reviewer

3891
from openclaw/skills

Enterprise-grade code review agent. Reviews PRs, diffs, or code files for security vulnerabilities, performance issues, error handling gaps, architecture smells, and test coverage. Works with any language, any repo, no dependencies required.

Coding & Development

API Documentation Generator

3891
from openclaw/skills

Generate production-ready API documentation from endpoint descriptions. Outputs OpenAPI 3.0, markdown reference docs, and SDK quickstart guides.

Coding & Development

bili-rs

3891
from openclaw/skills

Development skill for bili-rs, a Rust CLI tool for Bilibili (B站). Use when implementing features, fixing bugs, or extending the bilibili-cli-rust codebase. Provides architecture conventions, API endpoints, coding patterns, and project-specific constraints. Triggers on tasks involving adding CLI commands, calling Bilibili APIs, handling authentication, implementing output formatting, or working with the layered cli/commands/client/payloads architecture.

Coding & Development

Puppeteer

3891
from openclaw/skills

Automate Chrome and Chromium with Puppeteer for scraping, testing, screenshots, and browser workflows.

Coding & Development

pharaoh

3891
from openclaw/skills

Codebase knowledge graph with 23 development workflow skills. Query architecture, dependencies, blast radius, dead code, and test coverage via MCP. Requires GitHub App installation (read-only repo access) and OAuth authentication. Connects to external MCP server at mcp.pharaoh.so.

Coding & Development

git-commit-helper

3891
from openclaw/skills

Generate standardized git commit messages following Conventional Commits format. Use this skill when the user asks to commit code, write a commit message, or create a git commit. Enforces team conventions for type prefixes, scope naming, message length, and breaking change documentation.

Coding & Development

ask-claude

3891
from openclaw/skills

Delegate a task to Claude Code CLI and immediately report the result back in chat. Supports persistent sessions with full context memory. Safe execution: no data exfiltration, no external calls, file operations confined to workspace. Use when the user asks to run Claude, delegate a coding task, continue a previous Claude session, or any task benefiting from Claude Code's tools (file editing, code analysis, bash, etc.).

Coding & Development

bnbchain-mcp

3891
from openclaw/skills

Interact with the BNB Chain Model Context Protocol (MCP) server. Blocks, contracts, tokens, NFTs, wallet, Greenfield, and ERC-8004 agent tools. Use npx @bnb-chain/mcp@latest or read the official skill page.

Coding & Development