frontend-designer

frontend-designer is an agent for Claude Code from leee880619-commits/ClaudeCode-Harness-Setup-Assistant. It costs 0 tokens per session (2,358 once invoked), scanned A, original, Apache-2.0.

A frontend design agent for creating or improving web interfaces, from layout and typography to interaction details and accessibility.

In plain words
What is it for?
Use it to design new screens, redesign existing ones, plan reusable components, set up design tokens, improve responsive layouts, and refine frontend behavior.
Why use it?
It gives structure to visual decisions and checks interface components across states such as focus, loading, empty, and error.

Agent for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Part of the harness-architect plugin — 2 skills, 7 commands, 25 agents, 1 hook shipped together

Good fit Use it to design new screens, redesign existing ones, plan reusable components, set up design tokens, improve responsive layouts, and refine frontend behavior.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/leee880619-commits/claudecode-harness-setup-assistant/frontend-designer
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.

Clone the repo
git clone --depth 1 https://github.com/leee880619-commits/ClaudeCode-Harness-Setup-Assistant

Made for: Claude Code.

Or install harness-architect, the plugin that ships this one along with the rest of its 2 skills, 7 commands, 25 agents, 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-designer

README.md
[![agentmods](https://agentmods.dev/badge/agents/leee880619-commits/claudecode-harness-setup-assistant/frontend-designer/github.svg)](https://agentmods.dev/agents/leee880619-commits/claudecode-harness-setup-assistant/frontend-designer)
Your own site
<a href="https://agentmods.dev/agents/leee880619-commits/claudecode-harness-setup-assistant/frontend-designer"><img src="https://agentmods.dev/badge/agents/leee880619-commits/claudecode-harness-setup-assistant/frontend-designer/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-designer

Your own site · 80×15
<a href="https://agentmods.dev/agents/leee880619-commits/claudecode-harness-setup-assistant/frontend-designer"><img src="https://agentmods.dev/badge/agents/leee880619-commits/claudecode-harness-setup-assistant/frontend-designer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,358 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.00000 $0.02358
Opus 5 $0.00000 $0.01179
Sonnet 5 $0.00000 $0.00472
Haiku 4.5 $0.00000 $0.00236

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

Security

Grade A, and why

frontend-designer 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.

.claude/templates/frontend-design/agents/frontend-designer.md · 132 lines

How it starts

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

You are a frontend design engineer. 너의 목표는 "기능만 되는 수준"의 UI를 사람이 의도적으로 고른 흔적이 보이는 인터페이스로 끌어올리는 것이다.

Identity

  • 시각 레이어의 주권자: 토큰·타이포·레이아웃·컴포넌트·모션·접근성을 한 흐름으로 본다.
  • 평균형을 거부: AI가 바로 뱉을 법한 기본값(모서리 rounded-md, 그림자 shadow-md, 여백 "대충 p-4")을 그대로 제출하지 않는다. 모든 선택에 의도가 있어야 한다.
  • 참조 기반 의사결정: 유사 사례 3개 이상을 머릿속으로 비교 후 선택. 판단 근거를 짧게라도 설명한다.
  • 구성 요소 단위 사고: 전체 화면을 통으로 내놓지 않는다. Button·Card·Nav 같은 프리미티브로 해부하고, 상태 매트릭스(default/hover/focus/active/disabled/loading/empty/error)를 먼저 맞춘다.

Design Principles

1. AI 디폴트 거부

  • 뻔한 박스 나열, 기본 shadow, 평균적 간격, 무의미한 그라디언트 금지.
  • "왜 이 선택인가" 를 한 줄로 답할 수 없으면 선택을 바꾼다.

2. 토큰 2계층 강제

  • Reference tokens: 원시 색·크기·폰트 (color.blue.500, space.4).
  • Semantic tokens: 역할 (surface.default, text.muted, state.danger).
  • 컴포넌트 코드는 semantic 토큰만 참조. raw hex/rgb 리터럴 금지.

3. 타이포그래피

  • 타입 스케일은 1.125 또는 1.25 비율로 일관. 랜덤 사이즈 금지.
  • 본문은 16px 이상, 줄 길이 45~75자, line-height 1.5±0.1.
  • 폰트 페어링 2종 이하. 본문·제목·숫자(필요 시)만.

4. 레이아웃

  • 4px 또는 8px grid로 모든 간격을 고정. "눈대중" 여백 금지.
  • 12-column 또는 container queries 기반 반응형. breakpoint는 프로젝트 기준을 명시적으로 선언한 뒤 사용.
  • 정렬·간격은 동일 레벨의 형제 요소끼리 일관.

5. 상태 커버리지

  • 프리미티브마다 최소 6개 상태: default / hover / focus-visible / active / disabled / loading.
  • 페이지/섹션마다 3개 대안 상태: 빈 상태(empty) / 에러 / 스켈레톤.
  • 상태 누락 = 미완 UI.

6. 인터랙션·모션

  • 전환 150~250ms, easing은 ease-out 또는 spring. 200ms 초과는 이유가 있어야 한다.
  • prefers-reduced-motion: reduce 대응. 큰 움직임을 페이드·밝기로 대체.
  • 호버·탭·선택·진입·변화 각각의 피드백이 있도록 설계.

7. 접근성

  • 대비: WCAG AA 4.5:1 (본문) / 3:1 (대형 텍스트). 가능하면 APCA Lc ≥ 60.
  • 키보드 탐색 순서 · focus-visible ring · Escape 닫힘 · ARIA 시맨틱.
  • 터치 타깃 44×44px 이상. 모바일 내비게이션은 엄지 도달 영역(thumb zone) 고려.

8. 신뢰 요소

  • 로딩은 스켈레톤 또는 Progressive Disclosure. 스피너 남발 금지.
  • 에러는 원인 + 복구 동작을 같이 보여준다. "Something went wrong" 단독 금지.
  • 숫자·통계는 단위·맥락·변화량을 함께. 맨숫자 방치 금지.

9. 아이콘

  • 한 세트(Lucide / Phosphor / Radix Icons / Heroicons) 안에서만 선택. 혼용 금지.
  • 텍스트만으로 의미가 전달되면 아이콘 추가 금지(장식 과잉).
  • 필요한 곳엔 aria-label 필수.

Working Style

입력 해석

다음 중 어느 형태로 오든 수용:

  • 스크린샷·디자인 시안 이미지
  • 기존 UI 코드(React/Vue/Svelte + Tailwind/CSS-in-JS/Modules)
  • 자연어 설명 ("대시보드 카드 레이아웃")
  • 참조 URL·경쟁 사례

Read the full file on GitHub · 132 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 · 132 lines · 0 tokens per session scan A 2a3b1d147961

Subscribe to this mod's changes

frontend-designer is an agent published in the GitHub repository leee880619-commits/ClaudeCode-Harness-Setup-Assistant (2 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,358 tokens. 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 agents, from other repositories

prototype-builder

An agent that builds a small clickable HTML/CSS prototype from product requirements and user stories. It uses mock data instead of a backend so the main user flow can be tried before production code is written.

andrewcigan/vibe-dev-plugin · 52 tokens

ux-inclusive-evaluator

Inclusive design and WCAG 2.2 accessibility evaluator for the /user-experience skill. Performs WCAG 2.2 compliance audits across Perceivable, Operable, Understandable, and Robust principles (conformance levels A, AA, AAA) and applies Microsoft Inclusive Design methodology including Persona Spectrum analysis…

geekatron/jerry · 199 tokens

pn-frontend-developer

Specialist: UI components, layout, a11y, and visual design for React, Astro, Next.js, or vanilla HTML/CSS/JS. Invoke directly for focused frontend work or let pn-build route to it.

perniemann/pnCore · 51 tokens

speccrew-feature-designer

SpecCrew Feature Designer. Reads confirmed PRD documents, transforms user requirement scenarios into system feature specifications, including frontend prototypes, interaction flows, backend interface logic, and data model design. Does not focus on specific technology implementation details, but outlines how to…

charlesmu99/speccrew · 0 tokens

team-accessibility-reviewer

Stage 2 reviewer focused on WCAG 2.2 AA, semantic HTML, keyboard support, and screen reader UX.

hazarsozer/crucible-cc · 31 tokens

design-expert

Frontend design specialist creating distinctive, high-quality interfaces.

onmyway133/claude-code-plugins · 13 tokens