component-library

Provides a UI component library with usage rules for the Hospitality portal.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/Norfolk-Group/H-Analytics --skill component-library-norfolk-group
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: component-library
Source: https://github.com/Norfolk-Group/H-Analytics/tree/main/.claude/skills/component-library
Command: npx skills add https://github.com/Norfolk-Group/H-Analytics --skill component-library-norfolk-group

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a single source of truth for UI components and design rules to prevent ad-hoc styling, inconsistent interactions, and fragmented component usage across the application.

Core Features & Use Cases

  • Standard component catalog mapping component names to their implementation files, e.g., PageHeader, GlassButton, FinancialChart, and FinancialTable.
  • Clear usage rules and conventions such as required data-testid attributes, standardized export wiring, naming and copy rules for save actions, and preferred AI loaders and special-effects components.
  • Practical scenarios: onboarding a frontend engineer to implement a new property page, auditing pages for conformity, or selecting components when adding export and chart capabilities.

Quick Start

Open the component library and list the recommended components and rules to implement a new property overview page, including header, KPI cards, financial table, chart, and export menu.

Frequently Asked Questions about component-library

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build consistent React UI components for a frontend design system?▼

A shared UI component library provides a single source of truth for design rules, preventing ad-hoc styling and fragmented component usage. It maps component names to implementation files and enforces naming conventions, theme colors, and data-testid attributes for consistent frontend implementations.

What is the best way to standardize export wiring and data-testid attributes in frontend components?▼

The best way to standardize export wiring and data-testid attributes is to reference a centralized component catalog that enforces these conventions. This ensures consistent interactions, satisfies integration and testing requirements, and prevents fragmented component usage across the application.

How do I add export menus and financial charts to a new property overview page?▼

To add export menus and financial charts to a property overview page, select standardized components from the UI catalog such as FinancialChart, FinancialTable, and the export menu wiring. This ensures proper integration, consistent styling, and adherence to established naming conventions.

Can I use this UI component library for auditing existing frontend pages for design consistency?▼

Yes, you can use this UI component library to audit existing frontend pages for design consistency. It maps standard component names to their implementation files and provides clear usage rules, allowing you to check pages for conformity against standardized export wiring and theme colors.

What are the limitations of using a shared component library for frontend development?▼

A shared component library limits ad-hoc styling and custom interactions by enforcing strict component usage, naming conventions, and standardized export wiring. Developers must conform to predefined theme colors and required data-testid attributes, which may restrict highly customized UI implementations outside the established design system.