frontend-design

frontend-design is a skill for Claude Code, Codex from int2t05/engineering-skills. It costs 66 tokens per session (2,985 once invoked), scanned A, original, MIT.

A guide to building polished web interfaces, including their layout, colors, typography, responsive behavior, and interactive states.

In plain words
What is it for?
Use it for web components, pages, or applications built with HTML, CSS, JavaScript, React, Vue, or Svelte, including dark mode and responsive layouts.
Why use it?
It helps avoid generic-looking screens and catches visual, accessibility, and platform-convention problems before they spread through an application.

Skill for Claude CodeCodex

Written for Claude Code and Codex: ${CLAUDE_PLUGIN_ROOT} variable, but also agents/openai.yaml present.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the engineering-skills plugin — 47 skills, 1 hook shipped together

Good fit Use it for web components, pages, or applications built with HTML, CSS, JavaScript, React, Vue, or Svelte, including dark mode and responsive layouts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add int2t05/engineering-skills
Claude Code
/plugin install engineering-skills

Made for: Claude Code, Codex.

Or install engineering-skills, the plugin that ships this one along with the rest of its 47 skills, 1 hook.

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/int2t05/engineering-skills/frontend-design.svg)](https://agentmods.dev/skills/int2t05/engineering-skills/frontend-design)
Your own site
<a href="https://agentmods.dev/skills/int2t05/engineering-skills/frontend-design"><img src="https://agentmods.dev/badge/skills/int2t05/engineering-skills/frontend-design.svg" alt="Measured on agentmods" 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 2,985 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.02985
Opus 5 $0.00033 $0.01492
Sonnet 5 $0.00013 $0.00597
Haiku 4.5 $0.00007 $0.00298

Measured 4d ago against content hash 80f19277462b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 4d 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.

skills/03-design/frontend-design/SKILL.md · 149 lines

How it starts

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

Frontend Design

Build distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. The method: pick a bold aesthetic direction, apply a color formula, pair typography deliberately, specify interaction states, and execute with precision. Bold maximalism and refined minimalism both work — the key is intentionality, not intensity.

When to use

  • Building web components, pages, or applications (HTML/CSS/JS, React, Vue, Svelte, etc.)
  • Choosing a design direction, color palette, or typography system for a project
  • Reviewing UI for visual quality, accessibility, or interaction polish
  • Implementing responsive layouts, dark mode, or platform-specific conventions (Apple HIG, Material)
  • Triggers on "frontend", "UI design", "组件设计", "界面设计", "前端设计", "视觉风格"

Not for: pure data visualization (use dataviz); backend logic with no visual surface; API contract design (use api-design). Visually important web work where image-first is preferred (use image-to-code).

Steps

1. Define the element and project context

Before coding, commit to a bold aesthetic direction. Answer:

  • Element: What are you building? (button, card, modal, navbar, page, full app)
  • Purpose: What problem does this interface solve? Who uses it?
  • Tone: Pick an extreme — brutally minimal, maximalist, retro-futuristic, organic, luxury, playful, editorial, brutalist, art deco, industrial. Commit fully; never default to "safe."
  • Differentiation: What makes this UNFORGETTABLE? The one thing someone will remember.

Match implementation complexity to the vision: maximalist designs need elaborate code; minimalist designs need restraint and precision. NEVER use generic AI aesthetics — overused fonts (Inter, Roboto, Arial), purple gradients on white, rounded-2xl everything, stock card grids, lorem ipsum.

  • Load references/brief-inference.md for the design-read protocol (infer page kind, audience, vibe, constraints before coding) and the three dials (DESIGN_VARIANCE, MOTION_INTENSITY, VISUAL_DENSITY) that gate layout, motion, and density
  • Load references/design-foundations.md §Perception & Gestalt and §Hierarchy & Layout for the visual-organization principles beneath layout — Gestalt laws, the four hierarchy techniques, F/Z reading patterns, the squint and 5-second tests, CRAP expanded
  • Load references/design-foundations.md §Cognitive Laws for the psychology laws that constrain layout — Hick's, Fitts's, Miller's 7±2, Tesler, Von Restorff, cognitive load types, progressive disclosure
  • Load references/ux-research.md when the user or context is unknown — interviews, personas, journey maps, empathy maps, usability testing (run discovery before visual design)
  • Load references/design-foundations.md §Information Architecture when organizing content — the four IA elements, tree vs network, card sorting, navigation depth, labeling systems

Read the full file on GitHub · 149 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. 4d ago Changed · +1 lines 80f19277462b
  2. 8d ago First seen · 148 lines · 66 tokens per session scan A 738394eebdf4

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository int2t05/engineering-skills (3 stars, last pushed 7d ago), licensed MIT. It adds 66 tokens to every session and 2,985 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

figma-fetch

Extract frame/component structure and all visible text from a Figma design URL. Use whenever a prompt or a fetched issue contains a figma.com/design or figma.com/file link.

theam/claude-dev-kit · 40 tokens

design

Intent-first UI design with conscious, traceable design decisions. Persists decisions in .interface-design/ for cross-session consistency. Includes domain exploration, design system generation (system.md + system.json), per-component construction with mandatory checkpoints, and craft validation tests. Modes: init…

greglas75/zuvo · 90 tokens

ux

Forms, flows and screens. Structure, naming and clarity of user-facing interaction code: component boundaries, state ownership, and keeping presentation separable from the rules behind it.

rainmanjam/poka-yoke · 36 tokens

fec-storybook-component-doc

A workflow for documenting interface components in Storybook, a tool that displays UI components and their states in isolation. It covers stories, reusable setup wrappers, written documentation, interaction checks, accessibility checks, and visual baselines.

bovinphang/frontend-craft · 93 tokens

Component Variants / States Documentation コンポーネント状態の文書化

A code review check for new reusable interface components and the variations and states they support, such as hover, focus, disabled, loading, and error states.

s977043/river-review · 75 tokens

Design Source-of-Truth Conformance デザイン定義準拠

A code review check that compares new interface values—such as colors, spacing, font sizes, rounded corners, and shadows—with the project's documented design rules or token files. It only runs when those design definitions exist.

s977043/river-review · 90 tokens