react-best-practices

Pass

Audited by Gen Agent Trust Hub on Mar 27, 2026

Risk Level: SAFE
Full Analysis
  • Educational Content and Best Practices: The skill serves as a guide for React and Next.js performance optimization. It includes security-conscious advice, such as a dedicated rule for authenticating Server Actions to prevent unauthorized access to server mutations.
  • Use of Standard Dependencies: The code examples reference well-known and widely-used libraries such as swr, lru-cache, zod, and @vercel/analytics. These are appropriate for the skill's stated purpose of optimizing web applications.
  • DOM Manipulation Patterns: One example demonstrates the use of dangerouslySetInnerHTML to inject a script for theme hydration. This is a recognized technique in React for preventing visual flickering, and in the context of this educational guide, it is presented as a specific solution for a common performance issue.
  • Resource Preloading: The skill encourages the use of standard React DOM resource hints (e.g., preconnect, preload) to improve load times, which is a standard performance optimization practice.
Audit Metadata
Risk Level
SAFE
Analyzed
Mar 27, 2026, 10:08 AM