ui-component-spec

Generate UI component specifications mapping Read Models and Commands to TypeScript props.

1|Updated Jun 20, 2026
One-click install
npx skills add https://github.com/shafibabar/SDLC-Artifact-Factory --skill ui-component-spec-shafibabar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-component-spec
Source: https://github.com/shafibabar/SDLC-Artifact-Factory/tree/main/skills/ui-component-spec
Command: npx skills add https://github.com/shafibabar/SDLC-Artifact-Factory --skill ui-component-spec-shafibabar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill solves the communication gap between UX architects and frontend engineers by standardizing component specifications, preventing implementation ambiguity, and ensuring design consistency across microfrontend boundaries.

Core Features & Use Cases

  • Contract Standardization: Defines a rigorous format for props, state variants, interaction behavior, and accessibility requirements.
  • Shared vs. Local Logic: Provides clear criteria for promoting components to a shared design system versus keeping them local to a specific domain fragment.
  • Use Case: When designing a new feature, use this skill to generate a comprehensive specification for a complex organism like a ClassificationModal, ensuring all accessibility criteria and domain mappings are documented before coding begins.

Quick Start

Use the ui-component-spec skill to generate a new component specification for the DataAssetTable organism based on the provided Read Model.

Frequently Asked Questions about ui-component-spec

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

FAQPage Schema
How do I create a UI component specification that works as a design contract?

A UI component specification contract standardizes props, state variants, interaction behavior, and accessibility requirements. This prevents implementation ambiguity and ensures design consistency across microfrontend boundaries between UX architects and frontend engineers.

How do I map domain Read Models and Commands to React UI components?

Map domain Read Models and Commands to React UI components during the design phase by generating a comprehensive specification. This documentation ensures strict TypeScript prop definitions and domain mappings are established before coding begins.

When should I promote a UI component to a shared design system versus keeping it local to a microfrontend?

Promote a UI component to a shared design system when it meets clear criteria for cross-boundary reuse, requiring versioning discipline. Keep components local to a specific domain fragment when cross-microfrontend reuse is not required.

How do I ensure accessibility standards compliance in a TypeScript design system?

Ensure accessibility standards compliance in a TypeScript design system by enforcing strict criteria within the component specification. Document all accessibility requirements and interaction behaviors before frontend engineering starts.

Can I generate a component specification for a complex organism like a ClassificationModal before coding?

Yes, you can generate a comprehensive specification for a complex organism like a ClassificationModal. This documents all accessibility criteria, state variants, and domain mappings as a design contract before coding begins.

Why does UI component specification fail across microfrontend boundaries without versioning discipline?

UI component specification fails across microfrontend boundaries without versioning discipline because shared components lack strict TypeScript prop definitions and standardized behavior. This creates implementation ambiguity and breaks design consistency between fragments.