rtl-aware-development
하는 일
왼쪽에서 오른쪽, 오른쪽에서 왼쪽 방향 모두에서 앱과 레이아웃이 작동하도록 하는 규칙을 제공합니다. 논리적 CSS, 텍스트 분리, 아이콘 뒤집기 등을 포함합니다. 아랍어, 히브리어 같은 RTL 언어를 지원해야 하는 인터페이스를 만드는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓오른쪽에서 왼쪽으로 쓰는 언어를 지원해야 하는 레이아웃을 만들거나 검토할 때.
- ✓RTL 텍스트에서 뒤집혀야 할 left, right 값이 CSS에 있을 때.
- ✓메뉴나 목록에서 영어와 RTL 텍스트, 파일 경로가 섞여 어색하게 보일 때.
스킬 링크
https://github.com/Kilo-Org/kilocode/blob/main/.opencode/skills/rtl-aware-development/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“아랍어로 바꾸면 제 인터페이스가 깨져요. CSS를 검토하고 레이아웃이 올바르게 뒤집히도록 무엇을 고쳐야 하는지 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 문서의 방향을 확인하고, 물리적인 left, right CSS를 논리 속성으로 바꾸며, 방향이 섞인 텍스트를 분리합니다. 방향에 의미가 있는 아이콘만 뒤집고, 브랜드, 차트, 미디어 컨트롤은 그대로 둡니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
RTL-Aware Development
Treat direction as independent from language. Test English in both directions as well as real RTL and mixed-script content.
Guidelines
- Set
langanddiron the document, and propagate direction through component providers used by portaled menus and popovers. Do not change the selected locale merely to force RTL. - Keep DOM and focus order semantic. Flexbox and Grid already follow
dir; do not addrow-reverse, CSSorder, or reversed markup just to mirror a layout. - Prefer logical CSS for semantic layout. Reserve physical coordinates for pointer positions, canvas geometry, native window controls, and other genuinely physical placement.
/* Avoid */
padding-left: 12px;
right: 0;
border-right: 1px solid;
text-align: left;
/* Prefer */
padding-inline-start: 12px;
inset-inline-end: 0;
border-inline-end: 1px solid;
text-align: start;
- Isolate mixed-direction text. Use
dir="auto"or<bdi>for unknown text; keep code, URLs, IDs, and filesystem paths LTR without forcing the surrounding component LTR.
<span class="file-row"><bdi dir="auto">README.md</bdi></span> <bdi dir="ltr"><code>C:\src\app.ts</code></bdi>
- Mirror directional meaning, not every image. Back/forward, previous/next, disclosure, indentation, and directional progress may need mirroring. Do not mirror brands, clocks, media controls, charts, or text. Reverse physical gradients,
translateX, SVG transforms, and animation deltas explicitly. - Map interactions through direction.
clientXremains physical; resizing a logical edge needs an RTL-aware delta. Logical previous/next keyboard controls may swap ArrowLeft/ArrowRight. Follow the relevant WAI-ARIA widget pattern. - Do not assume LTR scrolling. RTL
scrollLeftcan start at0and become negative. PreferscrollIntoView({ inline: "nearest" })or a tested direction-normalizing helper. - For Electron title bars, prefer native caption controls and use
titleBarOverlayplusenv(titlebar-area-*)for the safe content rectangle. Keep Windows/macOS native-control avoidance andtrafficLightPositionphysical; keep app navigation inside that rectangle logical. Mark interactive titlebar childrenapp-region: no-drag. - Verify behavior, not screenshots alone. Check computed styles, pseudo-element geometry, hit zones, focus order, keyboard behavior, submenu direction, zoom/scaling, and both LTR and RTL scroll endpoints.
Test Matrix
- English + LTR
- English + forced RTL
- A real RTL locale + RTL
- Mixed RTL/LTR content, long labels, numbers, code, and paths
- Keyboard, pointer resize, scrolling, menus/submenus, and Electron titlebar controls in both directions
References
- RTL Styling 101, Ahmad Shadeed
- CSS-Tricks: RTL Styling 101
- CSS-Tricks: CSS Logical Properties and Values
- W3C: Structural markup and right-to-left text
- W3C: Inline bidirectional markup
- MDN: CSS logical properties and values
- MDN:
dir - MDN:
scrollLeft - web.dev: Logical properties
- Electron: Custom title bar
- WAI-ARIA: Window splitter pattern
- Kobalte: I18n Provider
자주 묻는 질문
논리적 CSS란 무엇인가요?
left, right 대신 start, end를 사용해 오른쪽에서 왼쪽으로 쓰는 텍스트에서도 레이아웃이 자동으로 뒤집히게 하는 방식입니다.
모든 아이콘을 뒤집어야 하나요?
아닙니다. 뒤로 가기나 다음처럼 방향의 의미가 있는 아이콘만 뒤집습니다.
섞인 텍스트는 어떻게 처리하나요?
방향을 알 수 없는 텍스트에는 dir 속성이나 bdi 태그를 붙이고, 코드, URL, 경로는 왼쪽에서 오른쪽으로 유지합니다.
상세 정보
작성자의 원본 설명
OpenCode Desktop should be RTL-aware. Use when implementing or reviewing RTL/LTR behavior in the web app, desktop app, CSS, menus, scrolling, resizing, icons, mixed-direction text, or Electron title bars.
repo: Kilo-Org/kilocode
인기도
- GitHub 스타
- 28k
- 순위
- #9875
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
chart
28k에이전트가 차트를 요청하면 데이터를 렌더링하는 차트 도구를 사용해 막대, 선, 원, 산점도 등의 차트를 그리도록 돕습니다.
jetbrains-sandbox
28k에이전트가 Linux 클라우드 샌드박스에 IntelliJ를 설치하고, 검사나 자동화를 위해 IDE를 조작할 수 있는 브라우저 화면과 도구를 제공하도록 돕습니다.
effect
28k에이전트가 최신 v4 API를 사용해 타입이 있는 서비스, 스키마, 워크플로를 갖춘 Effect 기반 TypeScript 코드를 작성하도록 가르칩니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.