Skills Plugins MCP Prompt Model 博客 我的中心

rtl-aware-development

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.

DeepseekModel 官方收录技能 ★ 精选 质量 优秀 · 90 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=anomalyco-opencode-opencode-skills-rtl-aware-development-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name rtl-aware-development description 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. 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 lang and dir on 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 add row-reverse , CSS order , 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. clientX remains 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 scrollLeft can start at 0 and become negative. Prefer scrollIntoView({ inline: "nearest" }) or a tested direction-normalizing helper. For Electron title bars, prefer native caption controls and use titleBarOverlay plus env(titlebar-area-*) for the safe content rectangle. Keep Windows/macOS native-control avoidance and trafficLightPosition physical; keep app navigation inside that rectangle logical. Mark interactive titlebar children app-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
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。