Skip to content
Development
Command

/add-component

Create a reusable React component with TypeScript and best practices.

shell
$ npx -y skills add LarouexNonprofitConsulting/larouex-fullstack-plugin --agent claude-code

Ships with larouex-fullstack-builder. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/add-component

Context preview

What this command does when you run it.

Create a reusable React component with TypeScript and best practices.

Command definition

add-component.md

Create a reusable React component with TypeScript and best practices.

Generate:

  • Component file in /components with proper naming convention
  • TypeScript interface for component props with JSDoc comments
  • Responsive Bootstrap styling with custom CSS if needed
  • Accessibility features (ARIA labels, semantic HTML, keyboard navigation)
  • Props validation and default values
  • Component variants or modes if applicable
  • Example usage documentation in comments
  • Unit tests with Jest and React Testing Library
  • Storybook story (if Storybook is configured)

Include proper error handling, loading states if needed, and mobile-first responsive design. Export component with named export. Focus on reusability and composability.

Read it on GitHub โ†—
Ships withlarouex-fullstack-builder

A comprehensive Claude Code plugin with 81 commands and 12 specialized AI agents for building modern, full-stack web applications with Next.js 15, Azure, Railway, Bootstrap, and TypeScript.

Get the whole plugin, auto-invoked