build-chatwindow

Create and validate ChatWidget-based chat windows with TypeScript contracts and SSE routes.

1|Updated Dec 13, 2025
One-click install
npx skills add https://github.com/SomtechSolutionMAxime/somtech-pack --skill build-chatwindow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: build-chatwindow
Source: https://github.com/SomtechSolutionMAxime/somtech-pack/tree/main/.cursor/skills/build-chatwindow
Command: npx skills add https://github.com/SomtechSolutionMAxime/somtech-pack --skill build-chatwindow

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides the construction of interactive ChatWidget-based ChatWindows, enabling teams to standardize and accelerate conversation workflows without reinventing rendering and data contracts.

Core Features & Use Cases

  • Widget contract-focused development: Guides the definition of ChatWidget types, data structures, and actions to ensure consistency across projects.
  • Workflow integration: Provides templates and references for OpenAI Agent Builder and n8n to drive widgets through conversational flows.
  • End-to-end validation: Includes Playground and ChatWindow validation steps to verify rendering, interactivity, and zero-console-errors.

Quick Start

Create a new ChatWidget-conformant widget and validate it in the Playground and ChatWindow.

Frequently Asked Questions about build-chatwindow

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

FAQPage Schema
How do I build a chat widget with TypeScript and connect it to an n8n workflow?

To build a chat widget with TypeScript, you define a ChatWidget contract and data structure, then connect it to n8n workflow backends to drive conversational flows and render interactive chat windows.

What is a ChatWidget contract and why do I need it for conversational workflows?

A ChatWidget contract defines the types, data structures, and actions for your conversational interface. You need it to standardize rendering and data exchange across projects without reinventing contracts for each workflow.

Does OpenAI Agent Builder support custom chat widgets for streaming responses?

Yes, OpenAI Agent Builder supports custom chat widgets. You integrate your widget by defining TypeScript types and an SSE route for streaming, then connect the workflow backend to drive the interactive chat window.

How do I validate a chat window for zero console errors before deploying?

To validate a chat window for zero console errors, you test the widget rendering and interactivity through Playground validation steps, followed by end-to-end ChatWindow validation to ensure full conversational flow stability.

Can I use Supabase as a backend for a streaming chat widget in an n8n workflow?

Yes, you can use Supabase as a backend for a streaming chat widget. You pair Supabase data sources with n8n workflow logic and an SSE route to stream responses directly into your TypeScript ChatWindow interface.