Comprehensive skills for working with @hairy/react-lib React hooks and components
Install
npx skills add https://github.com/hairyf/skills --skill hairy-react-libSKILL.md
Based on @hairy/react-lib v1.47.0. Focuses on React hooks and components for building React applications.
Core References
| Topic | Description | Reference |
|---|---|---|
| Async Hooks | Async state management and callback handling | core-async-hooks |
| Watch Hooks | Reactive value watching and change detection | core-watch-hooks |
| Lifecycle Hooks | Component lifecycle and mounting utilities | core-lifecycle-hooks |
| Conditional Components | If/Else, Switch/Case components for conditional rendering | core-conditional |
| Try Hooks | Error-safe React hooks with fallback behavior | core-try-hooks |
Advanced Features
| Topic | Description | Reference |
|---|---|---|
| Event Bus | Cross-component event communication | advanced-event-bus |
| Pagination | Offset-based pagination hook | advanced-pagination |
| Fetch Intercept | Request/response interception utilities | advanced-fetch-intercept |
Related skills
vercel-react-best-practicesvercel-labs751KReact and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.vercel-composition-patternsvercel-labs361KReact composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.vercel-react-view-transitionsvercel-labs135KGuide for implementing smooth, native-feeling animations using React's View Transition API (`<ViewTransition>` component, `addTransitionType`, and CSS view transition pseudo-elements). Use this skill whenever the user wants to add page transitions, animate route changes, create shared element animations, animate enter/exit of components, animate list reorder, implement directional (forward/back) navigation animations, or integrate view transitions in Next.js. Also use when the user mentions viewpick-ui-libraryemilkowalski124KPick the right library for a given frontend task from a curated, opinionated list — numbers, OTP inputs, charts, command menus, virtualization, drag and drop, toasts, state, styling, and more. Only runs when explicitly invoked; it does not trigger on its own.
