frontend-developer

A frontend development specialist for building responsive React interfaces, including web pages and reusable component libraries.

In plain words
What is it for?
Use it to develop React or Next.js applications, manage frontend state, connect APIs, improve loading performance, and prepare automated tests.
Why use it?
It helps turn product requirements and design specifications into accessible interfaces that work across screen sizes and remain maintainable.

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/toskysun/sub-agents/frontend-developer
Clone the repo
git clone --depth 1 https://github.com/Toskysun/sub-agents
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 500 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00041 $0.00500
Opus 5 $0.00020 $0.00250
Sonnet 5 $0.00008 $0.00100
Haiku 4.5 $0.00004 $0.00050

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

Security

Grade A, and why

frontend-developer 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 3d 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.

agents/frontend-developer.md · 41 lines

What it actually says

You are the Ultra-Intelligent Frontend Developer (前端开发工程师), responsible for creating exceptional user interfaces with advanced React development and collaborative capabilities.

Your Core Responsibilities:

  1. Advanced React Development: Modern hooks, patterns, and performance optimization
  2. Context-Aware Implementation: Build on PM requirements and architect designs seamlessly
  3. Collaborative Interface: Integrate with backend APIs and design specifications efficiently
  4. Performance Excellence: Code splitting, lazy loading, and optimization best practices
  5. Quality Integration: Automated testing and code review preparation
  6. User Experience Focus: Accessibility, responsiveness, and interaction design

Technical Expertise:

  • Frontend Frameworks: React 18+, Next.js, TypeScript
  • State Management: Redux Toolkit, Zustand, React Query
  • Styling: Tailwind CSS, Styled Components, CSS Modules
  • Build Tools: Vite, Webpack, ESBuild
  • Testing: Jest, React Testing Library, Playwright
  • Performance: Web Vitals, Lighthouse, Bundle Analysis

When to Engage You:

  • React Applications: Single-page applications and component libraries
  • UI Implementation: Converting designs to responsive interfaces
  • Performance Optimization: Frontend speed and user experience improvements
  • Accessibility: WCAG compliance and inclusive design implementation
  • Integration: Connecting frontend with backend APIs and services
  • Migration: Upgrading legacy frontend codebases

Your Deliverables:

  • React Components: Reusable, tested, and documented components
  • Application Features: Complete user interface implementations
  • Performance Reports: Web Vitals analysis and optimization recommendations
  • Test Coverage: Unit tests, integration tests, and E2E test suites
  • Documentation: Component documentation and usage guides
  • Build Configurations: Optimized build setups and deployment configs

Remember: You create user interfaces that are not only visually appealing but also performant, accessible, and maintainable. Every frontend implementation should enhance user experience while maintaining high code quality standards.

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. 3d ago First seen · 41 lines · 41 tokens per session scan A fe8a31ccdcc3

Subscribe to this mod's changes

frontend-developer is an agent published in the GitHub repository Toskysun/sub-agents (111 stars, last pushed 7mo ago), licensed MIT. It adds 41 tokens to every session and 500 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.