add-ui-component

Community

Add reusable UI components across apps

Authorsheldrapps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Reduces duplication and inconsistency by guiding engineers to add or update reusable UI components in the shared design system so components are discoverable, properly styled, and consumable across Ionic + Angular apps in the monorepo.

Core Features & Use Cases

  • Search-first workflow: Instructs developers to search packages/ui-theme for existing components and styles before creating new ones to maximize reuse.
  • Shared component creation: Defines where to add TypeScript, template, and SCSS files inside packages/ui-theme/src/lib/components and how to export them so apps can import from @sheldrapps/ui-theme.
  • Style and validation rules: Explains adding shared style partials to styles/index.scss, avoiding app-level global SCSS, and validating changes via pnpm test, lint, and build. Use case: implement a SaveCoverModalComponent in ui-theme and consume it from the cover-creator app without adding new app-level SCSS.

Quick Start

Search packages/ui-theme for similar components, add your component under packages/ui-theme/src/lib/components, export it from the component and package indexes, import it from @sheldrapps/ui-theme in the app, and run pnpm test, lint, and build.

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