frontend-agent

frontend-agent is a skill for Claude Code from rtazima/claude-proj-blueprint. It costs 31 tokens per session (565 once invoked), scanned A, original, MIT.

A method for creating user-interface components when no Figma design file is available. It uses the project’s existing design tokens, component library, and screens so new UI matches the codebase.

In plain words
What is it for?
Use it to build pages or components from product requirements, especially when there is no Figma link, by checking design tokens, existing UI patterns, responsiveness, and accessibility.
Why use it?
It gives frontend work a consistent visual and technical basis when there is no finished design to follow. It also helps avoid duplicate components and hard-coded styling values.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to build pages or components from product requirements, especially when there is no Figma link, by checking design tokens, existing UI patterns, responsiveness, and accessibility.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rtazima/claude-proj-blueprint/frontend-agent
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 rtazima/claude-proj-blueprint --skill frontend-agent
Clone the repo
git clone --depth 1 https://github.com/rtazima/claude-proj-blueprint

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-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/frontend-agent/github.svg)](https://agentmods.dev/skills/rtazima/claude-proj-blueprint/frontend-agent)
Your own site
<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/frontend-agent"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/frontend-agent/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-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/rtazima/claude-proj-blueprint/frontend-agent"><img src="https://agentmods.dev/badge/skills/rtazima/claude-proj-blueprint/frontend-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 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.00031 $0.00565
Opus 5 $0.00015 $0.00282
Sonnet 5 $0.00006 $0.00113
Haiku 4.5 $0.00003 $0.00056

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

Security

Grade A, and why

frontend-agent 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/skills/frontend-agent/SKILL.md · 68 lines

How it starts

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

Frontend Agent — Design-to-Code without Figma

When this skill activates

  • User runs /implement on a PRD that has no Figma link
  • User asks to build UI, create a page, or implement a component
  • PRD contains frontend requirements but no design reference

Workflow

  1. Load design tokens from docs/specs/design-system/README.md
  2. Identify component library — read which library the project uses
  3. Scan existing UI — grep for existing pages/components to match visual patterns
  4. Read PRD requirements — extract user stories, screens, interactions
  5. Generate UI following the rules below
  6. Self-review — verify tokens are used, no hardcoded values, responsive, accessible

Generation rules

Tokens first

  • ALWAYS read docs/specs/design-system/README.md before generating any UI
  • Use CSS variables / theme tokens — never hardcode #hex, px spacing, or font names
  • If a token is missing, flag it and suggest adding to the design system

Consistency

  • Before creating a new component, search for similar existing ones
  • Match the layout patterns, spacing rhythm, and interaction patterns of existing screens
  • Reuse existing components — don't create duplicates

Component structure

  • One component per file
  • Props interface defined (TypeScript)
  • Default to the project's component library (shadcn, Radix, etc.)
  • Include variants: default, loading, empty, error states
  • Responsive by default (mobile-first)

Accessibility

  • Semantic HTML elements
  • ARIA labels on interactive elements
  • Keyboard navigable
  • Color contrast meets WCAG AA (4.5:1 text, 3:1 large text)
  • Focus indicators visible

What NOT to do

  • Never generate pixel-perfect mockup replicas without tokens
  • Never hardcode colors, spacing, or typography
  • Never skip empty/error/loading states
  • Never create a component that duplicates an existing one
  • Never ignore the project's component library choice

Output format

When generating a new page or component:

Read the full file on GitHub · 68 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 · 68 lines · 31 tokens per session scan A 3a3e4109b0b4

Subscribe to this mod's changes

frontend-agent is a skill published in the GitHub repository rtazima/claude-proj-blueprint (20 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 565 once invoked, about $0.0002 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-30.