Skip to content
Back to skills

Frontend Review

ASecurity

前端评审清单:按组件化、可访问性、性能、工程化四个维度系统检查前端代码并输出问题清单

  • 39 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 22, 2026
ai-agentsfrontend

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add oschina/mothx --skill frontend-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Frontend Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Frontend Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/oschina-frontend-review/badge)](https://www.skillsdirectory.com/skills/oschina-frontend-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: frontend-review
description: 前端评审清单:按组件化、可访问性、性能、工程化四个维度系统检查前端代码并输出问题清单
---

# 前端评审清单

按以下四个维度系统评审前端代码。逐项检查后输出问题清单:位置(文件/组件)、维度、严重度(阻塞/建议)、修复建议。没有问题的维度明确说「通过」。

## 组件化

- 组件职责单一、粒度合适,无「上帝组件」;
- props/接口清晰,状态放在最小必要范围,无冗余复制;
- 可复用逻辑已抽取(composables/hooks),组件间无复制粘贴;
- 样式方案与项目统一,无全局污染。

## 可访问性

- 语义化标签使用正确,未滥用 ARIA;
- 键盘操作路径完整,焦点样式可见;
- 对比度达标(WCAG AA),图片有 alt,表单控件有 label。

## 性能

- 无不必要的重渲染;大列表已虚拟化;
- 图片懒加载并使用现代格式,首屏资源精简;
- 构建产物合理分割,无超大 bundle;高频事件已防抖节流。

## 工程化

- 类型完整,无 any 等类型逃逸;
- 构建与测试通过,依赖无可知的多余项;
- 有运行/预览说明,改动范围与任务边界一致。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.