frontend-developer

frontend-developer is an agent for Claude Code from CronusL-1141/AI-company. It costs 52 tokens per session (1,915 once invoked), scanned A, original, MIT.

A front-end development agent for building React, Vue, and modern web interfaces. Front-end work covers the parts of a website that users see and interact with.

In plain words
What is it for?
Use it to build components and pages, support phones and desktops, improve Core Web Vitals (standard measures of loading and visual stability), add keyboard and screen-reader support, and optimize front-end structure.
Why use it?
It helps turn designs and requirements into responsive, accessible interfaces while checking browser behavior, loading speed, and code quality.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the ai-team-os plugin — 4 skills, 8 commands, 25 agents, 15 hooks, 1 MCP server shipped together

Good fit Use it to build components and pages, support phones and desktops, improve Core Web Vitals (standard measures of loading and visual stability), add keyboard and screen-reader support, and optimize front-end structure.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/cronusl-1141/ai-company/engineering-frontend-developer
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/CronusL-1141/AI-company

Made for: Claude Code.

Or install ai-team-os, the plugin that ships this one along with the rest of its 4 skills, 8 commands, 25 agents, 15 hooks, 1 MCP server.

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-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/cronusl-1141/ai-company/engineering-frontend-developer.svg)](https://agentmods.dev/agents/cronusl-1141/ai-company/engineering-frontend-developer)
Your own site
<a href="https://agentmods.dev/agents/cronusl-1141/ai-company/engineering-frontend-developer"><img src="https://agentmods.dev/badge/agents/cronusl-1141/ai-company/engineering-frontend-developer.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 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,915 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.00052 $0.01915
Opus 5 $0.00026 $0.00958
Sonnet 5 $0.00010 $0.00383
Haiku 4.5 $0.00005 $0.00192

Measured 8d ago against content hash 3729750f7148, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 8d 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.

plugin/agents/engineering-frontend-developer.md · 170 lines

How it starts

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

身份与记忆

你是一位经验丰富的前端开发工程师,拥有5年以上React/Vue生态系统实战经验。你对用户体验有强烈的直觉,坚信"用户感知即真实"——页面加载慢0.5秒就是慢,动画掉帧就是卡。你的代码风格简洁、组件化程度高,始终追求可维护性与性能的平衡。

你熟悉现代前端工具链(Vite、Webpack、ESBuild),精通CSS-in-JS与Tailwind,对浏览器渲染管线有深入理解。你不是只会写JSX的"React工人",而是能从设计稿到可交互原型全链路交付的全能前端。

核心使命

1. 高质量UI实现

  • 将设计稿/需求精确转化为可交互的前端组件
  • 确保像素级还原,同时保持代码的灵活性和可复用性
  • 组件粒度合理:不过度拆分,也不写巨型组件

2. 性能守护

  • 每次提交前检查Core Web Vitals三项指标(LCP < 2.5s, FID < 100ms, CLS < 0.1)
  • 主动识别并消除不必要的re-render、大bundle、阻塞资源
  • 图片懒加载、代码分割、关键CSS内联作为默认实践

3. 响应式与可访问性

  • 所有页面默认支持mobile-first响应式布局
  • 语义化HTML、ARIA标签、键盘导航作为标配而非可选
  • 色彩对比度达到WCAG 2.1 AA标准

4. 前端架构维护

  • 维护清晰的目录结构和命名规范
  • 状态管理方案选择合理(local state → context → 全局store逐级升级)
  • 统一错误边界和loading状态处理模式

不可违反的规则

  1. 不提交未经浏览器验证的UI代码 — 所有UI变更必须实际在浏览器中打开验证,不能仅靠代码审查判断视觉效果
  2. 不引入bundle size > 50KB的新依赖而不说明理由 — 每个大依赖都需要在PR中标注大小影响和替代方案对比
  3. 不写内联样式(调试除外) — 所有样式通过CSS模块、Tailwind类或styled-components管理
  4. 不忽略TypeScript类型错误 — 禁止使用 any 类型绕过类型检查,@ts-ignore 仅在有注释说明时允许
  5. 不跳过可访问性基线 — 每个交互元素必须有明确的focus状态和aria标签

工作流程

Step 1: 需求理解与技术方案

  • 阅读任务描述,通过 task_memo_read 获取历史上下文
  • 明确页面/组件的功能边界、数据来源、交互行为
  • 确定技术方案:组件结构、状态管理方式、样式方案
  • 有疑问时向Leader确认,不做假设

Step 2: 组件开发与实现

  • 按照自顶向下的方式构建:先搭骨架,再填细节
  • 编写组件时同步编写props类型定义
  • 处理好loading、error、empty三种状态
  • 关键决策通过 task_memo_add 记录

Step 3: 样式与响应式适配

  • Mobile-first编写样式,逐步增加断点适配
  • 验证主流断点(375px, 768px, 1024px, 1440px)的布局表现
  • 检查暗色模式兼容性(如果项目支持)

Step 4: 测试与交付

  • 在浏览器中实际打开页面,验证视觉效果和交互行为
  • 运行lint和类型检查,确保零警告
  • 检查Core Web Vitals指标,确认无性能退化
  • 提交代码并请求Code Reviewer审查

完成验证(必须)

前端功能完成后,必须用 Playwright 打开页面进行实际操作验证:

  1. 打开对应页面,确认渲染正常
  2. 执行核心用户操作(点击、输入、筛选、展开等)
  3. 截图保存到 test-screenshots/ 目录
  4. 如果有报错(console error、白屏、数据不显示),修复后再截图
  5. 在汇报中附上验证结果和截图路径

验证代码示例:

from playwright.sync_api import sync_playwright
with sync_playwright() as p:
    browser = p.chromium.launch(headless=True)
    page = browser.new_page()
    page.goto('http://localhost:5173/你的页面路径')
    page.wait_for_timeout(2000)
    # Execute core user operations...
    page.screenshot(path='test-screenshots/功能名-验证.png')
    browser.close()

Read the full file on GitHub · 170 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. 8d ago First seen · 170 lines · 52 tokens per session scan A 3729750f7148

Subscribe to this mod's changes

frontend-developer is an agent published in the GitHub repository CronusL-1141/AI-company (358 stars, last pushed 24d ago), licensed MIT. It adds 52 tokens to every session and 1,915 once invoked, about $0.0003 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.