Langsung ke konten
Skillpedia
Deploy & cloud (DevOps)14k · #11249

upgrading-emdash

Fungsinya

Skill ini memperbarui proyek situs web EmDash ke rilis yang lebih baru, termasuk paketnya dan catatan tentang apa saja yang berubah. Skill ini ditujukan untuk pengembang yang ingin memindahkan situs yang sudah ada ke versi yang lebih baru dengan aman.

Kapan dipakai

  • ✓Saat Anda ingin memperbarui proyek EmDash yang ada ke rilis terbaru.
  • ✓Saat catatan pembaruan mencantumkan perubahan yang perlu disesuaikan dalam proyek Anda.
  • ✓Saat Anda ingin memastikan proyek yang sudah diperbarui masih bisa dibangun dan migrasi basis datanya benar.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Bisakah Anda memperbarui proyek EmDash saya ke versi terbaru, menerapkan perubahan yang disarankan catatan, dan memastikan proyeknya masih bisa dibangun?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent menjalankan alat pembaruan untuk memperbarui paket dan membuat daftar kerja perubahan. Setelah itu agent membaca daftar tersebut, menerapkan perubahan yang penting untuk proyek Anda, lalu menjalankan pemeriksaan dan status migrasi.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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.

Pertanyaan umum

Apakah alat pembaruan mengubah kode saya?

Tidak. Alat ini hanya memperbarui paket dan menulis catatan, sedangkan perubahan pada kode Anda dilakukan secara terpisah.

Bisakah saya melihat pratinjau pembaruan dulu?

Bisa. Uji coba kering menampilkan apa yang akan berubah tanpa benar-benar mengubah apa pun.

Apakah skill ini juga menerbitkan situs?

Tidak. Penerbitan situs bukan bagian dari proses ini.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
14k
Peringkat
#11249
Lisensi
MIT
Diperbarui
2/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa