Index of every page on this site: llms.txt
All skills
Run it yourself

Use when applying right-to-left script and bidirectional UI rules for Arabic, Hebrew, Persian, Urdu, or mixed RTL/LTR product content.

Use this Skill: https://skilld.dev/gh/brunomiguens/translating-products-skill/translating-rtl

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈38 tokens for metadata: the name and description. ≈1.3k when used: this file.

Description uses 1.9% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈152 characters, or 1.9%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Translating RTL

Overview

Revise and validate script direction, layout, and bidirectional behavior after translating-core drafts the copy. Preserve meaning, glossary decisions, placeholders, markup, identifiers, and protected values exactly.

This skill owns RTL mechanics. It does not own Arabic, Hebrew, Persian, Urdu, or other language wording. Route wording and grammar to the installed language specialist.

Capabilities

  • script:rtl
  • bidi
  • mirroring
  • mixed-direction

Entry Contract

Require the approved project context, core draft, product surface, and an explicit target locale or variant. A script name such as “Arabic” is not a locale. If the locale is missing, return one focused question through the orchestrator and withhold target copy.

Use project context, glossary, protected terms, and pinned knowledge first. Research only a specific unresolved current platform behavior or market convention; record the source and decision through the orchestrator. Never browse for routine grammar or every string, and never install or download another skill at runtime.

Inspect Directional Runs

For each string, identify:

  • the base paragraph direction and every embedded LTR run: names, product terms, URLs, email, code, reference IDs, versions, and measurements
  • placeholders and runtime values, including numeral system, decimal/grouping rules, currency ownership, and expected examples
  • punctuation at run boundaries and whether copying, selection, speech, or search must preserve the raw value
  • the rendering surface and its native isolation, formatting, accessibility, and layout primitives

Do not change words, currency placement, punctuation style, or numeral conventions as a script-level “fix.” Return linguistic questions to the relevant language specialist.

Apply Mechanics

  • Use the locale or content to establish base direction. Do not reverse strings or reorder source data manually.
  • Isolate embedded runs with the surface's semantic or native mechanism, such as <bdi> for user-supplied web text. Preserve the underlying value.
  • Prefer locale-aware number and currency formatting. Treat an opaque identifier as verbatim data, not a number to localize.
  • Use logical start/end properties for spacing, alignment, constraints, and positioning.
  • Mirror only directional meaning: navigation arrows, progress, or movement when the interaction reverses. Do not mirror logos, text, media controls, clocks, maps, charts, or culturally fixed symbols without product evidence.
  • Keep visible and spoken values consistent. Give decorative directional icons no duplicate accessible name; verify reading and focus order separately from visual order.
  • Add Unicode directional controls only when a reproduced ordering defect remains after native semantics are applied and the exact control boundary is justified. Record code points, reason, surface, and copy/paste result. Never add controls by guesswork or hide them inside approved wording.

Product UI and Long Form

For product UI, test compact labels, icons, lists, forms, tables, selection, truncation, focus movement, and responsive or device layouts. Keep actions and state understandable without relying on visual placement alone.

For long-form content, preserve paragraph direction, headings, lists, quotations, code blocks, links, footnotes, and inline LTR spans. Avoid wrapping an entire document in a direction override when blocks have distinct semantics.

Common Literal and Layout Failures

  • reversing characters or arrays to make text “look RTL”
  • translating or reformatting IDs, URLs, placeholders, or protected product terms
  • mirroring every icon or failing to mirror directional navigation
  • forcing Arabic or Hebrew wording changes during the mechanics pass
  • using physical left/right properties where logical start/end expresses intent
  • inserting directional marks pre-emptively, causing invisible copy/paste or maintenance defects
  • assuming visual order proves screen-reader, keyboard, or focus order

QA Handoff

Pass the annotated runs, chosen isolation mechanisms, unchanged core draft, surfaces, and evidence to reviewing-translations. Verify:

  • placeholders, glossary decisions, protected values, links, code, and raw copied identifiers are unchanged
  • mixed names, numerals, currency, punctuation, URLs, and IDs render in the intended order at wrap boundaries
  • only directionally meaningful assets mirror and layout uses logical start/end behavior
  • keyboard, selection, copy/paste, screen-reader reading order, announcements, and focus order remain coherent
  • narrow and wide screens, text scaling, supported browsers, operating systems, and representative devices expose no clipping or reordered content
  • any directional controls have a reproduced defect, explicit code-point inventory, and before/after device evidence

Block the affected segment on unresolved mixed-run order, corrupted raw values, unjustified controls, incorrect mirroring, inaccessible focus/reading order, or a wording change introduced by this skill. Route the smallest failure to the responsible surface or language specialist; do not regenerate unrelated copy.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a specialized guide for handling Right-to-Left (RTL) and bidirectional text formatting. It maintains a secure posture by explicitly prohibiting the installation of external components at runtime and limiting research activities. No malicious code, obfuscation, or unauthorized data access patterns were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at b1810d5. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 4 months ago

README badge

README badge for brunomiguens/translating-products-skill/translating-rtl