Agent skill · software engineering · assistant-ui

update

Upgrades an existing assistant-ui application and applies the migrations needed to reach the current AI SDK v7 and assistant-ui 0.15.x lines. Use when updating, bumping, or migrating @assistant-ui/react, @assistant-ui/ai-sdk, the older @assistant-ui/react-ai-sdk alias, ai, or @ai-sdk/react, or when an upgrade exposes removed hooks, scope accessor calls, provider configuration, registry paths, event names, legacy interactables, or tool registrations. Start here for an existing project, post-update type failures, package compatibility, CLI codemods, and version-specific migration order. For a first install or a new project use setup; for authoring a runtime without an upgrade use runtime.

Why this skill is useful

Adds executable scripts for upgrading and migrating assistant-ui projects that are not covered in public documentation.

What it needs

Requires npm installed locally. About 5k tokens when loaded. Last updated 2026-08-02. 20 stars on the source repository.

What this skill does

assistant-ui Update Always consult assistant-ui.com/llms.txt for the latest API. Upgrade in two passes. First make the AI SDK and its assistant-ui adapter compatible, then update assistant-ui and apply its API migration. Read the relevant references before editing because a direct jump can cross several deprecation windows. References ./references/ai-sdk.md -- AI SDK v4 and v5 to v6 migration, v6 to v7 changes, and adapter pins ./references/assistant-ui.md -- assistant-ui 0.8 through 0.15, toolkits, LangGraph, and deprecation policy ./references/breaking-changes.md -- quick version and symptom lookup Detect the installed lines Run these commands from the application root. npm ls reports the installed dependency graph and npm view reports the published latest version. Current published lines as of September 2026: Package Current line --- --- assistant-ui 0.0.x @assistant-ui/react 0.15.x @assistant-ui/ai-sdk 0.0.x @assistant-ui/react-ai-sdk 1.4.x @assistant-ui/core 0.3.x @assistant-ui/store 0.3.x assistant-stream 0.3.x assistant-cloud 0.1.x ai 7.x @assistant-ui/react-ai-sdk re-exports the same API for older installs. New code imports from @assistant-ui/ai-sdk. Choose the migration set Compare the installed @assistant-ui/react version against every threshold below. Apply every applicable guide in ascending version order. Installed before Check for --- --- 0.8.x The historical UI package split. The current upgrade bundle intentionally excludes v0-8/ui-package-split because its destination is incompatible with current runtimes. Move to the Elements registry manually. 0.9.x The v0-9/edge-package-split codemod. 0.10.x The bundled migration has no dedicated 0.10 codemod. Run the later codemods and resolve remaining package or build errors from the project’s current toolchain. 0.11.x ContentPart names and MessagePrimitive.Content become MessagePart and MessagePrimitive.Parts. 0.12.x Unified state API, hook aliases, and camelCase event names. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills assistant-ui/update

View the source on GitHub

Browse the @skills marketplace