Установка
SKILL.md
Migrate an Output Project
Overview
This skill migrates a project from one version of the Output framework to another.
You do not carry migration instructions in your own context. The docs site at https://docs.output.ai/migrations is the source of truth — fetch the right page and follow it.
Use the todo tool to track your progress.
When to Use This Skill
- The user wants to upgrade
@outputai/*packages to a newer version - The user mentions "migrate", "upgrade", or "move to vX.Y.Z"
- A breaking-change release shipped and the user is still on an older version
URL contract
Migration guides are hand-authored MDX pages linked from a single index:
- Index:
https://docs.output.ai/migrations - Per-boundary guide:
https://docs.output.ai/migrations/v{FROM_FULL}-to-v{TO_FULL}(e.g.v0.1.12-to-v0.2.0)
The index lists every available guide with a title and a short description. A release only has a guide if it introduced breaking changes — most releases will not have one.
If the user is jumping multiple boundaries, fetch each applicable guide in order and apply them sequentially.
Instructions
<process_flow>
<!-- --><step number="0" name="arguments_analysis"><!-- -->Step 0: Arguments Analysis
If the user passed arguments when invoking this skill, parse them as positional values in this order (all optional):
from-version: The version the project is currently on. If blank, detect it in Step 2.to-version: The target version. If blank, resolve it in Step 1.additional-instructions: Free-form guidance from the user (e.g. "skip the http changes, we don't use that package").
Step 1: Determine the target (TO) version
If the user provided a to-version argument, use it.
Otherwise, run npm view @outputai/core version via Bash and use that as the target.
Step 2: Detect the current (FROM) version
If the user provided a from-version argument, use it and skip the rest of this step.
Otherwise, read package.json at the project root and resolve the current framework version from the first entry that exists, in this order:
dependencies["@outputai/core"]devDependencies["@outputai/core"]dependencies["@outputai/cli"]
Strip any leading ^ or ~. If no @outputai/* package is present, stop and tell the user: "This project doesn't depend on any @outputai/* packages — nothing to migrate."
If the version read from package.json equals the TO version, the user may have already edited package.json to the new version without running the migration yet. Don't give up — find the pre-bump version by looking in this order:
- Run
git diff package.json pnpm-lock.yaml package-lock.json yarn.lock 2>/dev/nulland scan the diff for an@outputai/*version that was removed (lines starting with-). If you find one, that's the FROM version. - Run
git log -p -n 20 -- package.jsonand find the most recent commit that changed an@outputai/*version. The old value on that commit's parent side is the FROM version. - If neither locates a prior version, tell the user: "Cannot detect the FROM version — both
package.jsonand git history showvX.Y.Z. Re-run with--from <version>to specify it explicitly."
If FROM and TO still resolve to the same version after this recovery, stop and tell the user: "Already on vX.Y.Z — nothing to migrate."
Step 3: Fetch migration guides
WebFetch https://docs.output.ai/migrations. This is the index page — it links to every hand-authored migration guide with a title keyed on the version boundary.
From the index, identify every guide whose v{FROM}-to-v{TO} range falls between the user's FROM and TO versions. Examples:
- User FROM
0.1.12, TO0.2.0→ if av0.1.12-to-v0.2.0guide is listed, fetch it. - User FROM
0.1.12, TO0.3.0→ fetchv0.1.12-to-v0.2.0first, then (if listed)v0.2.0-to-v0.3.0. - Multiple patch-level guides between the same minor boundaries should all be applied in chronological order.
Fetch each applicable guide by hitting https://docs.output.ai/migrations/v{FROM_FULL}-to-v{TO_FULL}.
If the index lists no guides covering the FROM → TO range, stop and tell the user: "No migration guides found for vFROM → vTO. The releases in this range were additive; just bump your dependencies."
Also WebFetch https://docs.output.ai/changelog to cross-reference what shipped in the range — use it to fill in gaps the migration guides may not cover.
Step 4: Plan the changes
From the fetched guide(s), produce a TodoWrite list of concrete changes, one todo per change. Do not start editing yet.
For each todo, capture:
- Which file(s) are affected (use Grep to find call sites for deprecated APIs the guide mentions).
- What the change is (diff-shaped if possible).
- Which guide section it came from.
If the user passed additional-instructions, honor them: skip todos they asked to skip, add todos they asked to add.
Print the plan and ask the user to confirm before proceeding. If they reject, stop.
<!-- --></step><!-- --> <!-- --><step number="5" name="apply_changes"><!-- -->Step 5: Apply the changes
Work through each todo. For every todo:
- Mark it
in_progressbefore starting. - Apply the change with Edit/MultiEdit.
- Mark it
completedwhen done.
Do not batch completions — update TodoWrite after each one.
<!-- --></step><!-- --> <!-- --><step number="6" name="bump_dependencies"><!-- -->Step 6: Bump dependencies
Update every @outputai/* package and (if present) output-api entry in package.json to the TO version. The framework uses a fixed version group, so all packages move together.
Then run pnpm install (or npm install / yarn install — detect from the lockfile).
Step 7: Verify
Run the project's type checker if one is configured (check package.json scripts for typecheck, tsc, or build).
If type checking fails, surface each error with the migration guide section that maps to it. Do not attempt silent fixes — report what broke.
If the project has no type check script, note that and recommend the user run their test suite.
<!-- --></step><!-- --> <!-- --><step number="8" name="summary"><!-- -->Step 8: Summary
Report:
- FROM → TO version
- Which migration guide URL(s) were used
- List of files modified
- Type-check result
- Anything the user should verify manually (things the guide flagged as needing judgment)
Do not suggest additional commands or next steps — the CLI handles post-migration messaging.
<!-- --></step><!-- --></process_flow>
Вставить в README
Ссылка на карточку для вашего README — без картинок и счётчиков.
[DarkPlay: output-migrate](https://darkplay.ru/ai/skills/growthxai-output-output-migrate)
Из того же репозитория
Похожие скиллы и другие разделы каталога
Самые востребованные скиллов раздела по установкам и звёздам.
find-skillsvercel-labs · Помогает находить и устанавливать навыки агентов по запросам вроде «как сделать X»…
grill-memattpocock · Настойчивое интервью для доработки плана или дизайна.
hyperframesheygen-com · Обязательная точка входа для любых задач по видео, анимации и motion-графике в…
hyperframes-cliheygen-com · Цикл разработки HyperFrames CLI: init, add, render, preview, publish и другие команды.
agent-browservercel-labs · CLI для автоматизации браузера для ИИ-агентов: навигация по страницам, заполнение форм…
media-useheygen-com · Agent Media OS: единый навык для медиа в HyperFrames — BGM, SFX, изображения, голос, LUT.
hyperframes-registryheygen-com · Установка и подключение блоков реестра в композиции HyperFrames через add и catalog.
grill-with-docsmattpocock · Настойчивое интервью для доработки плана или дизайна, попутно создающее документацию (ADR…
improve-codebase-architecturemattpocock · Поиск в кодовой базе возможностей для углубления, визуальный HTML-отчёт о них и детальный…
tddmattpocock · Разработка через тестирование (TDD): red-green-refactor и интеграционные тесты.Соседние разделы каталога: возможно, нужный инструмент живёт там.
Agent Evaluatoraffaan-m · Оценивает результат агента по рубрике качества из 5 критериев (точность, полнота…
Spec Mineraffaan-m · Извлекает поведенческие спецификации из кода для OpenSpec в виде блоков Requirement и…
claude-opus-4-5-migrationanthropics · Перенос кода и промптов с Sonnet 4.x и Opus 4.1 на Opus 4.5.
explanatory-output-styleanthropics · Добавляет обучающие пояснения о выборе реализации и паттернах кодовой базы (имитирует…
learning-output-styleanthropics · Интерактивный режим обучения, который запрашивает содержательные правки кода в ключевых…
cavemanjuliusbrussee · Говорит как пещерный человек. Сокращает вывод на 65% токенов (измерено). Вся техническая…
i-have-adhdayghri · Форматирование вывода для Claude Code по принципу «сначала действие», удобное для людей с…
astronomer-data-agentsanthropics · Инженерия данных для Apache Airflow и Astronomer: написание DAG по лучшим практикам…
aws-transformanthropics · Миграция, модернизация и обновление кодовых баз на AWS: .NET Framework в .NET 8/10, COBOL…
dataanthropics · Инженерия данных для Apache Airflow и Astronomer. Создание DAG по лучшим практикам…Лучшие ИИ-инструменты для генерации видео
Подборка нейросетей для генерации и монтажа видео. Инструменты, которые превращают текст в готовые ролики, экономят часы на съемках и постпродакшне. Подходит для SMM-специалистов,
VEED.IOVeed
MootionMootion
Sora (OpenAI)OpenAI
viralpulse.appViralpulse
Viral Maker AIViral-makerЛучшие ИИ-инструменты для генерации текста и копирайтинга
Подборка нейросетей для генерации текстов и копирайтинга. Сервисы, которые помогают создавать статьи, посты и рекламные объявления с нуля или по черновику, экономя часы рутинной ра
NeuroscribeNeuroscribe
GoGPTGogpt
НейроТекстерNeuro-texter
ChatGPTOpenAI
Cosmo ScribeCosmoscribe
Memo HelperCopilot33
LibraChatLibrachatЛучшие ИИ-инструменты для генерации изображений
Подборка нейросетей для генерации изображений от фотореализма до концепт-арта. Сервисы, которые экономят часы ручной работы, создавая визуал для блогов, рекламы и дизайна за минуты
MagviMagvi
DALL-E 3OpenAI
SupaLabSupalab
Freestyling.aiFreestyling
ArtGeneration.meArtgeneration
BigjpgBigjpg
Художник от VKVK
Avato AI12ai
Virton AIVirton