ui-dsl

Convert UI sketches into a technology-independent YAML DSL with Vaadin 25 mapping.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/js-rom/Luis --skill ui-dsl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-dsl
Source: https://github.com/js-rom/Luis/tree/main/.agents/skills/ui-dsl
Command: npx skills add https://github.com/js-rom/Luis --skill ui-dsl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

UI design handoffs frequently require translating sketches into formal specifications. This Skill converts sketches or screenshots into a technology-independent YAML DSL describing UI components, layout regions, and state transitions, while also defining a project-level Design System and mapping strategy to a concrete UI technology (Vaadin 25). The DSL ensures traceability to SSDs and Operation Contracts, enabling end-to-end elaboration.

Core Features & Use Cases

  • Technology-independent YAML DSL describing components, layout, and state transitions.
  • Project-level Design System defining design tokens, spacing, typography, accessibility constraints, and responsive rules.
  • Technology mapping to Vaadin 25 (default) with explicit traceability to SSDs and Operation Contracts.
  • Mandatory pair-programming workflow: driver and navigator collaboration to produce three artifacts: Abstract UI DSL, Design System, and Vaadin mapping.

Quick Start

Share a UI sketch or description, and start the pair-programming workflow to produce the UI DSL, the Design System, and the Vaadin mapping.

Frequently Asked Questions about ui-dsl

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

FAQPage Schema
How do I turn a UI sketch into a technology-agnostic YAML DSL?

To turn a UI sketch into a technology-agnostic YAML DSL, share the sketch or screenshot to initiate a pair-programming workflow that outputs a YAML specification describing components, layout regions, and state transitions.

What is the process for defining a design system from a UI sketch?

Defining a design system from a UI sketch involves mapping the sketch into an abstract YAML DSL, which is then used to establish project-level design tokens, spacing, typography, accessibility constraints, and responsive rules.

How do I map UI state transitions to SSDs and Operation Contracts?

You map UI state transitions to SSDs and Operation Contracts by generating a YAML DSL that validates every transition against your SSD operations and OCs, ensuring end-to-end traceability across the elaboration steps.

Can I use this to generate a Vaadin 25 UI mapping from a screenshot?

Yes, you can generate a Vaadin 25 UI mapping from a screenshot by applying the technology-independent YAML DSL to define explicit mapping strategies for Vaadin components while maintaining traceability to your design system.

Do I need a pair-programming workflow to elaborate a UI design system?

Yes, a mandatory pair-programming workflow with a driver and navigator is required to collaborate on producing the three artifacts: the Abstract UI DSL, the Design System, and the technology mapping.