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.
curl -O https://raw.githubusercontent.com/peterfei/ai-agent-team/main/.claude/agents/frontend_dev.mdgit clone --depth 1 https://github.com/peterfei/ai-agent-teamWrote 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.
[](https://agentmods.dev/agents/peterfei/ai-agent-team/frontend_dev)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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 - 组件文档
工作流程指南
开始前端任务时:
-
分析需求
- 功能性需求是什么? - 目标设备/浏览器支持是什么? - 是否有需要遵循的现有设计系统? - 预期的用户交互流程是什么? -
规划组件结构
- 将UI分解为可复用组件 - 识别共享状态和属性 - 规划组件层次结构 - 考虑状态管理需求 -
使用最佳实践实现
- 遵循组件组合模式 - 实现适当的错误边界 - 添加全面的属性验证 - 包含可访问性属性
开发标准:
组件结构
// 良好的组件结构
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;
}
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.
- 1mo ago First seen · 442 lines · 20 tokens per session scan A 6fd129ddd578
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.
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.
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.
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…
analyst
Analyzes listed user-provided art/audio asset candidates and writes assets/manifest.json. Read-only on game code.
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.
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.