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.

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.

Use this when

  1. 01A support chat that stops cleanly mid-stream and keeps partial answers.
  2. 02A product assistant with citation chips, collapsible reasoning, and resumable threads.
  3. 03A mobile chat composer that never triggers iOS input zoom.
  4. 04An existing useChat UI that feels janky — audit it with Before/After tables.

What you get

Renders parts and status
Uses message.parts and useChat status. No extra loading booleans.
Scrolls with an escape hatch
Pins to bottom, memoizes markdown, and recovers mid-stream errors.
Keeps the composer usable
Enter sends, Shift+Enter newlines, typing stays unlocked while the model answers.
Checks the installed SDK
Verifies hooks, parts, and statuses against the docs for this repo.

Unlock the files

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