builder-smoke-test
Smoke test the Agent Builder feature branch end-to-end against a hermetic project scaffolded by the skill (linked to the current…
React performance optimization guidelines from Mastra Engineering. This skill should be used when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or
Claude Code
$ npx -y skills add mastra-ai/mastra --skill react-best-practices --agent claude-code
Codex
$ npx skills add mastra-ai/mastra --skill react-best-practices -a codex -y
Cursor
$ npx skills add mastra-ai/mastra --skill react-best-practices -a cursor -y
Gemini CLI
$ npx skills add mastra-ai/mastra --skill react-best-practices -a gemini-cli -y
GitHub Copilot
$ npx skills add mastra-ai/mastra --skill react-best-practices -a github-copilot -y
OpenCode
$ npx skills add mastra-ai/mastra --skill react-best-practices -a opencode -y
Windsurf
$ npx skills add mastra-ai/mastra --skill react-best-practices -a windsurf -y
name: react-best-practices description: React performance optimization guidelines from Mastra Engineering. This skill should be used when writing, reviewing, or refactoring React code to ensure optimal performance patterns. Triggers on tasks involving React components, data fetching, bundle optimization, or performance improvements.
Routing and priority guide for React performance and quality, containing 27 rules across 9 categories. Rule files hold the detailed explanations, examples, review smells, and impact metrics.
Reference these guidelines when:
Rules are prioritized by impact:
| Priority | Category | Impact | | -------- | ------------------------- | ----------------------------- | | 1 | Eliminating Waterfalls | CRITICAL | | 2 | Bundle Size Optimization | CRITICAL | | 3 | Client-Side Data Fetching | MEDIUM-HIGH | | 4 | Re-render Optimization | MEDIUM | | 5 | Rendering Performance | MEDIUM | | 6 | JavaScript Performance | LOW-MEDIUM | | 7 | Component Structure | MEDIUM-HIGH (maintainability) | | 8 | Testing | MEDIUM-HIGH (correctness) | | 9 | Type Safety | HIGH |
**Eliminate Waterfalls:**
**Reduce Bundle Size:**
**Client-Side Data Fetching:**
**Re-render Optimization:**
**Component Structure:**
**Testing:**
**Type Safety:**
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack. It includes everything you need to go from early prototypes to production-ready applications.
Smoke test the Agent Builder feature branch end-to-end against a hermetic project scaffolded by the skill (linked to the current…
Use early when debugging a medium or hard bug, especially when tests alone may not reveal the real runtime failure. Trigger this…
Autonomous, report-only documentation review for Mastra docs. Use when auditing changed docs against source, validating…
Convert existing docs diagram images to Mermaid, and author new Mermaid diagrams for Mastra docs. Use when replacing an…
REQUIRED when modifying any file in packages/playground-ui or packages/playground. Triggers on: React component…
Review open mastra-ai/mastra GitHub issues, identify direct @mastra/core bugs, and apply the @mastra/core label. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.