Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

author-migration

БесплатноЗапускает вложенные скриптыНе проверен

Author or scope first-party Nx migrations for breaking changes, dependency updates, and upgrade prompts. Use before editing migration implementations…

nrwlот nrwl★ 29 499 звёзд на GitHub

Об этом скилле

Read Codex execution conventions before following this workflow.

Author a first-party Nx migration

Companion files in this directory:

  • runtime-contract.md: how nx migrate consumes every migrations.json key. Read it before wiring an entry; most authoring mistakes are wrong assumptions about this contract.
  • deprecated-patterns.md: patterns to never reproduce, with recognition signatures. Read it before copying from an existing migration or from git history.
  • templates/: entry shapes, spec skeleton, and the two .md genres.

1. Decompose the change into migration needs

Enumerate every breaking or behavior-changing item in the change (upstream changelog, upstream migration guide, upstream repo's own migrations directory, or the Nx-internal change itself). Classify each item with exactly one treatment:

Treatment When Shape
Nothing Additive change, a plugin-absorbed break, or a shape no Nx surface produces (prose below) No entry
Version admission Nx starts supporting a new upstream major, even when the previous major stays supported packageJsonUpdates group gated on the source-major window; nx migrate moves willing workspaces onto the latest supported major (see packages/storybook/migrations.json key 22.1.0, shipped while v8 stayed supported, and packages/vite key 21.5.0)
Plain bump Dependency versions change, nothing else Declarative packageJsonUpdates. Never write a .ts implementation for an unconditional bump
Conditional dep change Add/remove/swap a dependency based on workspace state .ts implementation using addDependenciesToPackageJson / removeDependenciesFromPackageJson (add side: see packages/angular/src/migrations/update-23-1-0/add-angular-build.ts; copy its dependency handling, not its utils/versions import)
Source transform Deterministic, statically detectable source or config change (removed option, key rename, default flip) implementation + spec + documentation .md
Ported upstream migration Upstream ships its own migrations for the major (wins over Source transform for those items; a judgment-based upstream migration takes the Prompt-only/Hybrid shape) One generator-only migration per upstream migration, description ending "matching the X migration", requires on the new major (see packages/angular/migrations.json update-23-1-0-add-trust-proxy-headers)
Run upstream codemod Upstream publishes an npx-runnable codemod Prompt migration instructing the agent to run it; do not port it (see packages/react/src/migrations/update-23-1-0/ai-instructions-for-react-19.md)
Полный SKILL.md на GitHub

Установить author-migration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yamldeprecated-patterns.mdruntime-contract.mdscripts/compute-target-versions.mjstemplates/documentation-md.mdtemplates/migrations-json.mdtemplates/prompt-runbook.mdtemplates/spec-skeleton.md

FAQ

Что делает скилл author-migration?

Author or scope first-party Nx migrations for breaking changes, dependency updates, and upgrade prompts. Use before editing migration implementations, migrations.json entries, packageJsonUpdates, or migration runbooks.

Как установить скилл author-migration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл author-migration запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить author-migration с