core-web-vitals-audit
Audits a web application for Core Web Vitals regressions. Use when the user asks to check LCP, INP or CLS, investigate a Lighthouse score drop, or review front-end performance before a release.
1284 instalaciones · v1.2.0
Audits a web interface for right-to-left layout correctness in Arabic, Hebrew, Persian or Urdu. Use when adding an RTL locale, when the user reports mirrored or broken Arabic layout, or before shipping a bilingual interface.
npx skillsify add rtl-layout-auditTraducir cadenas es la mitad fácil del soporte de árabe; el layout es la mitad que se rompe. Esta skill audita el manejo de dirección de extremo a extremo — propiedades CSS lógicas frente a físicas, qué iconos deben reflejarse y cuáles no, mantener números y código en LTR dentro de texto RTL, y las necesidades de interlineado del árabe. Prohíbe explícitamente el scaleX global que invierte el texto junto con el layout y exige probar con contenido árabe real.
---
name: rtl-layout-audit
description: Audits a web interface for right-to-left layout correctness in Arabic, Hebrew, Persian or Urdu. Use when adding an RTL locale, when the user reports mirrored or broken Arabic layout, or before shipping a bilingual interface.
---
# RTL layout audit
## When to use this
An RTL locale is being added, Arabic or Hebrew layout is reported as broken, or
a bilingual interface is about to ship.
## Procedure
1. Confirm `dir` is set on the html element and derived from the locale, not
hard-coded.
2. Grep the stylesheet for physical properties and flag every one. The complete
mapping is in [references/logical-properties.md](references/logical-properties.md).
3. Identify icons that encode direction (arrows, chevrons, undo, send) and
confirm they mirror. Icons that do NOT encode direction (search, user, close,
play) must **not** mirror.
4. Check that numbers, code, URLs and Latin identifiers stay LTR inside RTL text.
5. Verify line height — Arabic needs more leading than Latin at the same size.
## Rules
- Never mirror with a global `transform: scaleX(-1)`. It reverses text too.
- A translated string is not an RTL implementation. Layout is the work.
- Test with real Arabic content, never with lorem ipsum.# Physical to logical property map
| Physical | Logical |
| --- | --- |
| margin-left / margin-right | margin-inline-start / margin-inline-end |
| padding-left / padding-right | padding-inline-start / padding-inline-end |
| left / right | inset-inline-start / inset-inline-end |
| border-left / border-right | border-inline-start / border-inline-end |
| text-align: left / right | text-align: start / end |
| float: left / right | float: inline-start / inline-end |
Keep physical properties only where the meaning is genuinely physical — a
drop shadow offset, or a decorative element anchored to a viewport edge.
Audits a web application for Core Web Vitals regressions. Use when the user asks to check LCP, INP or CLS, investigate a Lighthouse score drop, or review front-end performance before a release.
1284 instalaciones · v1.2.0
Finds and diagnoses flaky tests in a test suite. Use when tests pass locally but fail in CI, when a suite fails intermittently, or when the user asks to stabilise or de-flake their tests.
963 instalaciones · v1.1.0
Reviews third-party dependencies for supply-chain and licence risk. Use when the user asks to audit dependencies, evaluate whether to add a package, review a lockfile diff, or check licence compatibility.
741 instalaciones · v1.0.3