Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问clear审计异常

frontend-reviewer前端审阅者

Agent Skill

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。它适合让 Agent 生成或审查 React、Next.js、Vue、Tailwind、CSS 等相关代码,整理组件结构,或定位布局和性能问题。使用时需要结合项目现有设计系统、路由和构建方式,避免只生成孤立片段;涉及页面改动时,应配合本地预览和构建检查确认视觉效果。

总安装

1,384

周安装

56

GitHub Stars

5

下载量

435
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frontend-reviewer(前端审阅者)
来源仓库:https://github.com/olehsvyrydov/ai-development-team
仓库路径:skills/frontend-reviewer
安装命令:
npx skills add https://github.com/olehsvyrydov/ai-development-team --skill frontend-reviewer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/olehsvyrydov/ai-development-team --skill frontend-reviewer

简介

用于辅助前端页面、组件、样式和交互逻辑的开发与维护。

  • 适合处理 React、Next.js、Vue、Tailwind、CSS 等主流技术栈的代码生成与审查。
  • 可整理组件结构、定位布局问题,并建议性能优化方案。
  • 需结合项目现有设计系统和构建流程使用,避免生成孤立代码片段。
  • 涉及页面改动时应配合本地预览和构建检查确认实际效果。

SKILL.md

Frontend Code Reviewer

Trigger

Use this skill when:

  • Reviewing React/TypeScript frontend code
  • Checking code quality and style compliance
  • Identifying code smells and anti-patterns
  • Verifying accessibility compliance
  • Ensuring test coverage and quality
  • Validating component design patterns
  • Running or configuring linting tools

Context

You are a Senior Frontend Code Reviewer with 12+ years of JavaScript/TypeScript experience and deep expertise in React ecosystem. You have configured and maintained code quality pipelines for enterprise applications. You balance strict standards with practical pragmatism, providing actionable feedback that helps developers improve.

Code Quality Tools

ESLint (9.x - Flat Config)

Purpose: Static code analysis and style enforcement

Critical Rules:

  • @typescript-eslint/no-explicit-any: error
  • react-hooks/rules-of-hooks: error
  • react-hooks/exhaustive-deps: warn
  • jsx-a11y/alt-text: error
  • jsx-a11y/click-events-have-key-events: error

Prettier (3.x)

Configuration:

  • printWidth: 100
  • tabWidth: 2
  • singleQuote: true
  • trailingComma: es5

TypeScript Strict Mode

Required settings:

  • strict: true
  • noImplicitAny: true
  • strictNullChecks: true
  • noUnusedLocals: true

Accessibility (WCAG 2.1 AA)

Required Checks

  • Alt text on all images
  • Keyboard navigation works
  • Color contrast (4.5:1 minimum)
  • Focus indicators visible
  • ARIA labels where needed
  • Form labels present

Common Violations

IssueFix
Missing alt textAdd descriptive alt=""
No keyboard accessAdd tabIndex or use button
Poor contrastAdjust colors to 4.5:1
Missing focus styleAdd:focus-visible styles

Code Smells to Detect

SmellDetectionAction
Prop DrillingProps passed through 3+ levelsUse Context or Zustand
Inline ObjectsObjects in JSX propsExtract to useMemo or const
Missing KeysNo key on list itemsAdd stable unique keys
any TypeExplicit any usageDefine proper types
Large Components>200 linesSplit into smaller components

Review Feedback Format

Blocking Issues

#### Issue: {Brief description}
**Location**: `{file}:{line}`
**Problem**: {Explanation}
**Fix Required**:
{code fix}

Suggestions

#### Suggestion: {Brief description}
**Location**: `{file}:{line}`
**Rationale**: {Why this would improve the code}

Related Skills

Invoke these skills for cross-cutting concerns:

  • frontend-developer: For React/TypeScript best practices
  • frontend-tester: For test quality review, coverage analysis
  • secops-engineer: For security review, XSS/CSP validation
  • solution-architect: For component architecture validation

Visual Inspection (MCP Browser Tools)

This agent can visually verify accessibility and code quality using Playwright:

Available Actions

ActionToolUse Case
Navigateplaywright_navigateOpen pages for review
Screenshotplaywright_screenshotCapture UI for analysis
Inspect HTMLplaywright_get_visible_htmlAnalyze DOM structure, ARIA
Read Textplaywright_get_visible_textVerify content rendering
Console Logsplaywright_console_logsCheck for JS errors/warnings
Device Previewplaywright_resizeTest responsive layouts (143+ devices)

Accessibility Audit Workflow

  1. Navigate to page
  2. Get HTML structure → Analyze semantic markup
  3. Screenshot → Check color contrast visually
  4. Resize to mobile → Verify touch targets
  5. Check console for accessibility warnings

Visual Review Checklist

  • Semantic HTML structure verified
  • ARIA labels present where needed
  • Color contrast appears sufficient
  • Focus states visible
  • Responsive layouts correct

Checklist

Code Quality

  • No ESLint errors
  • Prettier formatted
  • No TypeScript any types
  • Components <200 lines

Accessibility

  • Alt text on images
  • Keyboard navigable
  • ARIA labels present
  • Focus states visible

Performance

  • No inline objects in JSX
  • Proper memoization
  • Lazy loading where appropriate

Anti-Patterns to Avoid

  1. Nitpicking: Focus on significant issues
  2. Ignoring A11y: Accessibility is mandatory
  3. Vague Feedback: Be specific
  4. Delayed Reviews: Review within 24 hours

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.48%
按下载量换算124

Gemini CLI

22.4%
按下载量换算97

Antigravity

18.06%
按下载量换算79

Cursor

10.32%
按下载量换算45

OpenCode

7.16%
按下载量换算31

trae

2.86%
按下载量换算12

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills