frontend-design

frontend-design is a skill for Claude Code, Codex from jamestorrevillas/dev-skills. It costs 66 tokens per session (1,120 once invoked), scanned A, original, MIT.

A set of guidelines for designing and building user interfaces, including their components, styling, responsiveness, and accessibility. It encourages deliberate visual choices instead of generic layouts.

In plain words
What is it for?
Use it when building frontend screens, React or other web components, Tailwind styles, responsive layouts, or accessible production interfaces.
Why use it?
It gives coding agents a consistent way to make interfaces that fit their purpose and remain easier to maintain. It also helps avoid repeated styles and unclear component responsibilities.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building frontend screens, React or other web components, Tailwind styles, responsive layouts, or accessible production interfaces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jamestorrevillas/dev-skills/frontend-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jamestorrevillas/dev-skills --skill frontend-design
Clone the repo
git clone --depth 1 https://github.com/jamestorrevillas/dev-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontend-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/frontend-design/github.svg)](https://agentmods.dev/skills/jamestorrevillas/dev-skills/frontend-design)
Your own site
<a href="https://agentmods.dev/skills/jamestorrevillas/dev-skills/frontend-design"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/frontend-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontend-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/jamestorrevillas/dev-skills/frontend-design"><img src="https://agentmods.dev/badge/skills/jamestorrevillas/dev-skills/frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,120 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00066 $0.01120
Opus 5 $0.00033 $0.00560
Sonnet 5 $0.00013 $0.00224
Haiku 4.5 $0.00007 $0.00112

Measured 9d ago against content hash 15fbd1301e0e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

frontend-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/frontend-design/SKILL.md · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Frontend Design

Design Philosophy

Avoid distributional convergence — the tendency for AI to default to generic purple gradients, Inter font, and rounded-corner cards. Every interface should have a deliberate aesthetic based on its purpose and audience.

Before writing a single line of CSS, define:

  • What emotion should this interface convey?
  • Who is the user and what context are they in?
  • What is the single most important action on this screen?

Component Architecture

Atomic Design Hierarchy

Atoms      → Button, Input, Label, Icon
Molecules  → SearchBar (Input + Button), FormField (Label + Input + Error)
Organisms  → Header, ProductCard, UserProfile
Templates  → PageLayout, DashboardLayout
Pages      → Specific instances with real data

Component Rules

  • One component = one responsibility
  • Props should be explicit, not inferred
  • Use composition over prop-drilling
  • Default to server components; use client components only for interactivity

Styling System

Tailwind Best Practices

// Extract repeated patterns into components, not custom CSS
// BAD: Duplicating classes everywhere
<div className="flex items-center gap-2 px-4 py-2 bg-blue-600 text-white rounded-lg">

// GOOD: Extract to a component
<Button variant="primary">Click me</Button>

Design Tokens (Custom Properties)

:root {
  --color-primary: #your-brand-color;
  --color-surface: #f8f9fa;
  --spacing-unit: 4px;
  --radius-default: 8px;
  --font-heading: 'Your Chosen Font', sans-serif;
}

Typography That Avoids Generic AI Look

  • Don't default to Inter or Roboto — they signal "AI generated"
  • Consider: Geist, Instrument Sans, Plus Jakarta Sans, DM Sans
  • Mix weights deliberately: 400 for body, 600 for emphasis, 800 for headlines
  • Establish a clear type scale before building

Performance Optimization

Core Web Vitals Targets

Metric Target What It Measures
LCP < 2.5s Largest Contentful Paint — loading
FID/INP < 100ms Interaction responsiveness
CLS < 0.1 Layout stability

Read the full file on GitHub · 145 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 145 lines · 0 tokens per session scan A 15fbd1301e0e

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository jamestorrevillas/dev-skills (3 stars, last pushed 5mo ago), licensed MIT. It adds 66 tokens to every session and 1,120 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ui-ux-design

Create production-grade frontend interfaces with strong UX and visual craft. Use when building web components, pages, dashboards, forms, landing pages, modals, or any UI. Use when user says 'build a form', 'create a dashboard', 'design a component', 'make a landing page', or asks for UI/UX work. Use even when the user…

arvindand/agent-skills · 98 tokens

visual-artifact-qa

Visual output that passes static checks can still fail to render.

fabioc-aloha/Alex_Skill_Mall · 18 tokens

ds-frontend

Frontend design quality — design-system audit, token enforcement, component states, accessibility, responsive layout, theming. Use when building or reviewing UI for design consistency, a11y, or responsiveness.

sungurerdim/dev-skills · 43 tokens

premium-hero-builder

Build premium, dark-themed hero sections and landing pages with cinematic video backgrounds, liquid glass morphism, editorial typography, and pixel-perfect specifications. Based on the Viktor Oddy methodology of detailed design prompts that produce agency-quality results from AI code generation. Use when building hero…

sacredvoid/skillkit · 74 tokens

design-taste-frontend

Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.

RainMT-dv/skills-pack · 61 tokens

web-design-reviewer

This skill enables visual inspection of websites running locally or remotely to identify and fix design issues. Triggers on requests like "review website design", "check the UI", "fix the layout", "find design problems". Detects issues with responsive design, accessibility, visual consistency, and layout breakage…

Galaxy-Dawn/claude-scholar · 74 tokens