Aller au contenu
Skillpedia
Déploiement et cloud (DevOps)14k · #11249

upgrading-emdash

Ce qu’il fait

Cette compétence met à jour un projet de site EmDash vers une version plus récente, y compris ses paquets et les notes sur les changements. Elle s'adresse aux développeurs qui veulent faire passer un site existant à une version plus récente en toute sécurité.

Quand l’utiliser

  • ✓Quand vous voulez mettre à jour un projet EmDash existant vers la dernière version.
  • ✓Quand les notes de mise à niveau listent des changements auxquels votre projet doit s'adapter.
  • ✓Quand vous voulez confirmer que le projet mis à niveau se compile toujours et que ses migrations de base sont correctes.

Lien du skill

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

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu mettre mon projet EmDash à la dernière version, appliquer les changements requis par les notes et confirmer qu'il se compile toujours ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

L'agent lance l'outil de mise à niveau pour actualiser les paquets et établir une liste de travail des changements. Il lit ensuite cette liste, applique les changements qui comptent pour votre projet, puis lance les vérifications et l'état des migrations.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis 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.

Questions fréquentes

L'outil de mise à niveau modifie-t-il mon code ?

Non. Il met à jour les paquets et rédige les notes, et les changements dans votre code sont faits séparément.

Puis-je prévisualiser la mise à niveau d'abord ?

Oui. Une simulation indique ce qui changerait sans rien modifier.

Déploie-t-elle le site ?

Non. Le déploiement ne fait pas partie de ce processus.

Détails

Description originale de l’auteur

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

Popularité

Étoiles GitHub
14k
Position au classement
#11249
Licence
MIT
Mis à jour
02/11/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires