Atomic Component Generator

Community

Build reusable, maintainable UIs with Atomic Design.

AuthorRomualdP
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures the creation of highly reusable, maintainable, and testable React components by enforcing Atomic Design principles and the Smart/Dumb component pattern, preventing monolithic components and code duplication.

Core Features & Use Cases

  • Maximal Decomposition: Guides on breaking down UI into small, single-responsibility components (Atoms, Molecules, Organisms), with strict line limits for each.
  • Smart/Dumb Component Pattern: Differentiates between "Smart" (logic, state, Server Actions) and "Dumb" (pure presentation) components, clarifying responsibilities.
  • Server/Client Component Strategy: Emphasizes using Server Components by default for data fetching and Client Components only for interactivity, optimizing performance and SEO.
  • Use Case: When building a complex form, decompose it into a "Smart" ClubCreationForm (managing state and Server Actions) and several "Dumb" components like ClubInfoStep or PlanSelectionStep (handling pure UI presentation), ensuring each part is focused and reusable.

Quick Start

To create a new component, first decide if it's a Smart (logic) or Dumb (presentation) component. Ensure it has a single responsibility and is maximally decomposed. Place all components in features/*/components/ and never directly in app/.

Dependency Matrix

Required Modules

reactnext

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Atomic Component Generator
Download link: https://github.com/RomualdP/hoki/archive/main.zip#atomic-component-generator

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.