react-patterns · manutej — Claude Code skill: React patterns guide
A skill that hands your agent ready React recipes: hooks, component composition, state management and fewer wasted re-renders.
npx skills add manutej/luxor-claude-marketplace --skill react-patterns -a claude-codeWhat react-patterns does
The skill covers modern React: functional components, built-in hooks, composition and state strategies. It walks through useState, useReducer and useContext with code samples and rules like functional updates and lazy initialization. There is a section on server and client components, forms, side effects and async work.
Performance gets its own part: memoization and tracking down unnecessary re-renders. Reach for it when you are converting class components to functional ones or pulling shared logic into custom hooks. It advises keeping state as local as possible and not storing derived values in it — worth checking your own components against that.
Install runs through npx skills add with an agent flag, and the skill file lands in that platform's skills directory.
What it helps with
- model complex state transitions with
useReducer - extract shared logic into a custom hook
- cut unnecessary re-renders with memoization
- convert a class component to hooks
- split server and client components
Example prompts for the agent
- rewrite this class component using hooks
- help me move this form state into
useReducer - why does this component re-render so often
How to install react-patterns
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill react-patterns -a claude-code2Manually: put the files in place
~/.claude/skills/react-patterns/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/react-patterns/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill react-patterns -a codex2Manually: put the files in place
.agents/skills/react-patterns/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill react-patterns -a cursor2Manually: put the files in place
.cursor/skills/react-patterns/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install manutej/luxor-claude-marketplace react-patterns2Manually: put the files in place
.github/skills/react-patterns/SKILL.md1Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill react-patterns -a gemini-cli2Platform CLI
gemini skills install https://github.com/manutej/luxor-claude-marketplace --path plugins/luxor-frontend-essentials/skills/react-patternsManually: put the files in place
.devin/skills/react-patterns/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add manutej/luxor-claude-marketplace --skill react-patterns -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about react-patterns
How do I install react-patterns in Claude?
Run npx skills add manutej/luxor-claude-marketplace --skill react-patterns -a claude-code. The skill is placed at ~/.claude/skills/react-patterns/SKILL.md.
What does react-patterns do?
It gives your agent recipes for hooks, component composition, state management and performance work in React apps.
Which platforms does the skill support?
Besides Claude it installs into Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode, each with its own install command.
Similar skills
Everything for Frontend and UI →react-patterns by other authors comes first.