build-ghost-app-ui
ما الذي تفعله
تُعد هذه المهارة نظام Shade، نظام تصميم Ghost، داخل تطبيق Ghost وتوجه الوكيل إلى قواعده. وهي مناسبة للمطورين الذين يبنون شاشات لتطبيقات Ghost ويريدونها أن تتوافق مع Ghost Admin.
متى تستخدمها
- ✓عندما تبني شاشات تطبيق Ghost أو تغيّرها.
- ✓عندما تريد إضافة Shade إلى تطبيق ليبدو مثل Ghost Admin.
- ✓عندما تحتاج إلى قواعد Shade الصحيحة لجزء معين من الواجهة.
رابط المهارة
https://github.com/TryGhost/Ghost/blob/main/apps/shade/skills/build-ghost-app-ui/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد أن تبدو شاشات تطبيق Ghost الخاص بي مثل Ghost Admin، باستخدام Shade.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يثبت الوكيل حزمة Shade، ويفحص إعداد التطبيق، ويقرأ وثائق Shade الخاصة بالمكون أو التخطيط الذي يحتاجه. تحدد الحزمة المثبتة ما هو موجود، وتشرح الوثائق طريقة الاستخدام.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Build a Ghost app's UI
A Ghost app's screens use Shade (@tryghost/shade), the design system Ghost
Admin is built with. This skill sets Shade up and routes to the Shade skills
installed beside it; the rules live in Shade's docs. The app's manifest,
connect() and install belong to the build-ghost-app skill.
The docs
Docs links use https://shade.ghost.org. If the project's AGENTS.md says
where Shade's docs are (another address, or a source folder), use that
instead. At an address, start from <address>/llms.txt and fetch web pages
with curl -s <address>/docs/<page>.md, so the text arrives exact: a web
fetch tool summarises it and refuses localhost.
When sources disagree, trust them in this order:
- The installed
@tryghost/shadepackage (its code and type definitions; it ships no docs) decides what exists: components, props and imports. Its types match the install. - The docs at the address above decide how to use it.
- Ghost's source, if it's on disk, is reference only. Never import from it, and skip its Admin-only rules.
Set up
Check each step against the app, and do the ones it's missing:
Install
@tryghost/shade@alphaand its peers from npm;latestis older.npm create vitescaffolds React 19, which npm refuses beside Shade, so move the React packages and types first, as Install shows.Set up Tailwind and the stylesheet.
Load the Fonts.
Follow Admin's Light and dark theme.
Set the Page frame and margins.
If the app keeps state in the query string, follow App state in the URL.
Add this section to the app's
AGENTS.md, creating the file if needed. Keep any line already there that says where Shade's docs are.## Shade Before building or changing a screen, use the `build-ghost-app-ui` skill. Shade docs: https://shade.ghost.org
Build a screen
- Start from the page template with
shade-page-templates. - As the screen needs them, use
shade-page-headerfor the header,shade-use-primitivesfor layout,shade-tokens-not-hexfor colour,shade-no-dark-variantsfor dark mode andshade-importsfor imports. - Read only the docs that apply to apps.
Self-check
Before finishing, confirm in Admin:
- The screen looks right in Admin's light and dark theme, and switches with it.
- Inter loads:
document.fontslists it at each weight in Fonts. - The page has no outer padding of its own.
- Nothing is styled by hand where Shade has a component, primitive or token.
- Every state (empty, loading, error) is reachable with the sample data, and uses Shade components.
- The app's
AGENTS.mdhas the Shade section.
الأسئلة الشائعة
من أين يأخذ الوكيل قواعد Shade؟
تشير المهارة إلى وثائق Shade على الإنترنت، وتحدد الحزمة المثبتة المكونات والخصائص المتاحة.
هل يحتاج الوكيل إلى كود مصدر Ghost؟
لا. تذكر المهارة ألا يستورد الوكيل أبدًا من كود مصدر Ghost، فهو للمرجع فقط.
هل تضبط اتصال التطبيق بـ Ghost؟
لا. يتولى ربط التطبيق بـ Ghost Admin مهارة build-ghost-app.
التفاصيل
الوصف الأصلي من المؤلف
Build a Ghost app's screens with Shade, Ghost's design system, and find its docs and skills. Use when building or changing a Ghost app's UI, or adding Shade to an app.
repo: TryGhost/Ghost
الشعبية
- نجوم GitHub
- 56k
- الترتيب
- #3281
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
tinybird-cli-guidelines
56kيرشد وكيلك في استخدام أوامر Tinybird CLI للتطوير المحلي وعمل الفروع والبناء والنشر وإدارة البيانات.
tinybird
56kيعلّم وكيلك صيغ ملفات Tinybird وقواعد SQL وأنماط الأداء لمصادر البيانات والخطوط ونقاط النهاية والعروض المادية.
build-ghost-app
56kيساعد وكيلك على بناء تطبيق Ghost باستخدام Vite وReact، وربطه بـ Ghost Admin، وإعداد ملف البيان ورابط التثبيت.
shade-imports
56kيساعد وكيلك على استيراد مكونات Shade من مسارات الطبقات الصحيحة، وعلى إعداد ورقة الأنماط وShadeApp بشكل صحيح.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.