Logo von Persian Rtl Ui

Persian Rtl Ui

Community
MiladJoodi
persian-rtl-ui

Build natural Persian RTL interfaces with React and Tailwind. Use for Persian UI, RTL layouts, component styling, forms, dashboards and converting LTR interfaces to RTL. Covers logical CSS, Persian typography, Persian numbers, Jalali dates, Iranian form patterns, accessible RTL behavior and token-based styling.

Übersicht

HerausgeberMiladJoodi
Repositoryskills
Skill-Namepersian-rtl-ui
Sterne
24
Forks
1
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von MiladJoodi auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Persian Rtl Ui in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/MiladJoodi/skills/tree/main/skills/persian-rtl-ui
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MiladJoodi/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/persian-rtl-ui .claude/skills/persian-rtl-ui
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Persian Rtl Ui in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Persian Rtl Ui automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Persian Rtl Ui nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Persian RTL UI

Build Persian interfaces as RTL interfaces from the beginning. Adding dir="rtl" to an existing LTR interface is not enough.

Apply these rules to layout, typography, forms, overlays, icons, numbers, dates, accessibility and Iranian product patterns.

1. Direction

  • Set the document direction with <html lang="fa" dir="rtl">. Do not add dir="rtl" to individual components unless a specific nested section requires a different direction.
  • Prefer logical CSS utilities: ms-*, me-*, ps-*, pe-*, start-*, end-*, text-start, text-end, border-s, border-e, rounded-s-*, rounded-e-*, inset-s-*, inset-e-*.
  • Avoid physical-direction utilities when the layout should adapt to RTL: ml-*, mr-*, pl-*, pr-*, left-*, right-*, text-left, text-right, border-l, border-r.
  • Use gap-* instead of space-x-*.
  • Do not add flex-row-reverse just to compensate for RTL.
  • Directional icons should match RTL. For example, "next" points left and "back" points right.
  • Keep inherently LTR values such as phone numbers, email, OTP, IBAN, card numbers, URLs and code in dir="ltr" where appropriate.

2. RTL components

RTL must work beyond the main document flow.

Check direction, alignment and positioning in:

  • Dialog
  • Popover
  • Tooltip
  • Dropdown Menu
  • Context Menu
  • Select and Combobox
  • Drawer and Sheet
  • Toast
  • Nested menus
  • Portals
  • Floating elements
  • Absolutely positioned elements
  • Charts and chart tooltips

Do not assume that a component is RTL-safe just because its parent has dir="rtl".

3. Typography

  • Use the Persian font configured by the project.
  • Do not replace it with a Latin-first font such as Inter, Roboto or Geist unless explicitly required.
  • Do not add artificial letter spacing to Persian text.
  • Avoid tracking-* on Persian text unless there is a deliberate design reason.
  • Use appropriate Persian line-height and the font's available weights.
  • Keep Latin text in its natural form inside mixed Persian content.
  • Use <bdi> or dir="ltr" when a Latin value needs explicit isolation.
  • Do not uppercase Persian text.

Example:

text
کد سفارش SKU-2048

should remain a Persian sentence with the SKU isolated only when necessary, not become an entirely LTR block.

4. Numbers, money and dates

Use Persian digits for visible Persian content when appropriate:

text
۳ کالا
۲ ساعت پیش
۱٬۲۵۰٬۰۰۰ تومان
۲۰٪ تخفیف

Use:

  • ٬ for thousands
  • ٫ for decimals
  • ٪ for percentages

Money should place the unit after the number:

text
۱۲٬۴۵۰٬۰۰۰ تومان

Keep machine-readable values such as API payloads, JSON, database values and form values in their required format. Convert them at the presentation layer.

For Persian-first products, use the Jalali calendar when the product requires it. Do not rely on toLocaleDateString alone when an actual Jalali conversion is required.

5. Forms

  • Keep labels visible and separate from placeholders.
  • Use htmlFor and correctly associated inputs.
  • Phone inputs should support common Iranian formats such as ۰۹۱۲۳۴۵۶۷۸۹ and +989123456789 when required.
  • Use dir="ltr" for phone, OTP, email, IBAN, card and URL inputs where it improves input behavior.
  • OTP inputs should support paste and autoComplete="one-time-code" where applicable.
  • Normalize Persian and Arabic-Indic digits before validation when the field accepts numeric input.
  • Show validation errors close to the relevant field and use aria-invalid where appropriate.
  • Keep the primary action clear and visually distinct.
  • Avoid unnecessary visual clutter in forms.

6. Colors and shape

Use the project's existing semantic design tokens.

Prefer tokens such as:

text
background
foreground
card
primary
secondary
muted
accent
border
input
ring
destructive

Do not introduce arbitrary colors or hard-coded values inside components when an existing token can be used.

Use the project's radius system consistently.

7. Motion

  • Keep interface animations short and purposeful.
  • Respect prefers-reduced-motion.
  • Directional animations should follow RTL.
  • Prefer animating transform and opacity instead of layout properties such as top, left and width.

8. Accessibility

  • Preserve a visible focus state.
  • Do not use outline-none without an equivalent focus treatment.
  • Give icon-only buttons meaningful Persian aria-label values.
  • Preserve keyboard navigation and focus management in dialogs and menus.
  • Use lang="fa" for Persian document content.
  • Make sure muted text remains readable in both light and dark themes.

9. Iranian product patterns

When the product requires Iranian-specific UI patterns, use existing project components and utilities instead of reimplementing them unnecessarily.

Common patterns include:

  • شماره موبایل
  • کد ملی
  • شماره شبا
  • شماره کارت
  • کد پستی
  • پلاک خودرو
  • استان، شهر، خیابان، پلاک، واحد
  • تومان و ریال
  • تقویم شمسی
  • وضعیت پرداخت
  • روش‌های ارسال

Examples of natural field structures:

text
استان
شهر
آدرس
پلاک
واحد
کد پستی

Do not invent validation rules for Iranian identifiers without checking the project's existing implementation or requirements.

10. Copy inside components

User-facing text should be natural Persian:

  • labels
  • placeholders
  • empty states
  • errors
  • loading states
  • confirmations
  • notifications
  • accessible labels

Keep code identifiers, props, variables, component names and file names in English.

Use the persian-ui-copy skill when available for detailed Persian UI wording and terminology.

11. RTL review

Before returning the implementation, inspect the complete interface.

Pay particular attention to:

  • nested components
  • Portal-based components
  • Dropdowns
  • Tooltips
  • Popovers
  • Charts
  • Dialogs
  • absolute-positioned elements
  • floating controls
  • directional icons
  • mixed Persian and Latin content

A component that looks correct in the main DOM can still be incorrect when rendered through a Portal or nested inside another component.

12. Final checklist

  1. Document direction is RTL.
  2. Layout uses logical CSS utilities.
  3. No unnecessary physical-direction utilities.
  4. No unnecessary flex-row-reverse.
  5. Persian text has no artificial letter spacing.
  6. LTR values are handled with the correct direction.
  7. Visible Persian numbers and money use the product's formatting rules.
  8. Jalali dates are used where required.
  9. Colors and radius come from existing design tokens.
  10. Directional icons match RTL.
  11. Portals, overlays and nested components have been checked.
  12. Focus states and accessible labels are preserved.
  13. User-facing text is natural Persian.
  14. Iranian-specific patterns use existing project utilities where available.

Häufig gestellte Fragen

Was macht der KI-Skill Persian Rtl Ui?

Build natural Persian RTL interfaces with React and Tailwind. Use for Persian UI, RTL layouts, component styling, forms, dashboards and converting LTR interfaces to RTL. Covers logical CSS, Persian typography, Persian numbers, Jalali dates, Iranian form patterns, accessible RTL behavior and token-based styling.

Warum Persian Rtl Ui in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Persian Rtl Ui besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Persian Rtl Ui in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/MiladJoodi/skills/tree/main/skills/persian-rtl-ui ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Persian Rtl Ui nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Persian Rtl Ui verwenden?

So viele Sie möchten. In TypingMind können Sie Persian Rtl Ui mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Persian Rtl Ui kostenlos?

Ja. Der Skill wird von MiladJoodi auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇