react-best-practices
Audits React code for performance, bundle size, and best practices. Use when reviewing React code, auditing bundle size, finding performance issues, checking React 18+ patterns, or evaluating a React codebase. NOT for: non-React projects, backend Node.js code, or CSS-only reviews.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/asimons81/agentic-atlas-react-best-practicesReact Best Practices Skill
Audits React applications for performance, bundle size, and React 18+ best practices.
Instructions
When reviewing or auditing React code:
- Run the audit against the specified code or repository
- Check against the 40+ auditable rules (see below)
- Report findings with severity (error, warning, info)
- Provide actionable fix suggestions with before/after code examples
- For performance issues, identify the root cause and recommended optimization
- For bundle issues, suggest code splitting or lazy loading strategies
Auditable Rules (Sample)
Performance
no-missing-deps: Hook dependencies must be completeavoid-inline-objects-in-jsx: Inline objects cause unnecessary re-rendersprefer-useMemo: Expensive computations should use useMemoprefer-useCallback: Callbacks passed to children should use useCallback
React 18+
prefer-use client directive: Server Components complianceno-unnecessary-fragments: Avoid unnecessary fragment wrappersrequire-useTransition: Long renders should use useTransition
Bundle Size
no-bare-imports: Use named imports over namespace importsavoid-default-imports: Default imports prevent tree shakingcheck-duplicate-packages: Duplicate package versions inflate bundle
Accessibility
require-aria-labels: Interactive elements need ARIA labelsrequire-keyboard-handlers: Click handlers need keyboard equivalents
Output Format
{
"file": "src/components/UserProfile.tsx",
"rules": [
{
"rule": "no-missing-deps",
"severity": "error",
"line": 42,
"message": "Missing dependency 'userId' in useEffect",
"fix": "Add userId to dependency array"
}
],
"summary": { "errors": 2, "warnings": 5, "info": 1 }
}
Example
User: "Audit our React codebase for performance issues"
→ Run audit → Report: 3 errors (missing deps, inline objects), 7 warnings → Provide fixes for each
Dependencies
Requires: Node.js, project with React 16+ (for React 18+ rules, requires React 18+)
Metadata
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 skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-asimons81-agentic-atlas-react-best-practices": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
brand-butler-local-authority-engine
Brand Butler: Local Authority Engine — the white-glove SEO and AEO system for local service businesses. Use this skill immediately when the user asks about SEO rankings, backlinks, citations, site audits, Google Search Console indexing problems, competitor backlink analysis, directory submissions, schema markup, content placement articles, local map pack visibility, or AI answer engine optimization (Perplexity, ChatGPT, Google AI Overviews). Also triggers for any local business growth, online visibility, or 'why isn't my site ranking?' conversation. Works for agencies managing clients and business owners doing their own SEO. Covers HVAC, plumbing, electrical, law, dental, roofing, and any local service business. Built by Adrian Boysel.
undertow
Skill discovery engine for AI coding agents. Recommends and installs the right skill when you need it — code review, test generation, debugging, commit messages, PR preparation, security scanning, dependency audits, Docker setup, CI/CD pipelines, API documentation, refactoring, performance optimization, bundle analysis, git recovery, README generation, license compliance, migration guides, dead code removal, and secret detection. One install gives your agent access to a curated library of 20+ developer workflow skills. Use when the user asks for help with any development workflow, code quality, DevOps, security, testing, documentation, or project setup task.
securityvitals
Security vitals checker for OpenClaw. Scans your installation, scores your setup, and shows you exactly what to fix. First scan in seconds.
sealvera
Tamper-evident audit trail for AI agent decisions. Use when logging LLM decisions, setting up AI compliance, auditing agents for EU AI Act, HIPAA, GDPR or SOC 2, or when a user asks about AI decision audit trails, explainability, or SealVera.
cron-job-guardian
检查 cron 或 timer 配置中的频率、幂等、重试、日志与并发风险。;use for cron, timer, ops workflows;do not use for 直接启停生产任务, 替代真正监控.