npx claudepluginhub cst2989/react-tips-skillReact and JavaScript patterns for state management, performance, hooks, component design, avoiding unnecessary useEffects, and preferring ES2025/ES2026 APIs
High-impact React and JavaScript patterns for writing better code. Extracted from the Daily React newsletter by Dan Neciu.
10 React patterns and anti-patterns for state management, performance, hooks, and component design:
A decision tree that stops the AI from reaching for useEffect when a better alternative exists. Covers every common misuse: derived state, event handling, state resets, data fetching, parent notifications, effect chains, and external store subscriptions.
Full article: You really, really, really don't need an effect! I swear!
A lookup table of ES2025 and ES2026 APIs that models trained before 2025 don't reach for by default: Iterator helpers, Set methods, Temporal, using, Promise.try, Error.isError, Math.sumPrecise, Map.getOrInsert, native JSON imports, import defer, and more. The skill forces Claude to check output against modern alternatives before finalizing code.
Full article: What's actually new in JavaScript (and what's coming next)
Add the marketplace:
/plugin marketplace add Cst2989/react-tips-skill
Install the plugin:
/plugin install [email protected]
Once installed, the skills are available in Claude Code. They activate automatically when you're writing or reviewing React components. You can also invoke them directly:
/react-tips:react-tips
/react-tips:no-unnecessary-effects
/react-tips:modern-js
MIT
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.