/sage:reactfrom sage
Provides React 18/19 patterns and anti-patterns covering hooks, component architecture, state management, and common LLM training-data mistakes.
Ships in sage. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Layer 2 — Framework Pack
React-specific patterns and anti-patterns for React 18/19. Hooks discipline, component architecture, state management, and the mistakes agents make from stale training data.
React is the framework where LLM training data is most polluted. Fifteen years of blog posts, Stack Overflow answers, and tutorials mix class components with hooks, lifecycle methods with effects, Redux boilerplate with context, and pre-React-19 patterns with post-React-19 patterns. An agent trained on all of this produces code that "works" but uses outdated idioms.
This pack corrects the most common stale-training-data mistakes and establishes the modern React mental model as the baseline for all React code in the project.
| Type | Files | Coverage |
|---|---|---|
| Patterns | 7 | Component composition, hooks discipline, state management, data fetching, error boundaries, forms, testing |
| Anti-patterns | 6 | useEffect abuse, derived state in useState, prop drilling, index keys, class components, inline object props |
| Constitution | 1 | 5 React-specific principles |
When nextjs is also installed, it overrides the data-fetching and
routing patterns from this pack, since Next.js handles those differently
(server components, App Router).
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
33 skills in this plugin
/apiUse when designing, reviewing, or changing an HTTP, REST, or GraphQL API — endpoints, resource naming, error responses, pagination, versioning, idempotency, or API contracts between services./autoresearchAutonomous iteration toward a measurable outcome. Use when the user wants to optimize a numeric metric through repeated modify-verify cycles — reduce bundle size, increase test coverage, improve query time, lower readability score. Not for exploratory research, subjective judgment, or tasks without a verification command.
/baasUse when building on Firebase, Supabase, or a similar Backend-as-a-Service — writing security rules, modeling data for client queries, deciding whether logic needs a serverless function, or wiring real-time and client-direct access./flutterUse when writing or reviewing Flutter or Dart code — widget structure, state management, rendering performance on Impeller, or adapting a screen to iOS and Android./mobileUse when building or reviewing a mobile app on any framework — offline behavior, scrolling and animation smoothness, touch targets, battery use, or platform conventions./nextjsUse when writing or reviewing a Next.js App Router project — choosing server or client components, fetching and caching data, server actions, or route handlers.Generated from the plugin's indexed repository (xoai/sage) — no native marketplace selected
npx claudepluginhub p/xoai-sageOther plugins' skills for the same job