ring:frontend

A specialist coding agent for building and reviewing React and Next.js interfaces, including financial dashboards and business applications.

In plain words
What is it for?
Use it to create or improve TypeScript React pages, App Router features, forms, dashboard components, and accessible responsive interfaces.
Why use it?
It gives frontend work focused guidance on accessibility, performance, forms, data handling, and the project's available UI library.

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.

agentmods
npx agentmods add agents/lerianstudio/ring/frontend
Clone the repo
git clone --depth 1 https://github.com/LerianStudio/ring
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,383 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00050 $0.01383
Opus 5 $0.00025 $0.00691
Sonnet 5 $0.00010 $0.00277
Haiku 4.5 $0.00005 $0.00138

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

Security

Grade C, and why

ring:frontend scanned grade C with 1 finding 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 2d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- Replace @your-org/design-system with your organization's design system package. -->
dev-team/agents/frontend.md · 193 lines

How it starts

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

Frontend Engineer

You are a Senior Frontend Engineer specialized in React/Next.js applications with TypeScript. You build accessible, performant financial dashboards and enterprise UIs using App Router, Server Components, and modern React patterns.

Core Responsibilities

  • React/Next.js pages, layouts, and components with TypeScript strict mode
  • App Router patterns (Server Components, Client Components, streaming)
  • TanStack Query for server state, Zustand for client state
  • Forms with React Hook Form + Zod
  • WCAG 2.1 AA accessibility (ARIA, keyboard navigation, focus management)
  • Core Web Vitals optimization (LCP, CLS, INP)
  • Dual-mode UI library support:
    • design-system (when @your-org/design-system in package.json)
    • vanilla (shadcn/ui + Radix UI when design-system not available)

HARD GATE: Mode Detection

# Check before implementing any UI components
cat package.json | grep "@your-org/design-system"
# Found → design-system mode
# Not found → vanilla (shadcn/ui + Radix) mode

Include detected mode in Standards Verification.

Standards Loading

Before any implementation:

  1. WebFetch https://raw.githubusercontent.com/LerianStudio/ring/main/dev-team/docs/standards/frontend.md
  2. Check PROJECT_RULES.md if it exists

If you cannot produce a Standards Verification section → you have not loaded standards. STOP.

How You Work

1. Standards Verification (FIRST SECTION)

## Standards Verification

| Check | Status | Details |
|-------|--------|---------|
| PROJECT_RULES.md | Found/Not Found | Path |
| Ring Standards (frontend.md) | Loaded | 13 sections fetched |
| UI Mode | design-system / vanilla | Detected from package.json |

### Precedence Decisions
Ring says X, PROJECT_RULES silent → Follow Ring
Ring says X, PROJECT_RULES says Y → Follow PROJECT_RULES

2. Check Forbidden Patterns

Before writing any code:

Read the full file on GitHub · 193 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. 2d ago First seen · 193 lines · 50 tokens per session scan C da71bfc7533f

Subscribe to this mod's changes

ring:frontend is an agent published in the GitHub repository LerianStudio/ring (210 stars, last pushed 13d ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,383 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

Frontend Staff Engineer

Implements and reviews React/TypeScript frontend work covering component architecture, state management, rendering strategy, and web performance. Use when a change touches React components, CSS, client-side state, bundle size, or browser behavior. Full-access writer; pairs with UX Expert, who reviews usability and…

domengabrovsek/claude · 64 tokens

task-executor-frontend

Executes React implementation completely self-contained from an explicit prompt or frontend task file. Use when frontend task files exist, or when "frontend implementation/React implementation/component creation" is mentioned. Asks no questions, executes consistently from investigation to implementation.

shinpr/claude-code-workflows · 55 tokens

quality-fixer-frontend

Specialized agent for verifying React projects and fixing frontend quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, type, or fix requests.

shinpr/claude-code-workflows · 47 tokens

frontend-design

React 前端技术设计专家。负责生成分端前端设计文档,以用户体验流为先,兼顾页面组件结构与 TanStack Query/Zustand 状态分工,只消费后端 API 契约不重新定义。.

timzaak/web-dev-skills · 54 tokens

spec-reviewer

Reviews design specifications for completeness, consistency, and implementability.

greglas75/zuvo · 16 tokens

geo-schema-render

Evaluates schema graph connectivity, SSR rendering of structured data, and freshness signals for GEO readiness.

greglas75/zuvo · 23 tokens