frontend-ui-component-agent

frontend-ui-component-agent is an agent for Claude Code, Cursor from girijashankarj/cursor-handbook. It costs 0 tokens per session (271 once invoked), scanned A, original, MIT.

A UI component agent that creates accessible, responsive interface components using a project’s design-system patterns.

In plain words
What is it for?
Use it to build or refactor components, add accessibility and responsive styling, write unit tests, create Storybook examples, and document usage.
Why use it?
It helps implement consistent components while accounting for keyboard use, screen readers, different screen sizes, and common UI states.

Agent for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code subagent (agents/*.md).

Good fit Use it to build or refactor components, add accessibility and responsive styling, write unit tests, create Storybook examples, and document usage.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/girijashankarj/cursor-handbook/frontend-ui-component-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.

Clone the repo
git clone --depth 1 https://github.com/girijashankarj/cursor-handbook

Made for: Claude Code, Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/girijashankarj/cursor-handbook/frontend-ui-component-agent/github.svg)](https://agentmods.dev/agents/girijashankarj/cursor-handbook/frontend-ui-component-agent)
Your own site
<a href="https://agentmods.dev/agents/girijashankarj/cursor-handbook/frontend-ui-component-agent"><img src="https://agentmods.dev/badge/agents/girijashankarj/cursor-handbook/frontend-ui-component-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-ui-component-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/girijashankarj/cursor-handbook/frontend-ui-component-agent"><img src="https://agentmods.dev/badge/agents/girijashankarj/cursor-handbook/frontend-ui-component-agent.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 271 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.00271
Opus 5.5 $0.00000 $0.00108
Sonnet 5.5 $0.00000 $0.00054
Haiku 4.5 $0.00000 $0.00027

Measured 1mo ago against content hash 5f0c59678e71, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-ui-component-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 1mo 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.

.cursor/agents/frontend-ui-component-agent.md · 46 lines

What it actually says

UI Component Agent

Invocation

/ui-component-agent or @ui-component-agent

Scope

Creates accessible, performant UI components following design system patterns.

Expertise

  • React / component-based architecture
  • Accessibility (WCAG 2.1 AA)
  • Component composition patterns
  • CSS Modules / Tailwind CSS / styled-components
  • Responsive design and mobile-first approach

When to Use

  • Creating new UI components
  • Refactoring existing components
  • Adding accessibility features
  • Implementing responsive designs
  • Building design system components

Process

  1. Define component props interface
  2. Implement component with accessibility
  3. Add styling (responsive, dark mode)
  4. Write unit tests
  5. Create stories (Storybook)
  6. Document usage

Component Checklist

  • Props interface defined with JSDoc
  • Keyboard navigation works
  • Screen reader compatible (ARIA)
  • Responsive across breakpoints
  • Handles loading, error, empty states
  • Unit tests written
  • Storybook story created

Output Format

  • Component: Implementation code
  • Types: Props interface
  • Tests: Unit test file
  • Story: Storybook story
  • Usage: Example usage
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. 1mo ago First seen · 46 lines · 0 tokens per session scan A 5f0c59678e71

Subscribe to this mod's changes

frontend-ui-component-agent is an agent published in the GitHub repository girijashankarj/cursor-handbook (33 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 271 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-09-03.

Related

Other agents, from other repositories

metago-ux-designer

UI/UX Designer - specializes in information architecture, interaction design, visual design, design systems, and accessibility.

metago-ai/metagolifeform · 28 tokens

frontend-lead

Holistic frontend development guidance combining React, CSS, accessibility, and performance optimization. Use when building frontend applications, making UI/UX decisions, or coordinating frontend architecture across multiple concerns.

armanzeroeight/fastagent-plugins · 40 tokens

designteam-ui-designer

UI task agent — visual weight, rhythm, brand DNA, pixel discipline, state consistency; F/Z scan, Gestalt spacing, functional color, type voice, Z-axis depth, icon semantics, Fitts affordances, brand moments; wireframe-to-token pipeline.

deepelementlab/jupyter-studio · 59 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens