reviewing-react-code
Performs thorough code review for React 16 components focusing on performance, maintainability, testing, and security considerations.
Skill by nic611
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.
About
Use cases: frontend, testing, security
Reviews
Write a reviewNo 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.
More from nic611/claude-engineering-kit
- 0.474score
note-connect
nic611
Finds hidden connections between notes in ~/notes/ vault.
SkillCFreshness: CClaude Code +9 - 0.474score
verification-before-completion
nic611
Forces verification (tests/build) before claiming any task is complete.
SkillCFreshness: CClaude Code +9 - 0.474score
weekly-review
nic611
Weekly review of the personal knowledge vault at ~/notes/.
SkillCFreshness: CClaude Code +9 - 0.474score
smart-reflect
nic611
Detects learning moments during conversation and extracts them into personal notes at ~/notes/.
SkillCFreshness: CClaude Code +9 - 0.470score
generating-bdd-tests
nic611
Generates comprehensive BDD test files (Jest + Cucumber) for React 16 components.
SkillCFreshness: CClaude Code +9
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
- Repository
- github.com/nic611/claude-engineering-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nic611
- 0.474score
note-connect
nic611
Finds hidden connections between notes in ~/notes/ vault.
SkillCFreshness: CClaude Code +9 - 0.474score
verification-before-completion
nic611
Forces verification (tests/build) before claiming any task is complete.
SkillCFreshness: CClaude Code +9 - 0.474score
weekly-review
nic611
Weekly review of the personal knowledge vault at ~/notes/.
SkillCFreshness: CClaude Code +9 - 0.474score
smart-reflect
nic611
Detects learning moments during conversation and extracts them into personal notes at ~/notes/.
SkillCFreshness: CClaude Code +9 - 0.470score
generating-bdd-tests
nic611
Generates comprehensive BDD test files (Jest + Cucumber) for React 16 components.
SkillCFreshness: CClaude Code +9
Cite this page
reviewing-react-code skill. Agent Mart. https://agentmart.dev/skills/nic611-reviewing-react-code (last updated 2026-10-24)