react-best-practices

Pass

Audited by Gen Agent Trust Hub on Oct 24, 2026

Risk Level: SAFE
Full Analysis
  • Standard Performance Optimization Patterns: The skill documents industry-standard patterns for optimizing React applications, including lazy loading, parallel data fetching, and efficient event listener management. These are beneficial for application performance and do not introduce security risks.
  • Security Best Practices for Server Actions: The skill explicitly instructs agents to perform authentication and authorization checks inside Server Actions (the server-auth-actions rule), which is a critical security measure in Next.js applications to prevent unauthorized mutations.
  • Benign Use of Script Injection: The rendering-hydration-no-flicker rule suggests using dangerouslySetInnerHTML to inject a small, synchronous script to prevent theme flickering. The provided script is static and performs only benign UI adjustments using local storage, which is a common and acceptable practice for this specific UX challenge.
  • Reference to Well-Known Libraries: The skill mentions and links to several established and well-known libraries such as swr, lucide-react, lru-cache, and zod, all of which are standard in the React ecosystem for the described tasks.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 24, 2026, 01:55 PM