Skip to content
Agentmart
Submit a tool

reviewing-react-code

Performs thorough code review for React 16 components focusing on performance, maintainability, testing, and security considerations.

Skill by nic611

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nic611-reviewing-react-code

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Performs thorough code review for React 16 components focusing on performance, maintainability, testing, and security considerations. Use when user shares code for review, asks for feedback, or wants to improve code quality.

Use cases: frontend, testing, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/reviewing-react-code

What's inside

Skill name
reviewing-react-code
Description
Performs thorough code review for React 16 components focusing on performance, maintainability, testing, and security considerations. Use when user shares code for review, asks for feedback, or wants to improve code quality.
License
MIT
Instructions
211 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "reviewing-react-code" does not match folder "code-review"

Files (1)

  • SKILL.md

SKILL.md (first lines)

> **中文說明:** 對 React 16 組件進行全面代碼審查,涵蓋性能、可維護性、測試覆蓋、安全性。用戶分享代碼求 review、問「哪裡有問題」、想優化代碼時觸發。輸出結構化報告:優點 / 問題表格 / 嚴重問題 / 行動項。
> **English:** Thorough React 16 code review covering performance, maintainability, testing, and security.

# React Code Review Skill

## Overview

This skill reviews React code with focus on:

- Performance optimization
- Code maintainability
- Testing coverage
- Security
- Best practices

## When to Use

- User shares code and asks for "review" or "feedback"
- User asks "what's wrong with this code"
- User wants to "improve" or "optimize" code
- User asks about "best practices"

## Review Checklist

### 1. Performance

- [ ] Unnecessary re-renders (missing memo, useMemo, useCallback)
- [ ] Large component files (should be < 200 lines)
- [ ] Expensive calculations in render
- [ ] Missing key props in lists
- [ ] Inline function definitions in JSX

### 2. Code Quality

- [ ] Clear naming conventions
- [ ] Single responsibility principle
- [ ] DRY (Don't Repeat Yourself)
- [ ] Proper error handling
- [ ] TypeScript types (if applicable)

### 3. React Patterns

- [ ] Proper state management
- [ ] Correct lifecycle usage (React 16)
- [ ] Props validation (PropTypes)
- [ ] Controlled vs uncontrolled components
- [ ] Event handler naming (handleXxx)

### 4. Testing

- [ ] Component is testable (no hidden dependencies)
- [ ] Business logic extracted for unit testing
- [ ] Data-testid attributes for important elements
- [ ] Mock-friendly API calls

### 5. Security

- [ ] No sensitive data in state/props names
- [ ] No hardcoded credentials
- [ ] XSS prevention (dangerouslySetInnerHTML)
- [ ] Input sanitization

## Review Output Format

```markdown
## Code Review Summary

### ✅ Good Practices

- [List what's done well]

### ⚠️ Suggestions

| Issue   | Location | Suggestion | Priority     |
| ------- | -------- | ---------- | ------------ |
| [Issue] | Line X   | [Fix]      | High/Med/Low |

### 🔴 Critical Issues

- [Security or major bugs]

### 📊 Metrics

- Estimated coverage potential: X%
- Complexity score: Low/Medium/High
- Refactor difficulty: Easy/Medium/Hard

### 🎯 Action Items

1. [First priority fix]
2. [Second priority fix]
3. [Nice to have]
```

## Common Issues & Fixes

### Issue: Inline Functions in JSX

```javascript
// ❌ Bad - creates new function every render
<button onClick={() => handleClick(id)}>Click</button>

// ✅ Good - stable reference
const handleButtonClick = useCallback(() => handleClick(id), [id]);
<button onClick={handleButtonClick}>Click</button>

// ✅ Also Good - data attribute approach
<button data-id={id} onClick={handleClick}>Click</button>
// In handler: const id = e.currentTarget.dataset.id;
```

### Issue: Missing Error Boundaries

```javascript
// ✅ Add error boundary for critical sections
class ErrorBoundary extends React.Component {
  state = { hasError: false };

  static getDerivedStateFromError(error) {

From nic611/claude-engineering-kit, MIT.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jun 10, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nic611

Cite this page

reviewing-react-code skill. Agent Mart. https://agentmart.dev/skills/nic611-reviewing-react-code (last updated 2026-10-24)