[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DNFME2ACP8MHR663PDYFXV":3,"skill-same:01M7DNFME2ACP8MHR663PDYFXV":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7DNFME2ACP8MHR663PDYFXV","rtl-aware-development",null,"OpenCode Desktop should be RTL-aware. Use when implementing or reviewing RTL\u002FLTR behavior in the web app, desktop app, CSS, menus, scrolling, resizing, icons, mixed-direction text, or Electron title bars.","DragonBallerZ\u002Fdragon-ide","DragonBallerZ","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F199459338?v=4","01M7DN83GSDPNQH3ACEV21SKTQ","Z McDragon","01M7DN83HDR4KMJAMTCB5S4DCJ",12,"MIT","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fopencode\u002F.opencode\u002Fskills\u002Frtl-aware-development\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: rtl-aware-development\ndescription: OpenCode Desktop should be RTL-aware. Use when implementing or reviewing RTL\u002FLTR behavior in the web app, desktop app, CSS, menus, scrolling, resizing, icons, mixed-direction text, or Electron title bars.\n---\n\n# RTL-Aware Development\n\nTreat direction as independent from language. Test English in both directions as well as real RTL and mixed-script content.\n\n## Guidelines\n\n- 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.\n- 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.\n- Prefer logical CSS for semantic layout. Reserve physical coordinates for pointer positions, canvas geometry, native window controls, and other genuinely physical placement.\n\n```css\n\u002F* Avoid *\u002F\npadding-left: 12px;\nright: 0;\nborder-right: 1px solid;\ntext-align: left;\n\n\u002F* Prefer *\u002F\npadding-inline-start: 12px;\ninset-inline-end: 0;\nborder-inline-end: 1px solid;\ntext-align: start;\n```\n\n- Isolate mixed-direction text. Use `dir=\"auto\"` or `\u003Cbdi>` for unknown text; keep code, URLs, IDs, and filesystem paths LTR without forcing the surrounding component LTR.\n\n```html\n\u003Cspan class=\"file-row\">\u003Cbdi dir=\"auto\">README.md\u003C\u002Fbdi>\u003C\u002Fspan> \u003Cbdi dir=\"ltr\">\u003Ccode>C:\\src\\app.ts\u003C\u002Fcode>\u003C\u002Fbdi>\n```\n\n- Mirror directional meaning, not every image. Back\u002Fforward, previous\u002Fnext, 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.\n- Map interactions through direction. `clientX` remains physical; resizing a logical edge needs an RTL-aware delta. Logical previous\u002Fnext keyboard controls may swap ArrowLeft\u002FArrowRight. Follow the relevant WAI-ARIA widget pattern.\n- Do not assume LTR scrolling. RTL `scrollLeft` can start at `0` and become negative. Prefer `scrollIntoView({ inline: \"nearest\" })` or a tested direction-normalizing helper.\n- For Electron title bars, prefer native caption controls and use `titleBarOverlay` plus `env(titlebar-area-*)` for the safe content rectangle. Keep Windows\u002FmacOS native-control avoidance and `trafficLightPosition` physical; keep app navigation inside that rectangle logical. Mark interactive titlebar children `app-region: no-drag`.\n- Verify behavior, not screenshots alone. Check computed styles, pseudo-element geometry, hit zones, focus order, keyboard behavior, submenu direction, zoom\u002Fscaling, and both LTR and RTL scroll endpoints.\n\n## Test Matrix\n\n- English + LTR\n- English + forced RTL\n- A real RTL locale + RTL\n- Mixed RTL\u002FLTR content, long labels, numbers, code, and paths\n- Keyboard, pointer resize, scrolling, menus\u002Fsubmenus, and Electron titlebar controls in both directions\n\n## References\n\n- [RTL Styling 101, Ahmad Shadeed](https:\u002F\u002Frtlstyling.com\u002Fposts\u002Frtl-styling\u002F)\n- [CSS-Tricks: RTL Styling 101](https:\u002F\u002Fcss-tricks.com\u002Frtl-styling-101\u002F)\n- [CSS-Tricks: CSS Logical Properties and Values](https:\u002F\u002Fcss-tricks.com\u002Fcss-logical-properties-and-values\u002F)\n- [W3C: Structural markup and right-to-left text](https:\u002F\u002Fwww.w3.org\u002FInternational\u002Fquestions\u002Fqa-html-dir)\n- [W3C: Inline bidirectional markup](https:\u002F\u002Fwww.w3.org\u002FInternational\u002Farticles\u002Finline-bidi-markup\u002F)\n- [MDN: CSS logical properties and values](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FCSS\u002FGuides\u002FLogical_properties_and_values)\n- [MDN: `dir`](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FHTML\u002FReference\u002FGlobal_attributes\u002Fdir)\n- [MDN: `scrollLeft`](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FAPI\u002FElement\u002FscrollLeft)\n- [web.dev: Logical properties](https:\u002F\u002Fweb.dev\u002Flearn\u002Fcss\u002Flogical-properties\u002F)\n- [Electron: Custom title bar](https:\u002F\u002Fwww.electronjs.org\u002Fdocs\u002Flatest\u002Ftutorial\u002Fcustom-title-bar)\n- [WAI-ARIA: Window splitter pattern](https:\u002F\u002Fwww.w3.org\u002FWAI\u002FARIA\u002Fapg\u002Fpatterns\u002Fwindowsplitter\u002F)\n- [Kobalte: I18n Provider](https:\u002F\u002Fkobalte.dev\u002Fdocs\u002Fcore\u002Fcomponents\u002Fi18n-provider\u002F)\n","# RTL-Aware Development\n\nTreat direction as independent from language. Test English in both directions as well as real RTL and mixed-script content.\n\n## Guidelines\n\n- 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.\n- 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.\n- Prefer logical CSS for semantic layout. Reserve physical coordinates for pointer positions, canvas geometry, native window controls, and other genuinely physical placement.\n\n```css\n\u002F* Avoid *\u002F\npadding-left: 12px;\nright: 0;\nborder-right: 1px solid;\ntext-align: left;\n\n\u002F* Prefer *\u002F\npadding-inline-start: 12px;\ninset-inline-end: 0;\nborder-inline-end: 1px solid;\ntext-align: start;\n```\n\n- Isolate mixed-direction text. Use `dir=\"auto\"` or `\u003Cbdi>` for unknown text; keep code, URLs, IDs, and filesystem paths LTR without forcing the surrounding component LTR.\n\n```html\n\u003Cspan class=\"file-row\">\u003Cbdi dir=\"auto\">README.md\u003C\u002Fbdi>\u003C\u002Fspan> \u003Cbdi dir=\"ltr\">\u003Ccode>C:\\src\\app.ts\u003C\u002Fcode>\u003C\u002Fbdi>\n```\n\n- Mirror directional meaning, not every image. Back\u002Fforward, previous\u002Fnext, 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.\n- Map interactions through direction. `clientX` remains physical; resizing a logical edge needs an RTL-aware delta. Logical previous\u002Fnext keyboard controls may swap ArrowLeft\u002FArrowRight. Follow the relevant WAI-ARIA widget pattern.\n- Do not assume LTR scrolling. RTL `scrollLeft` can start at `0` and become negative. Prefer `scrollIntoView({ inline: \"nearest\" })` or a tested direction-normalizing helper.\n- For Electron title bars, prefer native caption controls and use `titleBarOverlay` plus `env(titlebar-area-*)` for the safe content rectangle. Keep Windows\u002FmacOS native-control avoidance and `trafficLightPosition` physical; keep app navigation inside that rectangle logical. Mark interactive titlebar children `app-region: no-drag`.\n- Verify behavior, not screenshots alone. Check computed styles, pseudo-element geometry, hit zones, focus order, keyboard behavior, submenu direction, zoom\u002Fscaling, and both LTR and RTL scroll endpoints.\n\n## Test Matrix\n\n- English + LTR\n- English + forced RTL\n- A real RTL locale + RTL\n- Mixed RTL\u002FLTR content, long labels, numbers, code, and paths\n- Keyboard, pointer resize, scrolling, menus\u002Fsubmenus, and Electron titlebar controls in both directions\n\n## References\n\n- [RTL Styling 101, Ahmad Shadeed](https:\u002F\u002Frtlstyling.com\u002Fposts\u002Frtl-styling\u002F)\n- [CSS-Tricks: RTL Styling 101](https:\u002F\u002Fcss-tricks.com\u002Frtl-styling-101\u002F)\n- [CSS-Tricks: CSS Logical Properties and Values](https:\u002F\u002Fcss-tricks.com\u002Fcss-logical-properties-and-values\u002F)\n- [W3C: Structural markup and right-to-left text](https:\u002F\u002Fwww.w3.org\u002FInternational\u002Fquestions\u002Fqa-html-dir)\n- [W3C: Inline bidirectional markup](https:\u002F\u002Fwww.w3.org\u002FInternational\u002Farticles\u002Finline-bidi-markup\u002F)\n- [MDN: CSS logical properties and values](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FCSS\u002FGuides\u002FLogical_properties_and_values)\n- [MDN: `dir`](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FHTML\u002FReference\u002FGlobal_attributes\u002Fdir)\n- [MDN: `scrollLeft`](https:\u002F\u002Fdeveloper.mozilla.org\u002Fen-US\u002Fdocs\u002FWeb\u002FAPI\u002FElement\u002FscrollLeft)\n- [web.dev: Logical properties](https:\u002F\u002Fweb.dev\u002Flearn\u002Fcss\u002Flogical-properties\u002F)\n- [Electron: Custom title bar](https:\u002F\u002Fwww.electronjs.org\u002Fdocs\u002Flatest\u002Ftutorial\u002Fcustom-title-bar)\n- [WAI-ARIA: Window splitter pattern](https:\u002F\u002Fwww.w3.org\u002FWAI\u002FARIA\u002Fapg\u002Fpatterns\u002Fwindowsplitter\u002F)\n- [Kobalte: I18n Provider](https:\u002F\u002Fkobalte.dev\u002Fdocs\u002Fcore\u002Fcomponents\u002Fi18n-provider\u002F)\n",{"name":5,"description":7},"main","af285532414d1fa855b4360d86103c12253e6f2f","opencode\u002F.opencode\u002Fskills\u002Frtl-aware-development",0,"https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide","https:\u002F\u002Fgithub.com\u002FDragonBallerZ","https:\u002F\u002Fwww.velloralabs.com","Building Dangerously Disruptive Technology. ","2026-10-23 14:19:51",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add DragonBallerZ\u002Fdragon-ide --skill rtl-aware-development",{"tool":39,"command":40},"bunx","bunx skills add DragonBallerZ\u002Fdragon-ide --skill rtl-aware-development",{"tool":42,"command":43},"pnpm","pnpm dlx skills add DragonBallerZ\u002Fdragon-ide --skill rtl-aware-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fopencode\u002F.opencode\u002Fskills\u002Frtl-aware-development\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M7DNGQPVJGHW226R8PS3R31F","update-skills","Create or update repository skills and instructions when major learnings are discovered during a session. Use when the user says \"learn!\", when a significant pattern or pitfall is identified, or when reusable domain knowledge should be captured for future sessions.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-skills\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7DNGP5XJWV3CG63DVS6NR8Y","update-pr","Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fupdate-pr\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7DNGJEMNJZR24NBJ7MF5V8R","troubleshoot","Investigate unexpected behavior in the current Copilot agent session by analyzing its event log. Use when the user asks why something happened, why a request was slow, why a tool was or was not used, or why instructions\u002Fskills\u002Fagents did not load.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Ftroubleshoot\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7DNGFVCVMFN5J4ZKV27CDR1","sync","Sync the current session branch with its upstream branch, or publish the current session branch to a remote. Use when the user asks to sync a branch, pull latest changes, rebase onto upstream, push current branch, publish branch, or set upstream.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7DNGC9GE8EKQED3ZR3KAJ0K","sync-upstream","Update a stale session branch by rebasing onto the latest origin. Use when the upstream has moved significantly and the session needs to catch up, resolving conflicts by preserving upstream changes and adapting session work to fit.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fsync-upstream\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7DNG9NJNG1QPJB6C3GFDHVS","merge","Merge changes from the topic branch to the merge base branch. Use when the user wants to merge their session's work back to the base branch.","https:\u002F\u002Fgithub.com\u002FDragonBallerZ\u002Fdragon-ide\u002Fblob\u002Fmain\u002Fsrc\u002Fvs\u002Fsessions\u002Fskills\u002Fmerge\u002FSKILL.md",[],[]]