upgrading-emdash
What it does
This skill updates an EmDash website project to a newer release, including its packages and the notes about what changed. It is for developers who want to move an existing site to a newer version safely.
When to use it
- ✓When you want to update an existing EmDash project to the latest release.
- ✓When the upgrade notes list changes that your project needs to adapt to.
- ✓When you want to confirm the upgraded project still builds and its database migrations are correct.
Skill link
https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you upgrade my EmDash project to the latest version, apply any changes the notes require, and confirm it still builds?”
5 new skills a week. 1 minute to read.
How it works
The agent runs the upgrade tool to update the packages and create a work list of changes. It then reads that list, applies the changes that matter to your project, and runs the checks and migration status.
Technical content (original SKILL.md)
Original text by the author, straight from 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
- Inspect the existing project and its uncommitted changes. Preserve unrelated work.
- Assess every release entry in
.emdash/UPGRADE.mdagainst the project. Apply required source and configuration changes. Do not adopt a new feature when the project does not use the affected surface. - Run the repository's relevant format, tests, typecheck, and build commands.
- Run the migration status command from the work order and report the target database and pending migrations.
- 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.
- 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.
- 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.
FAQ
Does the upgrade tool change my code?
No. It updates packages and writes the notes, and the changes to your code are made separately.
Can I preview the upgrade first?
Yes. A dry run shows what would change without making changes.
Does it deploy the site?
No. Deployment is not part of this process.
Details
Original description by the author
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
Popularity
- GitHub stars
- 14k
- Ranking position
- #11249
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
adversarial-reviewer
14kHelps your agent hunt for hidden bugs and unsafe assumptions in a code change, going beyond an ordinary review when you ask for it.
agent-browser
14kLets your agent test a web page in a real browser, check what users see, verify actions and capture screenshots as evidence.
building-emdash-site
14kHelps your agent build the site side of an EmDash CMS project on Astro, covering content, schema, menus, taxonomies and deployment.
creating-plugins
14kHelps your agent build a plugin for the EmDash CMS, with safe hooks, routes, storage and an admin interface.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.