agentsclimarketplace

React

Skill VRIL-LABS/skill-jam/skills/ai-ml/skills-main-2/skills-main/react

Expert in React development with modern patterns, hooks, and performance optimizationFrom its SKILL.md

Install
npx -y skills add VRIL-LABS/skill-jam --skill react

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.8 KB, 341 tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,852. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.