react-19-patterns
Build React 19 Patterns Correctly
React 19 changes how teams use components, hooks, Server Actions, Suspense, and streaming. This skill gives Claude, Codex, and Claude Code practical patterns for correct TypeScript implementations.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "react-19-patterns" from https://skillstore.io/skills/barnhardt-enterprises-inc-react-19-patterns.md and its manifest at https://skillstore.io/api/skills/barnhardt-enterprises-inc-react-19-patterns/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "react-19-patterns". A product page fetches data, filters results, and opens a cart drawer.
Expected outcome:
The response separates product data into a Server Component and moves filter state and the cart drawer into small Client Components.
Using "react-19-patterns". A form needs optimistic updates and server-side persistence.
Expected outcome:
The response recommends useOptimistic for immediate feedback, useActionState for server result state, and useFormStatus for pending submit controls.
Using "react-19-patterns". A React 18 app still uses legacy rendering and string refs.
Expected outcome:
The response lists migration steps for root rendering, ref replacement, hook checks, and validation with the included React pattern validator.
Security Audit
Medium RiskStatic analysis reported many command, script, network, environment, and sensitive-file patterns, but review found almost all are Markdown React examples or benign validator text. No prompt injection, obfuscation, credential exfiltration, or malicious runtime behavior was found. One documentation example should be fixed because it reads a route-derived file path without showing path traversal defenses.
Confirmed security concerns (1)
Capability review items (1)
These are real local capabilities that may be expected for this skill, so they require review but are not counted as confirmed malicious behavior.
Risk Factors
โก Contains scripts (4)
๐ Network access (46)
๐ Filesystem access (2)
โ๏ธ External commands (50)
๐ Env variables (14)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/barnhardt-enterprises-inc-react-19-patterns/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/barnhardt-enterprises-inc-react-19-patterns?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/barnhardt-enterprises-inc-react-19-patterns?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/barnhardt-enterprises-inc-react-19-patterns/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/barnhardt-enterprises-inc-react-19-patterns.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
Barnhardt-Enterprises-Inc. (2026). react-19-patterns security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/barnhardt-enterprises-inc-react-19-patterns/audits/8BibTeX citation
@techreport{barnhardt-enterprises-inc-barnhardt-enterprises-inc-react-19-patterns-2026,
author = {Barnhardt-Enterprises-Inc},
title = {react-19-patterns security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/barnhardt-enterprises-inc-react-19-patterns/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "react-19-patterns security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "Barnhardt-Enterprises-Inc"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/barnhardt-enterprises-inc-react-19-patterns/audits/8"
identifiers:
- type: other
value: "skillstore:barnhardt-enterprises-inc-react-19-patterns:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Plan a New React 19 Feature
Choose the right component type, hook pattern, Suspense boundary, and data-loading approach before implementation.
Review Component Architecture
Check whether a React codebase separates server data work from client interactivity and state management.
Migrate From React 18
Identify legacy APIs, update rendering patterns, and introduce React 19 features in controlled steps.
Try These Prompts
Using the React 19 patterns skill, decide whether this component should be a Server Component or Client Component. Explain the reason and list required changes.
Review this React component for Rules of Hooks issues, missing dependency arrays, and invalid React 19 patterns. Give a concise fix plan.
Design a React 19 Suspense and streaming structure for this page. Include boundary placement, fallback behavior, and data-loading order.
Create a React 18 to React 19 migration plan for this application. Cover removed APIs, Server Components, Server Actions, transitions, and validation steps.
Best Practices
- Default to Server Components unless the component needs browser APIs, state, effects, or event handlers.
- Keep Client Components small and pass serializable props from server-rendered parents.
- Place Suspense boundaries around meaningful loading units and avoid unnecessary nested boundaries.
Avoid
- Do not make Client Components async for data fetching.
- Do not call hooks inside conditions, loops, or regular helper functions.
- Do not copy example secret names or API calls without reviewing your security model.
Frequently Asked Questions
Does this skill write React code for me?
Does it support TypeScript?
Can it validate an existing project?
Is it only for Next.js?
Does it cover React 19 hooks?
Can it replace a full code review?
Developer Details
Author
Barnhardt-Enterprises-IncLicense
MIT
Skillstore revision
r1
Version notice
The author did not declare a version.
Ref
c4231f0153ccd2a2ed62274c5a372bf8f2386d3f
Maintenance freshness
7/18/2026
Usage
7 downloads ยท 575 views
File structure
๐ client-components-complete.md
๐ hooks-complete.md
๐ migration-guide.md
๐ server-components-complete.md
๐ server-vs-client.md
๐ SKILL.md
๐ suspense-patterns.md
๐ transitions.md
๐ validate-react.py