generative-ui

Bind generative UI output to design contracts with renderer boundaries.

28|2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/thompson0012/agents-stack --skill generative-ui-thompson0012
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generative-ui
Source: https://github.com/thompson0012/agents-stack/tree/main/skills-optional/using-design/generative-ui
Command: npx skills add https://github.com/thompson0012/agents-stack --skill generative-ui-thompson0012

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill enables teams to design model-driven browser interfaces by enforcing design contracts, token-safe rendering, and host-owned actions, reducing risk and engineering toil.

Core Features & Use Cases

  • Design-contract-first UI development with enforced design tokens and rendering contracts.
  • Clear renderer boundary where model outputs are separated from host actions, enabling safe production-grade surfaces.
  • Support for Standalone HTML, Typed Component Schema, and Streamed UI patterns with guardrails.

Quick Start

Provide a safe, token-bound generative UI outline that the host can render in a sandboxed browser context.

Frequently Asked Questions about generative-ui

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

FAQPage Schema
How do I safely generate browser UIs from model outputs without risking host application security?

Safely generate browser UIs by enforcing a renderer boundary that separates model outputs from host-owned actions. This approach uses design contracts, token-safe rendering, and sandboxing guardrails to reduce risk before rendering surfaces.

What design contract formats are supported for model-driven UI generation?

Design contract formats for model-driven UI generation include standalone HTML, typed component schema, and streamed UI patterns. Each output contract is selected based on the specific UI surface and enforced with validation guardrails.

How do I set up sandboxed rendering for generative UI components?

Set up sandboxed rendering by binding your UI surface to a design contract and enforcing a renderer boundary. Ensure host-owned actions, sandboxing, and validation guardrails are in place before the host renders outputs in a sandboxed browser context.

When should I use a typed component schema versus streamed UI for generative interfaces?

Use a typed component schema when you need strict type safety and structured output, or streamed UI when you need progressive rendering. The appropriate output contract is selected by identifying the UI surface and binding it to a design contract.

Does generative UI rendering work with existing design tokens and host boundaries?

Generative UI rendering works with existing design tokens by enforcing them through a design contract. A clear renderer boundary separates model outputs from host actions, enabling safe production-grade surfaces within your established host boundaries.

What are the limitations of generating UIs without enforced design contracts and sandboxing?

Without enforced design contracts and sandboxing, generated UIs lack validation guardrails, exposing host actions to unsafe model outputs. Enforcing a renderer boundary and token-safe rendering is required to reduce engineering toil and maintain secure production surfaces.