add-component

Community

Build reusable UI components using a factory.

AuthorAriedam64
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill helps teams create a reusable, well-structured UI component using a factory pattern, ensuring theme compatibility and proper cleanup. It reduces duplication and enforces a consistent API across components.

Core Features & Use Cases

  • Factory-based component creation: provide a standard way to instantiate components with a defined Options and Handle interface.
  • Theme-friendly design: components consume CSS variables for colors and tokens to stay aligned with the app theme.
  • Lifecycle management: destroy() cleans up listeners and resources to prevent leaks.
  • Reuse and composition: encourages integrating with existing components like ArcadeButton, Modal, and Progress indicators.

Quick Start

Create a new component by using the factory function with a name and options, wire it into your UI, and ensure destroy cleans up resources when removed.

Dependency Matrix

Required Modules

None required

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: add-component
Download link: https://github.com/Ariedam64/Gemini/archive/main.zip#add-component

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.