Premium skill

Make the AI SDK chat surface feel right

Opinionated principles for useChat interfaces: parts, statuses, streaming, scroll, composer, and persistence. Build or review — same checklist.

Plan
Premium
Access
Gated
Install
Tokenized
Authored files
5

Install

Install with skills CLIPremium skills install through a short-lived private link.
$ npx skills add … --skill better-chat-ui
Open Premium install

Sign in with Premium to generate a fresh install link.

Filesystem

Browse the authored file tree — tools, references, and evals included. Source unlocks with Premium.

SKILL.mdmarkdown

Unlock skill source

Browse every authored SKILL.md with premium.

File tree for better-chat-ui stays visible so you can see the pack before unlocking.

What you get

Parts and status, not improvised state

Render message.parts exhaustively and drive every control from useChat status instead of shadow loading booleans.

Streaming that does not fight the reader

Pin to bottom with a 100px escape hatch, memoize markdown blocks, and keep mid-stream errors recoverable.

Composer rules that feel native

Enter sends, Shift+Enter newlines, attachments preview before send, and typing stays unlocked while the model answers.

Grounded in the installed AI SDK

Never write useChat from memory. Verify hooks, parts, and statuses against the bundled docs for the version in the repo.

Ship conversation surfaces that survive real use

The skill covers the edge states tutorials skip — and pairs with Better Generative UI when tool results need real components.

  • A support chat that stops cleanly mid-stream and keeps partial answers.

  • A product assistant with citation chips, collapsible reasoning, and resumable threads.

  • A mobile chat composer that never triggers iOS input zoom.

  • An existing useChat UI that feels janky — audit it with Before/After tables.

Stop guessing at chat UX edge cases

Available with Premium. The private install link expires; the downloaded skill does not. Generate a fresh link when you want to update it.

Open Premium install

Lifecycle skills and UI craft skills

View all skills