experience-lwc-rtl-validate

experience-lwc-rtl-validate is a skill for Claude Code from forcedotcom/sf-skills. It costs 197 tokens per session (2,658 once invoked), scanned A, original, Apache-2.0.

A review procedure for checking a Salesforce Lightning Web Component, a web component built with Salesforce's framework, for right-to-left languages such as Arabic and Hebrew.

In plain words
What is it for?
Auditing an LWC's HTML, JavaScript, and CSS; checking logical CSS properties, bidirectional text, keyboard behavior, and right-to-left SLDS class usage.
Why use it?
It finds layout, text-direction, keyboard, and Salesforce design-system issues that may appear when the interface is used in right-to-left locales.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the experience-lwc plugin — 12 skills shipped together

Good fit Auditing an LWC's HTML, JavaScript, and CSS; checking logical CSS properties, bidirectional text, keyboard behavior, and right-to-left SLDS class usage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/experience-lwc-rtl-validate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add forcedotcom/sf-skills --skill experience-lwc-rtl-validate
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

Made for: Claude Code.

Or install experience-lwc, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for experience-lwc-rtl-validate

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-lwc-rtl-validate/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/experience-lwc-rtl-validate)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/experience-lwc-rtl-validate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-lwc-rtl-validate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for experience-lwc-rtl-validate

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/experience-lwc-rtl-validate"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/experience-lwc-rtl-validate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 197 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 19 Aug 2026
  • Snyk warn 19 Aug 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00197 $0.02658
Opus 5 $0.00098 $0.01329
Sonnet 5 $0.00039 $0.00532
Haiku 4.5 $0.00020 $0.00266

Measured 11d ago against content hash 2eb9d3b980c4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

experience-lwc-rtl-validate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/scan-rtl-css.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/builder/experience-lwc/skills/experience-lwc-rtl-validate/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Reviewing LWC RTL

Run a structured right-to-left (RTL) internationalization compliance pass over a Lightning Web Component, producing a report of issues found and code-level fixes to bring the component into compliance with 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 release in RTL locales (Arabic, Hebrew, Farsi, 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 (use experience-lwc-generate).
  • Modifying SLDS classes themselves (use design-systems-slds-apply or design-systems-slds2-migrate).
  • Accessibility or security review — run those as separate passes with the relevant tooling.
  • Gating a fix behind a feature flag (apply feature-flag gating after fixes land).

Prerequisites

  • Component path (LWC bundle under modules/…).
  • Access to the component's HTML templates, JS/TS, and CSS.

Knowledge Base

The reference is the source of truth. Do not summarize from memory — open the reference, apply the guidelines, and cite the specific section you used in the report.

Workflow

Step 1 — Scope the review

Collect the component path and identify the files to review: .html, .js/.ts, .css, and any child components owned by the same team that are invoked from the target.

Note any existing feature-flag gates (e.g., Aura.org.rtlPhase1FixEnabled) — findings that require code changes must respect them.

Step 2 — Read the knowledge base

Read RTL Expert top-to-bottom before judging. It enumerates the physical-to-logical property mappings, bidirectional text handling patterns, and — critically — the SLDS constraints that override generic RTL advice.

Step 3 — CSS inspection

Read the full file on GitHub · 151 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 151 lines · 197 tokens per session scan A 2eb9d3b980c4

Subscribe to this mod's changes

experience-lwc-rtl-validate is a skill published in the GitHub repository forcedotcom/sf-skills (981 stars, last pushed 2d ago), licensed Apache-2.0. It adds 197 tokens to every session and 2,658 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

rtl-internationalization

Right-to-left (RTL) layout and bidirectional text support for Hebrew, Arabic, Persian, and Urdu interfaces. Use when building UI that must support RTL languages, converting physical CSS/Tailwind properties to logical ones, handling mixed-direction (bidi) text, mirroring directional icons, or testing an app with…

Mindrally/skills · 72 tokens

hebrew-rtl-best-practices

Implement right-to-left (RTL) layouts for Hebrew web applications. Use when user asks about RTL layout, Hebrew text direction, bidirectional (bidi) text, Hebrew CSS, "right to left", or needs to build a Hebrew web UI. Covers CSS logical properties, the :dir() pseudo-class, Tailwind RTL, React/Next.js RTL setup, icon…

skills-il/localization · 138 tokens

hebrew-tailwind-preset

Configure Tailwind CSS v4 for Hebrew RTL applications with dir variants, Hebrew font stacks, and logical property utilities. Use when user asks about Tailwind RTL setup, Hebrew Tailwind config, "Tailwind ivrit" (Hebrew Tailwind), RTL utility classes, logical properties in Tailwind, ms-/me- utilities, or Tailwind…

skills-il/localization · 158 tokens

css-i18n

Audit and convert CSS to use logical properties for RTL/bidirectional layout support. Use when the user asks to "make CSS RTL-safe", "use logical properties", "replace left/right with start/end", "audit CSS for i18n", "CSS internationalization", "fix CSS for RTL", "convert to logical properties", or when setting up…

globalize-now/globalize-skills · 123 tokens

hebrew-rtl-best-practices

Implement right-to-left (RTL) layouts for Hebrew web applications. Use when user asks about RTL layout, Hebrew text direction, bidirectional (bidi) text, Hebrew CSS, "right to left", or needs to build a Hebrew web UI. Covers CSS logical properties, the :dir() pseudo-class, Tailwind RTL, React/Next.js RTL setup, icon…

squadcodercom/squadcoder · 199 tokens