d6e-prompt-driven-ui

Installation
SKILL.md

d6e Prompt-Driven UI

Overview

A d6e workspace prompt rule turns the LLM behind /api/workflows/execute-by-intent into a typed JSON producer. The frontend renders that JSON as cards, tables, status badges, and "follow-up" forms — never raw chat bubbles. This skill teaches the three layers that make that work reliably:

  1. Prompt layer — Force the LLM into one of a small set of scenarios, each declaring kind plus a strict field schema, all emitted inside a single ```json fenced code block.
  2. Parse layer — Strip the fences, JSON.parse each block, and dispatch on kind against a Zod schema. Never throw.
  3. Render layer — Switch on parsed.kind to pick a typed component; fall back to a markdown render of the raw assistant text so the card never goes blank.
Installs
5
First Seen
May 19, 2026
d6e-prompt-driven-ui — d6e-ai/d6e-ai-keiri-example