wordpress-theme-to-emdash
ما الذي تفعله
تعيد هذه المهارة إنشاء مظهر قالب WordPress وتخطيطات صفحاته كموقع حديث مبني على Astro وEmDash. وهي مخصصة لمصممي المواقع والمطورين الذين ينقلون موقع WordPress إلى EmDash مع الحفاظ على مظهره.
متى تستخدمها
- ✓عندما تريد نقل تصميم قالب WordPress إلى موقع EmDash.
- ✓عندما تملك نسخة تجريبية أو لقطات شاشة يجب أن يطابقها الموقع الجديد.
- ✓عندما تحتاج إلى تحويل قوالب صفحات القالب إلى تخطيطات Astro.
رابط المهارة
https://github.com/emdash-cms/emdash/blob/main/skills/wordpress-theme-to-emdash/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك إعادة بناء مظهر قالب WordPress الخاص بي كموقع EmDash، بحيث يطابق النسخة التجريبية على الحاسوب والجوال؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يراجع الوكيل ملفات القالب والصفحات التجريبية أو لقطات الشاشة، ويربط قوالبه بتخطيطات ومكونات Astro. ثم يقارن النتيجة بالمرجع في المتصفح على أحجام الحاسوب والجوال.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Port a WordPress theme to EmDash
Recreate the theme's relevant layouts and interactions as an Astro site backed by EmDash. Preserve the user's requested visual fidelity and feature scope; do not assume every WordPress template or demo feature belongs in the port.
Load building-emdash-site for current EmDash schema, query, rendering, caching, and seed patterns. When a live reference site is available, use the agent-browser CLI for rendered comparison; run agent-browser skills get core --full for its command reference.
Choose the evidence
Use the best available sources in this order:
- theme source and
theme.json, stylesheets, templates, andfunctions.php; - a live demo at representative desktop and mobile viewports;
- screenshots or design files supplied by the user;
- explicit design decisions where the source is ambiguous.
Do not infer that demo content or images share the theme code's license. Reuse an asset only when its license or the user's rights permit it; otherwise use a clearly licensed substitute with similar dimensions and visual weight.
Plan the port
Inventory only the page types, components, responsive states, and interactions needed for the requested site. Map WordPress responsibilities before implementing:
- PHP templates become Astro routes, layouts, and components.
- Custom post types, metadata, and taxonomies become EmDash collections, fields, and taxonomies.
- Theme Customizer values become site settings or explicit project configuration.
- Menu locations become named EmDash menus queried by templates.
- Sidebars and widgets become widget areas or ordinary Astro components.
- Shortcodes and plugin-owned behavior may require a separate plugin migration.
Read WordPress theme concept mapping when translating template hierarchy, functions.php registrations, template tags, hooks, widgets, or reusable blocks.
Dynamic EmDash content routes must remain server-rendered. Use the EmDash Image component for EmDash media fields; ordinary theme assets can use Astro's asset handling.
Work in scoped phases
Read a phase file only when that phase applies:
- Discovery and reference capture
- Design extraction
- Template conversion
- Dynamic EmDash features
- Schema and seed data
- Rendered verification
When creating a standalone theme project, start from the repository's current site template or the user's existing project. Confirm the destination before writing and do not replace an existing site structure without explicit direction.
Verify the result
Build the site and exercise each in-scope page and interaction. Compare matched viewports against the reference, including responsive navigation, content with long and missing values, RTL when admin or theme behavior depends on direction, and relevant empty or error states.
Capture before-and-after or reference-and-result screenshots when visual fidelity is part of acceptance. Report deliberate deviations, missing source evidence, unsupported WordPress behavior, and asset substitutions.
Licensing and attribution
Inspect the source theme's actual license and notices. Preserve required copyright and attribution, include the applicable license text for reused code, and identify third-party assets separately. Do not label a port GPL-2.0-or-later merely because the source is a WordPress theme.
الأسئلة الشائعة
هل ستُنسخ صور النسخة التجريبية أيضًا؟
فقط إذا كان ترخيصها يسمح بذلك، وإلا تُستخدم صورة بديلة بترخيص واضح وحجم مشابه.
هل تنسخ كل ميزات النسخة التجريبية؟
لا. تشمل الصفحات والتفاعلات التي يطلبها المستخدم فقط.
هل تتعامل مع ميزات إضافات WordPress؟
لا. يغطي سلوك الإضافات نهج نقل منفصل.
التفاصيل
الوصف الأصلي من المؤلف
Port a WordPress theme's design and template behavior to an EmDash-powered Astro site. Use for theme migrations, design matching, PHP-template conversion, and CMS wiring. Do not use for WordPress plugin behavior that does not affect the site theme.
repo: emdash-cms/emdash
الشعبية
- نجوم GitHub
- 14k
- الترتيب
- #11251
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
adversarial-reviewer
14kيساعد وكيلك على البحث عن أخطاء خفية وافتراضات غير آمنة في تغيير برمجي، متجاوزًا المراجعة العادية عندما تطلب ذلك.
agent-browser
14kيتيح لوكيلك اختبار صفحة ويب في متصفح حقيقي، والتحقق مما يراه المستخدمون، والتأكد من الإجراءات، والتقاط لقطات شاشة كدليل.
building-emdash-site
14kيساعد وكيلك على بناء الجزء الخاص بالموقع من مشروع EmDash CMS المبني على Astro، ويشمل المحتوى والمخطط والقوائم والتصنيفات والنشر.
creating-plugins
14kيساعد وكيلك على بناء إضافة لنظام EmDash CMS، مع خطافات آمنة ومسارات وتخزين وواجهة إدارة.
مهارات مشابهة
angular-developer
280kيساعد وكيلك على كتابة شيفرة Angular وتقديم نصائح لبنية المشروع، ويفيد في بدء المشاريع الجديدة وإنشاء المكونات وتحسين الأداء وإمكانية الوصول.
frontend-a11y
280kيساعد وكيلك على جعل واجهات الويب متاحة للجميع، فيضمن أن المواقع والتطبيقات تعمل جيدًا مع قارئات الشاشة والتنقل بلوحة المفاتيح.
frontend-patterns
280kيطبّق وكيلك أنماط تطوير الواجهات الحديثة، فيحسّن الأداء ويدير الحالة ويتبع أفضل الممارسات في React وNext.js.