Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Salesforce LWC RTL review

Reviews a Lightning Web Component for right to left layout bugs, so Arabic and Hebrew users see it correctly.

What we improved

Removed Salesforce internal details: the `Aura.org.rtlPhase1FixEnabled` flag, the internal `modules/…` component path (replaced with the standard SFDX `force-app/main/default/lwc/<name>/` layout), the ADK management marker, the internal sou

Improved by YourAISkill from the original by forcedotcom, under its Apache-2.0 licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Focused LWC RTL review with a flag/do-not-flag table, a scanner script and the non-obvious SLDS rules that generic RTL advice gets wrong.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Use this skill to review a Lightning Web Component (.html, .js, .css files) for right-to-left (RTL) internationalization correctness, producing a finding list with code-level fixes covering CSS logical properties, bidirectional text handling, keyboard semantics, and RTL-aware SLDS class usage. TRIGGER when the user says "review this LWC for RTL", "audit i18n compliance", "fix bidirectional text rendering", "replace left/right CSS with logical properties", "check RTL layout issues", "verify SLDS RTL classes", "review my component for Arabic/Hebrew layout", "ensure this LWC works in RTL locales", or "check bidi text handling". DO NOT TRIGGER when the user is building a new LWC (use experience-lwc-generate), refactoring SLDS classes themselves (use design-systems-slds-apply or design-systems-slds2-migrate), or performing accessibility/security review.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: experience-lwc-rtl-validate
description: "Review a Salesforce Lightning Web Component (.html, .js/.ts, .css) for right-to-left (RTL) correctness and produce a line-by-line finding list with code fixes: CSS logical properties instead of left/right, asymmetric shorthands and corner radii, transforms and arrows that need :dir(rtl) overrides, hard-coded dir attributes and bidi isolation, arrow-key handling, and JavaScript geometry. Applies the SLDS rules that generic RTL advice gets wrong: SLDS _left/_right utility classes and lightning-icon already mirror, and _start/_end class names do not exist. Includes a scanner script for CSS, inline styles and JS candidates. Use when the user asks to review or fix an LWC for RTL, Arabic, Hebrew, Persian or Urdu layout, bidirectional text, i18n layout issues, or to replace left/right CSS with logical properties. Not for building new components, restyling or migrating SLDS itself, or accessibility and security reviews."
metadata:
  version: "1.0"
  domains: ["Experience"]
  cliTools:
    - tool: ["python3"]
      semver: ">=3.8"
---

<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by forcedotcom. See CHANGES.md. -->

# Reviewing LWC RTL

Run a structured right-to-left (RTL) internationalization pass over a Lightning Web Component and produce a report of issues with code-level fixes, following Salesforce RTL guidelines.

## When to Use

- The user asks for an RTL review, i18n check, RTL compliance pass or RTL audit on a specific LWC.
- Preparing a component for users whose language is RTL (Arabic, Hebrew, Persian, Urdu).
- Investigating layout defects reported in RTL environments.
- Verifying SLDS class usage after a CSS refactor.

Do NOT use this skill for building new components, changing SLDS classes themselves, or accessibility and security reviews (run those as separate passes).

## How the platform handles RTL (context for every judgment)

- Salesforce sets the page direction from the user's language. Components should inherit it, not force it.
- SLDS ships RTL-aware styles, including its `_left` / `_right` utility classes, and Lightning base components (including `lightning-icon`) mirror themselves.
- What breaks is **custom code**: physical CSS (`margin-left`, `left`, `text-align: right`), transforms and arrow glyphs, hard-coded `dir`, and JavaScript that assumes left is the start.
- In LWC JavaScript, read the user's direction with `import dir from '@salesforce/i18n/dir';` (`'ltr'` or `'rtl'`). In LWC CSS, write direction-specific overrides with `:dir(rtl)`. A descendant selector such as `[dir="rtl"] .x` may not match across the component's shadow boundary, so verify any you keep in an RTL session.

## Inputs

- The component bundle folder (in an SFDX project, usually `force-app/main/default/lwc/<componentName>/`).
- Its HTML templates, JS/TS and CSS, plus child components owned by the same team that it renders.

## Knowledge Base

...

From forcedotcom's repository, Apache-2.0 licence.

Related skills

  • Checked

    Salesforce custom objects

    Writes and fixes Salesforce custom object XML with the right sharing and rules, so it deploys first time.

    by forcedotcom 1.2k
    8/101 credit
  • Checked

    Salesforce custom apps

    Creates Salesforce custom apps with tabs, navigation, branding and utility bars that deploy cleanly.

    by forcedotcom 1.2k
    7/101 credit
  • Checked

    Salesforce custom metadata types

    Creates and validates Salesforce custom metadata types, fields and records, so your config deploys without errors.

    by forcedotcom 1.2k
    8/101 credit
  • Checked

    Salesforce Custom Report Types

    Builds Salesforce custom report types with the right joins and fields, so cross-object reports deploy first time.

    by forcedotcom 1.2k
    7/101 credit
  • Checked

    Salesforce field forms

    Builds Salesforce Data Capture Flows for Field Service mobile forms, so technicians capture data offline.

    by forcedotcom 1.2k
    7/101 credit
  • Checked

    Salesforce picklist value sets

    Creates global and standard Salesforce value sets without wiping existing values, so picklists deploy cleanly.

    by forcedotcom 1.2k
    8/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added