Zum Inhalt springen
Skillpedia
Deployment & Cloud (DevOps)14k · #11249

upgrading-emdash

Was er macht

Dieser Skill aktualisiert ein EmDash-Website-Projekt auf eine neuere Version, einschließlich seiner Pakete und der Hinweise zu den Änderungen. Er richtet sich an Entwickelnde, die eine bestehende Website sicher auf eine neuere Version bringen wollen.

Wann du ihn nutzt

  • ✓Wenn du ein bestehendes EmDash-Projekt auf die neueste Version aktualisieren willst.
  • ✓Wenn die Upgrade-Hinweise Änderungen auflisten, an die dein Projekt sich anpassen muss.
  • ✓Wenn du bestätigen willst, dass das aktualisierte Projekt noch baut und die Datenbankmigrationen stimmen.

Link zum Skill

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

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Kannst du mein EmDash-Projekt auf die neueste Version aktualisieren, nötige Änderungen aus den Hinweisen anwenden und bestätigen, dass es noch baut?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Der Agent startet das Upgrade-Werkzeug, das die Pakete aktualisiert und eine Liste der nötigen Änderungen erstellt. Danach liest er diese Liste, wendet die für dein Projekt wichtigen Änderungen an und führt die Prüfungen und den Migrationsstatus aus.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von 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.

Häufige Fragen

Ändert das Upgrade-Werkzeug meinen Code?

Nein. Es aktualisiert Pakete und schreibt die Hinweise. Die Änderungen an deinem Code werden separat vorgenommen.

Kann ich das Upgrade vorher ansehen?

Ja. Ein Probelauf zeigt, was sich ändern würde, ohne etwas zu ändern.

Veröffentlicht er die Website?

Nein. Die Veröffentlichung gehört nicht zu diesem Ablauf.

Details

Originalbeschreibung des Autors

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

Beliebtheit

GitHub-Sterne
14k
Platz im Ranking
#11249
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills