
React Dev
Type-safe React 18-19 patterns covering generic components, event typing, hooks, and router integration.
- skills.sh installs
- 4.2K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
What it does
- Covers typed components, React 19 APIs (Actions,
use(), Server Components), hooks, event handlers, and routing - Includes migration notes for React 19 such as
refas a prop,useActionState, anduse()unwrapping promises - Provides generic component patterns using
keyof Tcolumns and constrainedT extends HasIdtypes - Designed for projects using TypeScript with React, TanStack Router, or React Router, not vanilla JavaScript React
Install
$ npx -y skills add softaworks/agent-toolkit --skill react-dev -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
React TypeScript
Type-safe React = compile-time guarantees = confident refactoring.
<when_to_use>
- Building typed React components
- Implementing generic components
- Typing event handlers, forms, refs
- Using React 19 features (Actions, Server Components, use())
- Router integration (TanStack Router, React Router)
- Custom hooks with proper typing
NOT for: non-React TypeScript, vanilla JS React
</when_to_use>
<react_19_changes>
React 19 breaking changes require migration. Key patterns:
ref as prop - forwardRef deprecated:
// React 19 - ref as regular prop
type ButtonProps = {
ref?: React.Ref<HTMLButtonElement>;
} & React.ComponentPropsWithoutRef<'button'>;
function Button({ ref, children, ...props }: ButtonProps) {
return <button ref={ref} {...props}>{children}</button>;
}
useActionState - replaces useFormState:
import { useActionState } from 'react';
type FormState = { errors?: string[]; success?: boolean };
function Form() {
const [state, formAction, isPending] = useActionState(submitAction, {});
return <form action={formAction}>...</form>;
}
use() - unwraps promises/context:
Details
- Repository
- github.com/softaworks/agent-toolkit
- Categories
- Frontend & UI Code, Skill & Plugin Building
More from softaworks/agent-toolkit
All 40- Commit Work4.2K
- Marp Slide4.2K
- React Useeffect4.2K
- Professional Communication4.1K
- Codex4.1K
- Command Creator4.1K
- Dependency Updater4.1K
- Meme Factory4.1K
- Reducing Entropy4.1K
- Ship Learn Next4K
- Gemini4K
- Openapi To Typescript4K
- Feedback Mastery4K
- Difficult Workplace Conversations4K
- Daily Meeting Update4K
- Game Changing Features4K
- Plugin Forge4K
- Naming Analyzer4K
- Lesson Learned3K
- Gepetto1.6K
- Requirements Clarity1K
- Draw Io851
- Design System Starter835
- Backend To Frontend Handoff Docs833
Similar to React Dev
More Frontend & UI Code
react-patternssickn33/agentic-awesome-skills970 installsModern React guidance covering components, hooks, state, React 19, performance, and TypeScript typing.
typescript-react-patternsasyrafhussin/agent-skills1.1K installsA reference catalog of 33 TypeScript typing rules for React components, hooks, events, refs, and generics.
react-component-architectureaj-geddes/useful-ai-prompts686 installsReusable React component patterns covering functional components, custom hooks, composition, and typed props, with reference guides.
react-19gentleman-programming/gentleman-skills270 installsReact 19 component patterns that rely on React Compiler instead of manual memoization.
react-expertjeffallan/claude-skills5.9K installsSenior React skill for React 19 apps, covering Server Components, Suspense, and hooks-based architecture.
reactpproenca/dot-skills503 installsReact 19 patterns and a codebase audit algorithm covering concurrent rendering, Server Components, actions, and dedup-focused hygiene.