a2ui-migration
БесплатноБез исполняемых скриптовНе проверенMigrates an app, renderer, catalog or agent that uses A2UI (or a predecessor such as Flutter `genui`) to a newer SDK or protocol version. Use when a task…
от a2ui-project★ 19 155 звёзд на GitHubОб этом скилле
A2UI migration
This skill is a router. It identifies what is being migrated and then sends you to the guide for that case. A case is identified by three facts:
- Language / platform: Dart (Flutter), TypeScript (Lit, Angular, React, web core), Python (agent SDKs, ADK, A2A), Swift, Kotlin.
- Source: the SDK or package the code uses today and its version, and the protocol version it speaks on the wire.
- Target: the SDK the code should use afterwards, and the protocol version it should speak.
Do not start editing before all three are written down. A migration that changes the SDK and the wire version at the same time is two migrations; split it when the agent and the renderer are not released together.
Step 1: identify the language and the source SDK
Read the manifests in the repository, not just the file extensions:
| Manifest | Dependency names to look for |
|---|---|
pubspec.yaml, Bazel BUILD with dart_* |
genui, a2ui_core, a2ui_flutter, a2ui_agent, a2ui_cli, genai_primitives |
package.json |
@a2ui/web_core, @a2ui/lit, @a2ui/angular, @a2ui/react, @a2ui/markdown-it, @a2ui/agent, @a2ui/catalog-* |
pyproject.toml, requirements*.txt, uv.lock |
a2ui-core, a2ui-agent-sdk, a2ui-a2a, a2ui-adk, a2ui-catalog-* |
Package.swift |
A2UISwiftCore, A2UISwiftUI, BasicCatalog, BasicCatalogSwiftUI (products of this repository's Package.swift) |
build.gradle* |
the legacy Kotlin agent SDK under kotlin/agent_sdk_legacy/ |
Record the exact version constraint, and read that package's CHANGELOG.md
in this repository for the release line the code is on.
Step 2: identify the wire protocol version
The SDK version does not always tell the protocol version; read the payloads the code sends or expects (fixtures, goldens, prompts, transport code):
| Evidence in payloads | Protocol |
|---|---|
beginRendering, surfaceUpdate, dataModelUpdate messages |
v0.8 |
"version": "v0.9" with createSurface, updateComponents, updateDataModel, deleteSurface; bindings as {"path": ...} and calls as {"call": ...} |
v0.9 |
"version": "v0.9.1" |
v0.9.1 |
"version": "1.0"; bindings as {"@path": ...}, calls as {"@call": ...}; per-component catalogId; callRendererFunction / callAgentFunction |
v1.0 |
Other signs: catalog ids (.../specification/v0_9/catalogs/basic/catalog.json
is v0.9, .../specification/v1_0/catalogs/basic/catalog.json is v1.0; catalog
files live under catalogs/, but their ids keep the specification/<version>
path), the metadata keys for capabilities
(a2uiClientCapabilities is v0.9, a2uiRendererCapabilities is v1.0), and
the names of the schema directories a project validates against
(specification/v0_9/json versus specification/v1_0/json).
Step 3: fix the target
Ask, or infer from the task, whether the target is a new SDK on the same protocol version, a new protocol version on the same SDK, or both. When the task does not say, prefer the smallest step: the current SDK's latest release on the protocol version the agent already speaks. Record the target the same way as the source.
Step 4: route to a case guide
| Language | From | To | Guide |
|---|
Установить a2ui-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл a2ui-migration?
Migrates an app, renderer, catalog or agent that uses A2UI (or a predecessor such as Flutter `genui`) to a newer SDK or protocol version. Use when a task mentions migrating, upgrading, porting or moving A2UI code between SDKs, packages or protocol versions (v0.8, v0.9, v0.9.1, v1.0), when a dependency such as `genui`, `a2ui_core`, `@a2ui/web_core`, `a2ui-core` or an A2UI Swift package needs a major bump, or when payloads or fixtures must change wire version. The skill first identifies the language, the source and the target, then routes to a case-specific guide where one exists.
Как установить скилл a2ui-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл a2ui-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic