upgrading-emdash
ما الذي تفعله
تحدّث هذه المهارة مشروع موقع EmDash إلى إصدار أحدث، بما يشمل حزمه وملاحظات التغييرات. وهي مخصصة للمطورين الذين يريدون نقل موقع قائم إلى إصدار أحدث بأمان.
متى تستخدمها
- ✓عندما تريد تحديث مشروع EmDash موجود إلى أحدث إصدار.
- ✓عندما تسرد ملاحظات الترقية تغييرات يحتاج مشروعك إلى التكيف معها.
- ✓عندما تريد التأكد من أن المشروع المرقّى ما زال يُبنى وأن ترحيلات قاعدة البيانات صحيحة.
رابط المهارة
https://github.com/emdash-cms/emdash/blob/main/skills/upgrading-emdash/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك ترقية مشروع EmDash إلى أحدث إصدار، وتطبيق أي تغييرات تطلبها الملاحظات، والتأكد من أنه ما زال يُبنى؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يشغّل الوكيل أداة الترقية لتحديث الحزم وإنشاء قائمة عمل بالتغييرات. ثم يقرأ هذه القائمة، ويطبّق التغييرات المهمة لمشروعك، ويشغّل الفحوص وحالة الترحيل.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
adversarial-reviewer
14kيساعد وكيلك على البحث عن أخطاء خفية وافتراضات غير آمنة في تغيير برمجي، متجاوزًا المراجعة العادية عندما تطلب ذلك.
agent-browser
14kيتيح لوكيلك اختبار صفحة ويب في متصفح حقيقي، والتحقق مما يراه المستخدمون، والتأكد من الإجراءات، والتقاط لقطات شاشة كدليل.
building-emdash-site
14kيساعد وكيلك على بناء الجزء الخاص بالموقع من مشروع EmDash CMS المبني على Astro، ويشمل المحتوى والمخطط والقوائم والتصنيفات والنشر.
creating-plugins
14kيساعد وكيلك على بناء إضافة لنظام EmDash CMS، مع خطافات آمنة ومسارات وتخزين وواجهة إدارة.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.