react

Model React components as computation units for rendering strategy decisions.

9|Updated Aug 20, 2025
One-click install
npx skills add https://github.com/mae616/ai-template --skill react-mae616
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react
Source: https://github.com/mae616/ai-template/tree/main/.claude/skills/react
Command: npx skills add https://github.com/mae616/ai-template --skill react-mae616

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React/Next.js UI decisions can become tangled without a clear framework for treating components as computation units, leading to inconsistencies in design, state management, and performance.

Core Features & Use Cases

  • UI as computation units: design components primarily as calculation units with well-defined responsibilities.
  • Rendering strategy guidance: decide between SSR/CSR/SSG/Streaming based on requirements like SEO and user experience.
  • Boundary and performance focus: clarify client/server responsibilities to minimize sent JS and optimize performance.

Quick Start

Ask the AI to apply UI computation framing to a sample React component, identifying its computation boundaries, state placement, and rendering approach.

Frequently Asked Questions about react

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I decide between SSR, CSR, SSG, and Streaming for my Next.js pages?

Next.js rendering strategy decisions depend on specific page requirements like SEO needs and user experience. This Skill models React components as computation units, enforcing clear client/server boundaries and justifying chosen rendering techniques to optimize performance across pages.

What is the best way to define React component boundaries and state placement?

Defining React component boundaries involves treating components primarily as computation units with clear responsibilities. This approach clarifies state placement and establishes defined client/server boundaries to minimize sent JavaScript and resolve UI decision complexity.

How do I optimize React performance by minimizing sent JavaScript?

Optimizing React performance requires clarifying client and server responsibilities to minimize sent JavaScript. By modeling UI components as computation units, you enforce defined boundaries and justify rendering techniques to reduce unnecessary payload.

Why does my React UI design become tangled without a clear component framework?

React UI design becomes tangled without a clear framework because treating components as computation units provides necessary structure. Without modeling components this way, inconsistencies arise in state management, rendering strategy, and overall performance optimization.

Can I use this computation unit approach for both React and Next.js design tasks?

Yes, the computation unit approach applies to both React and Next.js design tasks. It clarifies UI decisions by modeling components as calculation units, addressing component boundaries, rendering strategy, and performance optimization across pages and features in both frameworks.