upgrading-emdash
できること
このスキルは、EmDashのウェブサイトプロジェクトを、パッケージや変更点の説明を含めて新しいリリースに更新します。既存のサイトを安全に新しいバージョンへ移したい開発者向けです。
使う場面
- ✓既存のEmDashプロジェクトを最新のリリースに更新したいとき。
- ✓アップグレードの説明に、プロジェクトが対応すべき変更が書かれているとき。
- ✓アップグレードしたプロジェクトがまだビルドでき、データベースのマイグレーションが正しいかを確認したいとき。
スキルのリンク
https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“私のEmDashプロジェクトを最新バージョンにアップグレードし、説明にある必要な変更を適用して、まだビルドできるか確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントはアップグレードツールを実行し、パッケージを更新して変更の作業リストを作ります。そのリストを読み、プロジェクトに関係する変更を適用し、確認とマイグレーションの状態を実行します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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.
よくある質問
アップグレードツールはコードを変更しますか?
いいえ。パッケージを更新し、説明を書きます。コードへの変更は別に行われます。
アップグレードを先に確認できますか?
はい。ドライランで、変更せずに何が変わるかを表示できます。
サイトのデプロイもしますか?
いいえ。デプロイはこの工程には含まれません。
詳細
作者による元の説明
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
人気
- GitHubのスター
- 14k
- ランキング
- #11249
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
adversarial-reviewer
14kエージェントが、コードの変更に隠れたバグや安全でない前提を探せるよう支援します。依頼されたときは、通常の査読を超えた深い検証を行います。
agent-browser
14kエージェントが、実際のブラウザでWebページを検証し、ユーザーに見える内容や操作の結果を確認して、証拠としてスクリーンショットを取れるよう支援します。
building-emdash-site
14kエージェントが、AstroのEmDash CMSプロジェクトのサイト側を構築できるよう支援します。コンテンツ、スキーマ、メニュー、分類、デプロイを扱います。
creating-plugins
14kエージェントが、安全なフック、ルート、ストレージ、管理画面を備えたEmDash CMS用のプラグインを作れるよう支援します。
似ているスキル
openclaw-update
394k既存のOpenClaw Gatewayを更新するようエージェントを支援します。インストール方法に合った更新方法を選び、セッションを動かし続けます。
diagnose-gateway
394k設定、チャンネル、ポートを確認して、OpenClaw Gatewayが失敗している理由を、何も変更せずに突き止めるようエージェントを支援します。
crabbox-apps
394k一時的なクラウドマシン上でアプリを開いて実行し、そのビューをチャットのサイドパネルに表示するようエージェントを支援します。