react-best-practices Skill
React best-practices reviewer for TSX files. Triggers after editing multiple TSX components to run a condensed quality checklist covering component structure, hooks usage, accessibility, performance, and TypeScript patterns. Published by openai in plugins.
What is react-best-practices Skill?
React best-practices reviewer for TSX files. Triggers after editing multiple TSX components to run a condensed quality checklist covering component structure, hooks usage, accessibility, performance, and TypeScript patterns. Published by openai in plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using plugins
Technical details
- Install or run with Copy skill directory
When to use react-best-practices Skill
- Use it for developers using plugins.
Built with
Editorial notes
Source
- Creator: openai
- Repository: openai/plugins
- Skill file: plugins/vercel/skills/react-best-practices/SKILL.md
What it does
React best-practices reviewer for TSX files. Triggers after editing multiple TSX components to run a condensed quality checklist covering component structure, hooks usage, accessibility, performance, and TypeScript patterns.
Skill instructions
React Best-Practices Review After editing several TSX/JSX files, run through this condensed checklist to catch common issues before they compound. Component Structure - One component per file — colocate helpers only if they are private to that component - Named exports over default exports for better refactoring and tree-shaking - Props interface defined inline or colocated, not in a separate types.ts unless shared - Destructure props in the function signature: function Card({ title, children }: CardProps) - Avoid barrel files (index.ts re-exports) in large projects — they hurt tree-shaking Hooks - Rules of Hooks — never call hooks conditionally or inside loops - Custom hooks — extract reusable logic into use functions when two or more components share it - Dependency arrays — list every reactive value; lint with react-hooks/exhaustive-deps - useCallback / useMemo — use only when passing to memoized children or expensive computations, not by default - useEffect cleanup — return a clean
Explore related resources
Frequently asked questions
What is react-best-practices?
react-best-practices is a open-source AI agent skill with Copy skill directory. React best-practices reviewer for TSX files. Triggers after editing multiple TSX components to run a condensed quality checklist covering component structure, hooks usage, accessibility.
Who is react-best-practices best for?
react-best-practices is best for reusing agent instructions, scripts, and references.
How do I install react-best-practices?
Install or run react-best-practices using Copy skill directory. Check react-best-practices for the latest setup command.
Is react-best-practices actively maintained?
react-best-practices may need a closer maintenance check before production use.
Auto-fetched from GitHub.