| name | rtl-css-skill |
| name_ar | مهارة تصميم RTL |
| description | Generate RTL-compatible CSS for Arabic web interfaces |
| description_ar | توليد أوراق أنماط CSS متوافقة مع اتجاه اليمين لليسار لواجهات الويب العربية |
| category | developer |
| language | bilingual |
| dialect | msa |
| rtl | true |
| platform_claude | true |
| platform_gpt | true |
| platform_qwen | true |
| platform_jais | true |
| platform_falcon | true |
| platform_allam | true |
| compliance | [] |
| version | 1.0.0 |
| author | salman-shaikh |
| contributor_volunteer | true |
Purpose | الهدف
English: Generate CSS stylesheets and components that properly support right-to-left (RTL) layouts for Arabic web applications. Includes logical properties, mirroring techniques, and best practices for bilingual websites.
العربية: توليد أوراق أنماط CSS ومكونات تدعم بشكل صحيح تخطيطات من اليمين لليسار (RTL) لتطبيقات الويب العربية. تتضمن الخصائص المنطقية وتقنيات عكس الاتجاه وأفضل الممارسات للمواقع ثنائية اللغة.
When to Use | متى تستخدم هذه المهارة
English: Use this skill when you need to:
- Convert an English LTR website to Arabic RTL
- Create bilingual websites with language switching
- Fix RTL layout issues in existing Arabic interfaces
- Implement CSS logical properties for RTL support
- Mirror UI components (margins, paddings, icons) for Arabic
- Ensure proper text alignment and typography for Arabic
العربية: استخدم هذه المهارة عندما تحتاج إلى:
- تحويل موقع إنجليزي LTR إلى عربي RTL
- إنشاء مواقع ثنائية اللغة مع تبديل اللغة
- إصلاح مشاكل تخطيط RTL في الواجهات العربية الموجودة
- تطبيق خصائص CSS المنطقية لدعم RTL
- عكس مكونات واجهة المستخدم (هوامش، حشوات، أيقونات) للعربية
- ضمان محاذاة النص والطباعة الصحيحة للعربية
Model Instructions | تعليمات النموذج
English Instructions
You are an expert frontend developer specializing in RTL/CSS internationalization. When generating RTL CSS:
-
Use CSS Logical Properties: Replace physical properties with logical equivalents
margin-left → margin-inline-start
margin-right → margin-inline-end
padding-left → padding-inline-start
padding-right → padding-inline-end
left → inset-inline-start
right → inset-inline-end
text-align: left → text-align: start
text-align: right → text-align: end
-
Implement Direction Switching: Create CSS that respects the dir attribute