ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 4/5

frontend-code-review

从架构、可维护性、类型安全、可访问性、样式一致性、性能和可测试性等角度审查前端代码,并将报告保存为 Markdown 文件。当用户要求代码审查、Review、评审代码质量时自动激活。

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/bovinphang/frontend-code-review
Or

What This Skill Does

The frontend-code-review skill is a sophisticated static analysis and architectural evaluation tool designed for OpenClaw AI agents. It acts as an automated, high-standard code reviewer that inspects front-end source code written in Vue, React, and TypeScript. By evaluating code against strict criteria—including architectural integrity, type safety, rendering efficiency, accessibility (a11y), and security—it ensures that front-end codebases maintain high quality. Upon completing a review, the skill automatically generates a detailed, actionable Markdown report saved directly to your repository's /reports/ directory.

Installation

To integrate this skill into your environment, run the following command in your terminal:

clawhub install openclaw/skills/skills/bovinphang/frontend-code-review

Once installed, the agent will automatically listen for requests regarding code quality, reviews, or refactoring suggestions for your web projects.

Use Cases

  • Pre-Merge PR Reviews: Use this skill to catch subtle bugs, type errors, or architectural drift before code reaches the main branch.
  • Design-to-Code Validation: Ensure that implementation results from design-to-code pipelines meet performance and maintainability standards.
  • Legacy Refactoring: Utilize the reviewer to identify 'God components', repetitive logic, or outdated patterns that hinder development velocity.
  • Accessibility Audits: Verify that your components support correct aria-label usage, keyboard navigation, and semantic HTML structure.

Example Prompts

  1. "Please perform a code review on the src/components/UserDashboard.tsx file and let me know if there are any critical issues before I merge this PR."
  2. "Review the state management implementation in composables/useAuth.ts. Check for unnecessary re-renders and potential type safety issues."
  3. "Run a full quality audit on the new UI module. I need a report on performance, accessibility compliance, and any hardcoded styles that violate our design tokens."

Tips & Limitations

  • Actionable Advice: The AI is instructed to avoid generic feedback. If it suggests 'performance optimization', it will point to the exact pattern (e.g., 'unstable key usage in list rendering') causing the issue.
  • Report Storage: Ensure your workspace has write permissions in the root directory, as the skill creates a reports/ folder if it does not already exist.
  • Context Awareness: For the best results, ensure the agent has read access to your project's configuration files (like tsconfig.json or tailwind.config.js) so it can validate styles and types accurately.
  • Human-in-the-loop: While the skill is excellent at identifying risks, it is a tool meant to assist developers; use your engineering judgment for final architectural decisions.

Metadata

Stars4190
Views0
Updated2026-04-18
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-bovinphang-frontend-code-review": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#frontend#code-review#typescript#react#vue
Safety Score: 4/5

Flags: file-write, file-read