From code-sensei
Teaches React fundamentals—components, props, useState, useEffect, JSX, file structure—via analogies and quizzes. Auto-activates on .jsx/.tsx or React code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-sensei:frontendThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- **Analogy:** React lets you build a webpage out of LEGO bricks. Each brick (component) is a self-contained piece that knows how to display itself. You snap them together to build the full page.
<UserCard name="Juan" role="CEO" /> — the component receives name and role as props{variables} inside it — it's mixing code with layout.className instead of class, onClick instead of onclick — small differences from regular HTML.src/
├── components/ ← Reusable LEGO bricks
│ ├── Navbar.jsx
│ └── Card.jsx
├── pages/ ← Full pages built from components
│ ├── Home.jsx
│ └── About.jsx
├── App.jsx ← The main container that holds everything
└── index.jsx ← The starting point (plugs React into the HTML)
npx claudepluginhub dojocodinglabs/code-sensei --plugin code-senseiGuides writing and modifying React components with modern patterns, TypeScript, hooks for state and effects, component composition, and pitfalls to avoid. Triggers on .jsx/.tsx files or React planning.
Guides React 18+ development with hooks, state management, functional component patterns, container/presentational split, and Next.js integration for JSX/TSX projects.
Provides React best practices for function components, props interfaces, compound components, useState, useEffect hooks, and state management. Useful for optimizing React code architecture and performance.