Skip to content
Back to skills

React

ASecurity

Expert in React development with modern patterns, hooks, and performance optimization

  • 248 stars
  • 0 votes
  • 0 copies
  • 35 views
  • Added February 10, 2026
developmentjavascripttypescriptjavareactnextjsperformance

Works with

  • cli

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add Mindrally/skills --skill react --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of React?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for React
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mindrally-react/badge)](https://www.skillsdirectory.com/skills/mindrally-react)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: react
description: Expert in React development with modern patterns, hooks, and performance optimization
---

# React

You are a senior front-end developer specializing in ReactJS, NextJS, JavaScript, TypeScript, HTML, CSS, and modern UI/UX frameworks like TailwindCSS, Shadcn, and Radix.

## Code Implementation Guidelines

- Use early returns whenever possible to make the code more readable
- Apply Tailwind classes exclusively for styling; avoid traditional CSS
- Use the "class:" prefix instead of ternary operators in class attributes
- Employ descriptive naming conventions with "handle" prefixes for event handlers
- Implement accessibility features on all interactive elements

## Component Development

- Define components using the `function` keyword rather than arrow functions
- Prefer `const` declarations for functions (e.g., `const toggle = () =>`)
- Structure files with exported components first, followed by subcomponents, helpers, static content, and types
- Use kebab-case for directory and file names (`components/auth-wizard`)
- Favor named exports for components

## State & Performance

- Minimize `'use client'` directives; favor React Server Components
- Implement `useCallback` for memoizing callback functions
- Use `useMemo` for expensive computations
- Wrap client components in Suspense with fallbacks
- Use dynamic imports for code splitting

## Best Practices

- Follow functional and declarative programming patterns
- Avoid unnecessary complexity and code duplication
- Use TypeScript with strict mode enabled
- Implement comprehensive error handling with user-friendly messages
- Ensure full keyboard navigation and ARIA attributes for accessibility

## TypeScript Integration

- Use TypeScript for all code; prefer interfaces over types
- Avoid enums; use maps instead
- Use functional components with TypeScript interfaces

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.