Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
assistant-ui avatar

Update

  • 3.7k installs
  • 20 repo stars
  • Updated August 2, 2026
  • assistant-ui/skills

update is a skill that upgrades existing assistant-ui projects through AI SDK and assistant-ui version migrations so developers can resolve peer conflicts and renamed APIs.

About

The update skill upgrades existing assistant-ui projects to current releases and runs the resulting migrations. Use it when bumping @assistant-ui/react, @assistant-ui/react-ai-sdk, ai, or @ai-sdk/react, resolving peer-dependency conflicts, or fixing post-upgrade type errors from renamed APIs. Phase one detects installed versus latest versions via npm ls and npm view, then routes through breaking-change references for each jump. AI SDK below 6.0.0 triggers the v4 or v5 to v6 migration guide covering toDataStreamResponse to toUIMessageStreamResponse and maxSteps to stopWhen stepCountIs. assistant-ui below 0.14.0 covers primitives components prop to children render functions, ViewportSlack removal, and useAssistantApi to useAui. Migration order is AI SDK first, then assistant-ui, then verification with npx tsc --noEmit and pnpm build. Execution runs npx assistant-ui@latest upgrade and pnpm or npm add @latest. Troubleshooting covers peer conflicts, type errors after upgrade, and runtime API mismatches. For first-time install or fresh scaffold, the setup skill is the correct entry point instead of update.

  • Detects installed versus latest @assistant-ui/react, react-ai-sdk, ai, and @ai-sdk/react versions.
  • Routes AI SDK below 6.0.0 and assistant-ui below 0.14.0 through version-specific migration references.
  • Migration order: AI SDK first, assistant-ui second, then npx tsc --noEmit and build verification.
  • Covers renamed APIs including useAui, runtime.threads, and toUIMessageStreamResponse.
  • Explicitly defers first-time installs to the setup skill rather than update.

Update by the numbers

  • 3,691 all-time installs (skills.sh)
  • +216 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #138 of 2,245 Frontend Development skills by installs in the Skillselion catalog
  • Security screen: MEDIUM risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

update capabilities & compatibility

Capabilities
version detection via npm ls and npm view · ai sdk v6 migration routing · assistant ui breaking change migrations · type check and build verification after upgrade
Use cases
frontend · refactoring
From the docs

What update says it does

Upgrades an existing assistant-ui project to current releases and executes the resulting migrations.
SKILL.md
For a first-time install or fresh scaffold (not an upgrade) use setup instead.
SKILL.md
npx skills add https://github.com/assistant-ui/skills --skill update

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3.7k
repo stars20
Security audit2 / 3 scanners passed
Last updatedAugust 2, 2026
Repositoryassistant-ui/skills

How do I upgrade assistant-ui and AI SDK packages without breaking peer dependencies or post-upgrade type errors?

Upgrade an existing assistant-ui project through AI SDK and assistant-ui version migrations with package bumps and type verification.

Who is it for?

Teams maintaining an existing assistant-ui chat UI who need guided version jumps and breaking-change fixes.

Skip if: Skip for first-time assistant-ui install or fresh scaffold; use the setup skill instead.

When should I use this skill?

User wants to update, upgrade, bump, or migrate @assistant-ui/react, ai, or @ai-sdk/react after a version jump.

What you get

Updated package versions with migrations applied and type-check or build verification passing.

  • AI SDK v6 migrated codebase
  • Verified build and test results

By the numbers

  • Defines 6 migration phases from research through final verification
  • Covers Vercel AI SDK v4.x and v5.x upgrades to v6.x

Files

SKILL.mdMarkdownGitHub ↗

assistant-ui Update

Always verifies against npm ground truth and GitHub commits.

References

  • ./references/ai-sdk-v6.md -- AI SDK v4/v5 → v6 migration (complete guide)
  • ./references/assistant-ui.md -- assistant-ui version migrations
  • ./references/breaking-changes.md -- Quick reference table

Phase 1: Detect Versions

Get Ground Truth

npm ls @assistant-ui/react @assistant-ui/react-ai-sdk ai @ai-sdk/react 2>/dev/null

npm view @assistant-ui/react version
npm view @assistant-ui/react-ai-sdk version
npm view ai version

Version Analysis

Current latest: @assistant-ui/react 0.14.x, @assistant-ui/react-ai-sdk 1.3.x, assistant-stream 0.3.x.

PackageCheck For
ai< 6.0.0 → needs AI SDK v6 migration
@assistant-ui/react< 0.14.0 → primitives components prop replaced by children render functions; deprecated hooks/aliases removed
@assistant-ui/react< 0.13.0 → ThreadPrimitive.ViewportSlack removed (top-anchor changes)
@assistant-ui/react< 0.12.0 → unified state API (useAui/useAuiState/useAuiEvent/AuiIf)
@assistant-ui/react< 0.11.0 → runtime rearchitecture
@assistant-ui/react< 0.10.0 → ESM only
@assistant-ui/react< 0.8.0 → UI split (shadcn registry)
@assistant-ui/react-ai-sdk< 1.0.0 → needs AI SDK v6 first

Phase 2: Route to Migration

AI SDK < 6.0.0?
├─ Yes → See ./references/ai-sdk-v6.md
└─ No
   └─ assistant-ui outdated?
      ├─ Yes → See ./references/assistant-ui.md
      └─ No → Already up to date

Migration Order

1. AI SDK first (if < 6.0.0) - Required for @assistant-ui/react-ai-sdk >= 1.0 2. assistant-ui second - Apply breaking changes for version jump 3. Verify - Type check, build, test

Phase 3: Execute

Update Packages

pnpm add @assistant-ui/react@latest @assistant-ui/react-ai-sdk@latest ai@latest @ai-sdk/react@latest

npm install @assistant-ui/react@latest @assistant-ui/react-ai-sdk@latest ai@latest @ai-sdk/react@latest

Apply Migrations

Based on version jump, apply relevant migrations from references.

Verify

npx tsc --noEmit
pnpm build

Troubleshooting

"Peer dependency conflict"

  • Update all packages together
  • Check version compatibility in ./references/breaking-changes.md

Type errors after upgrade

  • Consult breaking changes reference
  • Check specific migration guide

Runtime errors

  • Verify API patterns match new version
  • Check for renamed/moved APIs

Related skills

How it compares

Pick update for full AI SDK v6 migration with verification gates; use framework docs alone only for trivial single-import changes.

FAQ

What migration order does update follow?

AI SDK first if below 6.0.0, then assistant-ui, then type check and build verification.

When should I use setup instead of update?

For a first-time install or fresh scaffold, not when upgrading an existing project.

How does update detect current versions?

npm ls for installed packages and npm view for latest published versions on npm.

Is Update safe to install?

skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.

Frontend Developmentfrontendintegrations

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.