frontend-design-direction
ما الذي تفعله
تساعد هذه المهارة في تحديد شكل الموقع أو التطبيق وإحساسه، لضمان أن يكون احترافيًا وسهل الاستخدام ومناسبًا لغرضه. وتهتم بطريقة ظهوره وإحساس المستخدم به، وليس فقط بعمله.
متى تستخدمها
- ✓عندما تنشئ موقعًا أو تطبيقًا من الصفر.
- ✓عندما يبدو موقع أو تطبيق موجود عامًا أو قديمًا.
- ✓عند إضافة ميزات جديدة يجب أن تتناسب مع التصميم العام.
رابط المهارة
https://github.com/affaan-m/ECC/blob/main/skills/frontend-design-direction/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“كيف أجعل لوحة التحكم هذه تبدو أكثر احترافية وأقل عمومية؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يأخذ الذكاء الاصطناعي في الحسبان غرض الموقع ومن سيستخدمه والإحساس المطلوب (جادّ، مرح، تقني مثلًا). ثم يقترح تفاصيل تصميمية محددة، كالألوان والخطوط والتخطيط، لتحقيق هذا الهدف.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Frontend Design Direction
Use this skill when the work is not just making UI function, but making it feel purposeful, polished, and appropriate to the product domain.
Source: salvaged from stale community PR #1659 by linus707.
Note: ECC intentionally does not rebundle the canonical Anthropic
frontend-design skill. Install that from anthropics/skills when you want the
official upstream skill. This skill is the ECC-specific design-direction salvage
of the useful local guidance from #1659.
When to Use
- The user asks to build a web page, app, dashboard, artifact, component, or UI.
- The user asks to make an interface more polished, distinctive, beautiful, or less generic.
- The implementation needs visual hierarchy, typography, color, motion, layout, and interaction choices.
- The current UI works but reads as flat, generic, templated, or mismatched to the audience.
Design Direction
Before coding, choose a specific direction:
- Purpose: what job does the interface do?
- Audience: who repeats this workflow, and what do they need to scan first?
- Tone: utilitarian, editorial, playful, industrial, refined, technical, maximal, minimal, dense, calm, or another explicit direction.
- Memorable detail: one design idea that makes the result feel intentional.
- Constraints: framework, accessibility, performance, responsiveness, and existing design system.
Match the direction to the domain. A SaaS operations tool should usually be dense, quiet, and scannable. A portfolio, launch page, game, or editorial piece can be more expressive. Do not force a landing-page composition onto a tool that needs repeated daily use.
Implementation Guidance
Evidence contract and content states
Before implementation, record the product surface, user's job, primary action, hierarchy, target viewports and the reference observation behind each important choice. Make these constraints checkable; a palette alone is not evidence. Use local product references when external research is unnecessary or unavailable.
For each relevant state, record its trigger, visible feedback and safe next action:
| State | Check |
|---|---|
| Loading | Stable structure and progress; cancellation where supported |
| Empty | Explain missing data and offer a useful next action |
| Error | Specific failure and a recovery path |
| Partial | Show available data and clearly mark unavailable portions |
| Success | Confirm completion and show the next action or supported undo |
| Permission | Explain the access boundary and a safe request/return path |
Record a reason when a state does not apply. Unavailable test access is an untested state, not a reason to mark it not applicable.
Build from the contract
- Build the actual usable experience as the first screen unless the user explicitly asks for marketing copy.
- Use existing project components, tokens, icon libraries, and routing patterns before introducing a new visual system.
- Use real or generated visual assets when the interface depends on images, products, places, people, gameplay, charts, or inspectable media.
- Prefer contextual typography and spacing over generic oversized hero text.
- Keep palettes multi-dimensional: avoid a UI dominated by one hue family.
- Use CSS variables or existing design tokens so the direction remains coherent across states.
- Design responsive constraints explicitly: grids, aspect ratios, min/max sizes, stable toolbars, and fixed-format controls should not shift when labels or hover states appear.
- Use motion sparingly but deliberately. Prefer high-signal transitions that clarify state over decorative animation.
- Verify text fit on mobile and desktop. Long labels must wrap or resize cleanly rather than overflowing.
Anti-Patterns
- Do not default to common generated patterns: purple gradients, decorative blobs, oversized cards, vague hero copy, or stock-like atmospheric media.
- Do not add UI cards inside other cards.
- Do not use a single decorative style everywhere when the domain calls for restraint.
- Do not hide the primary product, tool, object, or workflow behind generic marketing sections.
- Do not add a new dependency for a design flourish unless it clearly pays for itself.
- Do not describe the UI's features inside the UI when the controls can speak for themselves.
Review Checklist
- The first viewport immediately communicates the product, workflow, or object.
…
الأسئلة الشائعة
ما الفرق بين هذه المهارة و«frontend-design» الرسمية؟
هذه المهارة نسخة خاصة بـ ECC تركز على إرشادات تصميم محددة. أما المهارة الرسمية من Anthropic فهي أعم، ويجب تثبيتها بشكل منفصل إذا احتجت إليها.
ما هي «حالات المحتوى»؟
هي الحالات المختلفة التي قد يواجهها المستخدم، مثل تحميل البيانات، أو غياب البيانات، أو حدوث خطأ، أو اكتمال إجراء بنجاح.
ما هي «الأنماط المضادة» (anti-patterns)؟
هي ممارسات تصميمية شائعة يُفضَّل تجنبها، مثل التدرجات البنفسجية اللافتة، أو البطاقات داخل البطاقات، أو إخفاء الوظيفة الرئيسية للمنتج خلف أقسام تسويقية عامة.
التفاصيل
الوصف الأصلي من المؤلف
Set an ECC-specific frontend design direction for production UI work. Use when building or improving websites, dashboards, applications, components, landing pages, visual tools, or any web UI that needs stronger product-specific design judgment.
repo: affaan-m/ECC
الشعبية
- نجوم GitHub
- 280k
- الترتيب
- #317
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
accessibility
280kيساعد وكيلك على بناء واجهات يستطيع الجميع استعمالها، ويضمن عمل المواقع والتطبيقات جيدًا لذوي الإعاقة، كالمكفوفين وذوي الحركة المحدودة.
agent-architecture-audit
280kيتأكد وكيلك من أن كل شيء يعمل بشكل صحيح، ويجد مشكلات أنظمة الذكاء الاصطناعي ويصلحها، ليؤدي كما هو متوقع.
agent-eval
280kيساعد وكيلك على مقارنة أدوات البرمجة بالذكاء الاصطناعي المختلفة، ويقيس أيها أسرع وأرخص وأكثر موثوقية لمهام محددة.
agent-harness-construction
280kيساعد وكيلك على فهم طريقة إنجاز المهام بشكل أفضل، عبر تحسين الأدوات والتعليمات التي يستعملها لزيادة فرص نجاحه.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.