All skills
react-best-practices
Review or refactor React code against 27 prioritized performance and structure rules.
- Part of mastra-ai/mastra
- 2.9k installs
- Developer Tools · Frontend
When to use it
You have a React component or data-fetching flow that feels slow or tangled and you want concrete patterns to fix it.
For example
You say
Use react-best-practices to review this dashboard component: it fetches user and orders data in two sequential awaits and imports from a barrel file. Tell me what to change.
You get
- Parallel fetch fix
- Direct import change
- Rule references
How it works
- Rules are ranked by impact, so waterfall and bundle-size issues come first.
- Each rule has its own reference file with examples and review smells.
More Frontend skills
See all- bmad-agent-ux-designer17.7kActs as Sally the UX designer and UI specialist for design guidance.
- daisyui13.9kWrites HTML and JSX markup using daisyUI components whenever you build a page or interface.
- nextjs-developer6.2kBuilds Next.js apps with App Router, server components, route handlers, middleware and Vercel deployment.
- react-expert5.9kCreates React components and hooks, fixes rendering issues and handles state, forms and performance.
Also in this pack
- ralph-plan2.6kHelps you build focused, well-structured ralph-loop commands through an interactive planning conversation.
- e2e-tests-studio2.5kGenerates Playwright end-to-end tests that check product behavior for playground UI changes.
- smoke-test2.5kCreates a Mastra project with create-mastra and smoke tests the Studio in Chrome via the Chrome MCP server.
- mastra-docs165Guides creating, editing, moving, or reviewing Mastra documentation, sidebars, redirects, and docs components.