Перейти к содержанию
Skillpedia
Деплой и облако (DevOps)14k · #11249

upgrading-emdash

Что он делает

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

Когда использовать

  • ✓Когда вы хотите обновить существующий проект EmDash до последнего релиза.
  • ✓Когда в заметках об обновлении перечислены изменения, к которым нужно адаптировать проект.
  • ✓Когда вы хотите убедиться, что обновлённый проект собирается и миграции базы данных корректны.

Ссылка на скилл

https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Можешь обновить мой проект EmDash до последней версии, применить изменения, которые требуют заметки, и подтвердить, что он собирается?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент запускает инструмент обновления, который обновляет пакеты и составляет список изменений. Затем он читает этот список, применяет важные для вашего проекта изменения и запускает проверки и статус миграций.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Upgrading EmDash

Use upgrade-emdash to resolve the selected npm release tag, update every direct EmDash package, refresh the EmDash skills, and create the project-specific work order. The updater does not edit application code, apply database migrations, or deploy.

Prepare the work order

Run from the project root:

npx upgrade-emdash@latest --dry-run
npx upgrade-emdash@latest

Use --to <tag> for another npm dist-tag such as next or beta. --to does not accept a version. Use --yes to accept the updater prompt in a non-interactive environment, --json for a machine-readable dry-run, and --cwd <path> when the project root is elsewhere.

The updater writes .emdash/UPGRADE.md. Read that file after the command finishes. It contains the complete authored changelog entries crossed by the direct packages in this project, with generated dependency-bump entries removed, plus the exact core migration delta found after installation.

Complete the upgrade

  1. Inspect the existing project and its uncommitted changes. Preserve unrelated work.
  2. Assess every release entry in .emdash/UPGRADE.md against the project. Apply required source and configuration changes. Do not adopt a new feature when the project does not use the affected surface.
  3. Run the repository's relevant format, tests, typecheck, and build commands.
  4. Run the migration status command from the work order and report the target database and pending migrations.
  5. When the work order lists added core migrations, the status command reports an earlier pending migration, or a release entry requires a data-changing project action, follow the work order's backup procedure before starting or deploying the upgraded application.
  6. Ask before applying a migration to a database, deploying, or making any other remote change unless the user explicitly included that action in the request.
  7. After authorized migration and deployment work, run the migration check and verify the affected site paths.

Treat core migrations as forward-only. A package update with no added or pending migrations does not require an upgrade-specific recovery point. Before an authorized database-changing step, require a restorable database backup created with Backups and recovery, a separate media backup, the relevant encryption keys, and the same build artifact for migration and deployment. A JSON backup is not a recovery point. Roll back by restoring the matching database and application artifact together, not by running migration down() functions or deleting migration records.

Частые вопросы

Меняет ли инструмент обновления мой код?

Нет. Он обновляет пакеты и записывает заметки, а изменения в вашем коде вносятся отдельно.

Можно ли сначала посмотреть обновление?

Да. Пробный запуск показывает, что изменилось бы, но ничего не меняет.

Публикует ли он сайт?

Нет. Публикация не входит в этот процесс.

Подробности

Оригинальное описание автора

Upgrade an existing EmDash project with upgrade-emdash, interpret .emdash/UPGRADE.md, apply required project changes, and verify the package, skill, and migration result. Use when asked to update or upgrade EmDash dependencies. Do not use for an unrelated schema change or a known database migration without a package upgrade.

repo: emdash-cms/emdash

Популярность

Звёзды на GitHub
14k
Место в рейтинге
#11249
Лицензия
MIT
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

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