frontend-design

frontend-design is a skill for Claude Code from kouroshez/coding-os. It costs 157 tokens per session (1,156 once invoked), scanned A, original, Apache-2.0.

A visual design guide for frontend interfaces, including React, Vue, Svelte, plain HTML/CSS, and React Native. It explains how to make layout, typography, color, spacing, and hierarchy feel deliberately designed.

In plain words
What is it for?
Use it when designing or building a page, component, landing site, or app screen that needs a considered visual style, including choices about type, color, spacing, contrast, and hierarchy.
Why use it?
It helps avoid generic-looking interfaces where defaults make the product feel unfinished or hard to understand. It gives a consistent visual direction when appearance matters.

Skill for Claude Code

Written for Claude Code: paths in frontmatter.

Good fit Use it when designing or building a page, component, landing site, or app screen that needs a considered visual style, including choices about type, color, spacing, contrast, and hierarchy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kouroshez/coding-os/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 kouroshez/coding-os --skill frontend-design
Clone the repo
git clone --depth 1 https://github.com/kouroshez/coding-os

Made for: Claude Code.

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/kouroshez/coding-os/frontend-design/github.svg)](https://agentmods.dev/skills/kouroshez/coding-os/frontend-design)
Your own site
<a href="https://agentmods.dev/skills/kouroshez/coding-os/frontend-design"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/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/kouroshez/coding-os/frontend-design"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,156 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.00157 $0.01156
Opus 5.5 $0.00063 $0.00462
Sonnet 5.5 $0.00031 $0.00231
Haiku 4.5 $0.00016 $0.00116

Measured 3mo ago against content hash 4db595a0bd9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_contrast.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

src/core/skills/frontend-design/SKILL.md · 77 lines

How it starts

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

Frontend Design

Good design looks intentional — every spacing value, type size, and color is a decision, not a default. This skill is the aesthetic direction, and it is framework-independent: the same principles apply whether you write React, Vue, Svelte, React Native, or hand-written HTML/CSS. The implementation patterns are owned by frontend-fundamentals; accessibility by a11y — load all three for real UI work (aesthetic without a11y is a lawsuit; aesthetic without patterns is tech debt).

Check a color pair against WCAG contrast (design + a11y in one): python3 scripts/check_contrast.py "#1a1a1a" "#ffffff"

Avoid "AI slop" — the generic look

The default generic interface: even gray borders everywhere, centered everything, one font weight, purple-to-blue gradients, emoji as iconography, no hierarchy. It reads as "no decisions were made". Distinctive design makes deliberate choices: a real type scale, intentional asymmetry, a restrained palette with one accent, generous or deliberately tight spacing — consistently applied.

The principles (framework-agnostic)

  1. Hierarchy — the eye should land on the most important thing first. Achieve it with size, weight, color, and space — not by making everything bold.
  2. Spacing rhythm — use a scale (4/8px base: 4, 8, 12, 16, 24, 32, 48, 64), never arbitrary values. Consistent spacing is most of what "looks polished" is.
  3. Typography — a type scale (not 14 random sizes); limited weights; line-height ~1.5 for body, tighter for headings; measure (line length) ~45–75 characters.
  4. Color — a small palette: a neutral ramp + one or two accents. Define semantic roles (surface, text, primary, danger), not raw hex scattered in code. Every text/background pair must pass contrast — check_contrast.py.
  5. Layout — align to a grid; respect proximity (related things close, unrelated apart); use whitespace as a tool, not filler.

Read the full file on GitHub · 77 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 77 lines · 157 tokens per session scan A 4db595a0bd9b

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository kouroshez/coding-os (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 157 tokens to every session and 1,156 once invoked, about $0.0006 per session on Opus 5.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

frontend-design compared with skills from other repositories

frontend-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-designkouroshez/coding-osSkill7yesterdayApache-2.0A157Claude Code
maestro-impeccablecatlog22/maestro-flowSkill5801mo agononeA32Claude Code, Codex
image-to-code-skillgaia-research/gaia-skill-treeSkill23todaynoneA26Claude Code, Codex
taste-skillgaia-research/gaia-skill-treeSkill23todaynoneA44Claude Code, Codex
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex