persian rtl format

    2

    Fixes scrambled RTL/LTR rendering when Claude writes Persian text mixed with English words.

    Free

    4 uses5.0 (1 review)

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    persian rtl format

    Example session with this skill installed

    Translate this to Persian: "The project-folder contains the main.ts file."

    • Read your context and instructions
    • Compiled the persian rtl format

    ‫فایل main.ts در پوشه project-folder قرار دارد.‬

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Persian text containing English words or numbers gets scrambled in desktop apps because the base direction defaults to LTR. Sentences reorder, punctuation ends up on the wrong side, and mixed-direction paragraphs become unreadable.

    What it does

    • Wraps every Persian paragraph with U+202B (RLE) and U+202C (PDF) invisible characters to force RTL rendering.
    • Handles mixed-script lines by treating English words as bare LTR islands to prevent bidi algorithm reordering.
    • Replaces standard Markdown list markers with manual RTL numbering to avoid layout breakage.
    • Applies Persian numeral formatting (۱۲۳) within RTL lines while preserving Latin digits for code.
    • Ensures no line starts with a Latin character, preventing the entire block from flipping to LTR.

    Why this beats prompting it yourself

    Manually inserting Unicode directional marks is error-prone and invisible in most editors. This skill handles the precise placement of RLE/PDF marks and manages complex bidi boundary rules that simple one-sentence prompts often ignore.

    Use cases

    • Translating technical documentation from English to Persian.
    • Writing Persian messages that include code snippets or file paths.
    • Explaining programming concepts to Persian-speaking developers.
    • Formatting Persian articles that reference English brand names or terminology.

    Requires a desktop environment that supports Unicode bidi formatting. Standard Markdown bullet points and numbered lists are replaced with manual characters to ensure stability.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    5.0
    1 review
    5
    1
    4
    0
    3
    0
    2
    0
    1
    0

    This skill has been used 4 times.

    Trust & safety

    Security scan

    Security scan passed 3 months ago

    • Free with an Agensi account

    Permissions

    No special permissions declared or detected

    Listed3 months ago

    What's inside

    Frequently Asked Questions

    This skill forces correct Right-to-Left (RTL) flow by wrapping text in specific Unicode directional marks, preventing English words or punctuation from scrambling the layout of Persian sentences.

    Yes, the skill is designed to intelligently detect and preserve Latin characters in code blocks and technical terms while ensuring the surrounding Persian narrative remains RTL.

    Simply add the skill to your AI agent's toolkit; it automatically processes the agent's output to ensure all Persian text conforms to correct bidirectional rules before it reaches your screen.

    This skill is optimized for all LLMs that support tool use (like Claude or GPT-4) and is particularly effective for desktop applications where RTL rendering often defaults to LTR.

    Purchasing gives you full access to the skill's logic for your agent, including all future updates and optimizations as bidirectional rendering standards evolve.

    New in Writing & Content

    Free