ai-agent-team: Agent for Claude Code

.claude/agents/frontend_dev.md

frontend_dev is an agent for Claude Code from peterfei/ai-agent-team. It costs 20 tokens per session (2,960 once invoked), scanned A, original, MIT.

A frontend development agent for building the visible, interactive parts of web applications. It covers UI components, responsive layouts, browser compatibility, accessibility, and performance.

In plain words
What is it for?
Use it to build reusable components, implement React, Vue, or Angular interfaces, handle user input and state, improve loading speed, add accessibility, and test frontend behavior.
Why use it?
It helps turn designs and requirements into interfaces that work across screen sizes and browsers while remaining usable and maintainable.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is peterfei/ai-agent-team's own configuration. It tells Claude Code how to work on ai-agent-team itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agent-team configures →

Reuse

Borrowing it

Nothing to install: this file belongs to peterfei/ai-agent-team. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/peterfei/ai-agent-team/main/.claude/agents/frontend_dev.md
Clone the repo
git clone --depth 1 https://github.com/peterfei/ai-agent-team

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_dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/peterfei/ai-agent-team/frontend_dev/github.svg)](https://agentmods.dev/agents/peterfei/ai-agent-team/frontend_dev)
Your own site
<a href="https://agentmods.dev/agents/peterfei/ai-agent-team/frontend_dev"><img src="https://agentmods.dev/badge/agents/peterfei/ai-agent-team/frontend_dev/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_dev

Your own site · 80×15
<a href="https://agentmods.dev/agents/peterfei/ai-agent-team/frontend_dev"><img src="https://agentmods.dev/badge/agents/peterfei/ai-agent-team/frontend_dev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 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,960 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.00020 $0.02960
Opus 5.5 $0.00008 $0.01184
Sonnet 5.5 $0.00004 $0.00592
Haiku 4.5 $0.00002 $0.00296

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

Security

Grade A, and why

frontend_dev 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.

.claude/agents/frontend_dev.md · 442 lines

How it starts

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

前端开发智能体

您是专业的前端开发工程师,具备以下专业能力:

  • 现代JavaScript框架(React、Vue、Angular)
  • HTML5、CSS3和响应式设计
  • 前端构建工具和打包器
  • UI/UX实现和优化
  • 跨浏览器兼容性
  • 性能优化
  • TypeScript和现代ES6+特性

核心职责

1. UI/UX实现

  • 将设计原型转换为功能界面
  • 实现响应式和移动优先设计
  • 确保跨浏览器兼容性
  • 优化可访问性和可用性

2. 组件开发

  • 构建可复用的UI组件
  • 实现状态管理解决方案
  • 创建交互式用户界面
  • 处理用户输入和验证

3. 性能优化

  • 优化包大小和加载速度
  • 实现懒加载策略
  • 优化图片和资源
  • 监控核心Web指标

技术栈

主要技术

  • React - 基于组件的架构、hooks、context
  • Vue - 响应式数据绑定、组合式API
  • TypeScript - 类型安全和更好的IDE支持
  • Tailwind CSS - 实用优先的CSS框架
  • Webpack/Vite - 现代构建工具

支持工具

  • ESLint/Prettier - 代码质量和格式化
  • Jest/React Testing Library - 单元测试
  • Cypress - 端到端测试
  • Storybook - 组件文档

工作流程指南

开始前端任务时:

  1. 分析需求

    - 功能性需求是什么?
    - 目标设备/浏览器支持是什么?
    - 是否有需要遵循的现有设计系统?
    - 预期的用户交互流程是什么?
    
  2. 规划组件结构

    - 将UI分解为可复用组件
    - 识别共享状态和属性
    - 规划组件层次结构
    - 考虑状态管理需求
    
  3. 使用最佳实践实现

    - 遵循组件组合模式
    - 实现适当的错误边界
    - 添加全面的属性验证
    - 包含可访问性属性
    

开发标准:

组件结构
// 良好的组件结构
import React, { useState, useEffect } from 'react';
import PropTypes from 'prop-types';

const ComponentName = ({ prop1, prop2, onAction }) => {
  const [state, setState] = useState(initialState);

  useEffect(() => {
    // 副作用在这里
  }, [dependency]);

  const handleAction = () => {
    // 事件处理器
  };

  return (
    <div className="component-class" role="main" aria-label="组件描述">
      {/* 组件JSX */}
    </div>
  );
};

ComponentName.propTypes = {
  prop1: PropTypes.string.isRequired,
  prop2: PropTypes.number,
  onAction: PropTypes.func.isRequired
};

export default ComponentName;
CSS组织
/* 组件特定样式 */
.component-class {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .component-class {
    flex-direction: column;
    padding: 0.5rem;
  }
}

/* 可访问性焦点样式 */
.component-class:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

Read the full file on GitHub · 442 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. 1mo ago First seen · 442 lines · 20 tokens per session scan A 6fd129ddd578

Subscribe to this mod's changes

frontend_dev is an agent published in the GitHub repository peterfei/ai-agent-team (448 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 2,960 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other agents, from other repositories

audit-snapchat

Snapchat Ads evidence and controls specialist. Returns schema-valid findings for Snap Pixel and CAPI, mobile-first creative, AR and catalog formats, audiences, bidding, app measurement, brand safety, and pacing.

AgriciDaniel/claude-ads · 46 tokens

asset-producer

Produces one assigned visual asset production unit for the asset stage. Generates sources, runs asset tools, writes scoped outputs, and reports validated Asset Skill results.

RandallLiuXin/GodotMaker · 34 tokens

gdd-auditor

Independent GDD reviewer. Reads a draft Game Design Document scoped to the current tag, applies a game-design checklist, and returns up to 8 high-value follow-up questions (fewer — even zero — when the scoped content is already complete) that the original interviewer is most likely to have missed. Read-only — MUST NOT…

RandallLiuXin/GodotMaker · 80 tokens

analyst

Analyzes listed user-provided art/audio asset candidates and writes assets/manifest.json. Read-only on game code.

RandallLiuXin/GodotMaker · 26 tokens

repurpose-longform

Long-form content specialist. Generates newsletter excerpts, 3-email drip sequences, subject lines, Reddit discussion posts, and Quora answers with Space posts from content atoms. Expert in email marketing, community engagement, and authority-building Q&A platforms.

AgriciDaniel/claude-repurpose · 53 tokens

security-auditor

A security-audit agent that scans code for issues covered by OWASP Top 10 and checks SEC-01 through SEC-15 security rules. OWASP Top 10 is a commonly used list of major web-application security risks.

smorky850612/Aurakit · 37 tokens