Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)14 mil · #11249

upgrading-emdash

O que ela faz

Esta skill atualiza um projeto de site EmDash para uma versão mais recente, incluindo os pacotes e as notas sobre o que mudou. Ela é para desenvolvedores que querem levar um site existente para uma versão nova com segurança.

Quando usar

  • ✓Quando você quiser atualizar um projeto EmDash existente para a versão mais recente.
  • ✓Quando as notas de atualização listarem mudanças às quais o seu projeto precisa se adaptar.
  • ✓Quando quiser confirmar que o projeto atualizado ainda compila e que as migrações do banco de dados estão corretas.

Link da skill

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

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Você pode atualizar o meu projeto EmDash para a versão mais recente, aplicar as mudanças que as notas pedirem e confirmar que ele ainda compila?”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente roda a ferramenta de atualização para atualizar os pacotes e criar uma lista de trabalho com as mudanças. Depois lê essa lista, aplica as mudanças que importam para o seu projeto e roda as verificações e o status das migrações.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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.

Perguntas frequentes

A ferramenta de atualização muda o meu código?

Não. Ela atualiza os pacotes e escreve as notas, e as mudanças no seu código são feitas separadamente.

Posso visualizar a atualização antes?

Sim. Uma simulação mostra o que mudaria, sem fazer nenhuma alteração.

Ela publica o site?

Não. A publicação não faz parte deste processo.

Detalhes

Descrição original do autor

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

Popularidade

Estrelas no GitHub
14 mil
Posição no ranking
#11249
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas