replica-design
ما الذي تفعله
تُعدّ هذه المهارة النظام البصري لتطبيق جديد، ويشمل ذلك الألوان والخطوط والمسافات والمكونات مع حالاتها. وهي موجهة إلى المصممين والمطورين الذين يريدون واجهة متسقة وسهلة الوصول، مبنية على مجموعات أيقونات وخطوط مفتوحة.
متى تستخدمها
- ✓عندما تحتاج إلى نظام تصميم فيه أدوار للألوان وأحجام للخطوط ومسافات لتطبيق جديد.
- ✓عندما تريد تعريف كل مكوّن، مثل الأزرار والنماذج، مع حالاته.
- ✓عندما تحتاج إلى التأكد من أن ألوان النص تلبي مستويات التباين المعتمدة لسهولة الوصول.
رابط المهارة
https://github.com/Jakeschincariol/replica-skill/blob/main/replica-design/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“هل يمكنك إعداد نظام تصميم لتطبيقي يتضمن أدوار الألوان وأحجام الخطوط والمكونات، وفحص تباين النص؟”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقيس وكيلك الأنماط الموجودة في الصور المرجعية ويحوّلها إلى قيم تصميم للألوان والخطوط والمسافات والحواف الدائرية. ثم يكتب مواصفات المكونات ويُجري فحص التباين على كل زوج من ألوان النص.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
replica-design
Reads replica/recon.md and the screenshots in replica/screens/. Writes
replica/design/tokens.json (template in this folder), tokens.css, the
Tailwind mapping, and replica/design/components.md.
python3 contrast.py replica/design/tokens.json # every text pair, WCAG ratio
The rules
What you rebuild is the system: the roles, the scale, the patterns, the way a form or a modal behaves. Those are not ownable, and users expect them. What you never take:
- Logos, icons, illustrations, photos, sounds. Use an open icon set (Lucide, Phosphor, Heroicons, Tabler, all MIT or similar) and make or commission your own illustrations. Do not trace theirs.
- Licensed fonts. If the original uses a paid or proprietary font, pick an open one with the same job: Inter, Geist, IBM Plex, Manrope, Source Serif.
- Their copy. Every label and empty state gets written fresh.
- Their brand colour. Record it as a role (
accent), use a neutral placeholder now, and replica-brand gives you your own. The signature colour plus the signature layout is trade dress, and it changes before launch.
Step 1: measure, do not guess
From the screenshots (zoom in, use a colour picker on the user's machine):
- Colour roles, not colours: bg, surface, border, border-input, text, text-muted, accent, on-accent, danger, success, warning. Count how many greys the app really uses. Usually 5 to 7.
- Type scale: sizes, line heights, weights. Snap to a scale (12, 14, 16, 20, 28, 40 is common). Note the font category, not the font file.
- Spacing: measure gaps between elements. It is almost always a 4 or 8 base. Write the scale.
- Radius, shadow, motion: two or three of each.
- Layout: max content width, grid, breakpoints, sidebar width, header height.
Step 2: write the tokens
Fill tokens.json. Keep the role names. replica-brand only changes values.
Generate tokens.css as custom properties and map them into Tailwind's theme
so components use bg-surface text-muted, never raw hex.
Add a pairs list for every text and background combination the app uses,
then:
python3 contrast.py replica/design/tokens.json
AA is the floor: 4.5:1 for body text, 3:1 for large text and for input borders and focus rings. It exits 1 on a failure. Fix it in the tokens, not per component.
Step 3: component specs
For every component in the recon list, one block in components.md:
Button
variants primary, secondary, ghost, danger
sizes sm 32px, md 40px, lg 48px
states default, hover, active, focus-visible (2px ring, accent), disabled, loading
tokens bg accent, text on-accent, radius md, font sm/600
a11y real <button>, visible focus, loading keeps the label for screen readers
used on S02, S07, S09
Every state the recon saw, plus the ones it should have: focus, disabled, loading, error, empty. Keyboard and screen reader behaviour is part of the spec.
Step 4: build the primitives
Build the components in code once, in isolation (a /design route or
Storybook), before any screen. Use an accessible base if the stack has one
(Radix, shadcn/ui, React Aria). Screenshot the page. That is the design system
check.
Output
tokens.json, tokens.css, the Tailwind config, components.md, the
primitives built, and a contrast report with zero AA failures. Next:
/replica-build.
الأسئلة الشائعة
هل تنسخ الشعارات أو الخطوط؟
لا. تطلب المهارة استخدام مجموعات أيقونات وخطوط مفتوحة، وإنشاء رسومك التوضيحية الخاصة.
ماذا يفعل فاحص التباين؟
يحسب نسبة التباين وفق معيار WCAG لكل زوج من ألوان النص في قيم التصميم.
هل يُحتفظ بلون العلامة التجارية؟
لا. تسجّل المهارة لون العلامة الأصلي كدور، وتستخدم لونًا محايدًا مؤقتًا حتى تُضبط علامتك التجارية.
التفاصيل
الوصف الأصلي من المؤلف
Rebuilds an app's design system for a clone: colour roles, type scale, spacing, radius, shadows and every component with its states, as design tokens plus component specs, with original assets instead of the target's logos, icons, illustrations or licensed fonts. Includes a WCAG contrast checker. Use when the user says "match the design", "rebuild the design system", "get the colours and fonts", "make it look like X", "design tokens for my clone", or after /replica-architect.
الشعبية
- نجوم GitHub
- 7.1k
- الترتيب
- #13580
- الترخيص
- MIT
- آخر تحديث
- 3/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
replica-architect
7.1kيساعد وكيلك على تخطيط المكدس وقاعدة البيانات وواجهة البرمجة لتطبيق جديد اعتمادًا على خريطة ميزات، ويرتب البناء بشريحة عمل رفيعة أولًا.
replica-backend
7.1kيساعد وكيلك على بناء الجانب الخادمي لتطبيق فيه تسجيل دخول وقواعد قاعدة بيانات ومدفوعات Stripe وبريد إلكتروني ومهام خلفية، باستخدام واجهات رسمية.
replica-brand
7.1kيساعد وكيلك على تسمية تطبيقك وتمييز علامته التجارية، عبر فحوص للاسم وألوان جديدة وملخص للشعار وفحص لبقايا الأسماء القديمة.
replica-build
7.1kيساعد وكيلك على بناء شاشات تطبيق جديد شاشة بشاشة من خريطة ميزات، بدءًا بالهيكل ثم المسار الأساسي، مكتوبًا من الصفر.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.