Communitygithub.com

yosoyjavieruiz/shelra

OpenTUI 技能,提供基于终端的完整 UI 文档导航。

shelra 是什么?

这个技能为 AI 助手提供关于 OpenTUI 框架的全面文档导航。它通过一系列文档入口页面和意图路由表,帮助助手快速定位到与用户请求最相关的文档内容。技能支持多种平台,包括 Bun 和 Node.js,并覆盖了从入门指南、核心概念、组件、应用 API、测试调试到部署集成的全栈内容。通过路径不变性和按区域阅读顺序的约定,助手可以在大型文档集中高效导航,专注于具体的开发任务。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add yosoyjavieruiz/shelra

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

OpenTUI 技能

规范参考文档位于同级的 docs/**/*.mdx 文件中。

在 OpenTUI 仓库中,此技能根目录为 packages/web/src/content/。从仓库根目录看,相同文件位于 packages/web/src/content/docs/**/*.mdx。

路径不变性

  • /docs 映射到 docs/getting-started.mdx。
  • /docs/components 映射到 docs/components/overview.mdx。
  • 其他所有 /docs/<slug> URL 映射到相对于此技能根目录的 docs/<slug>.mdx。
  • 从仓库根目录出发,在每个源路径前添加 packages/web/src/content/。

按区域阅读顺序

  • 入门:/docs、/docs/getting-started/quickstart、/docs/getting-started/runtime-support
  • 框架:/docs/bindings/react、/docs/bindings/solid
  • 核心概念:/docs/core-concepts/renderer、/docs/core-concepts/layout、/docs/core-concepts/keyboard
  • 组件:/docs/components、/docs/components/text、/docs/components/input、/docs/components/image、/docs/components/embedded-terminal
  • 应用程序 API:/docs/core-concepts/clipboard、/docs/core-concepts/audio、/docs/application-apis/audio-streaming、/docs/application-apis/audio-capture、/docs/application-apis/animation
  • 测试与调试:/docs/core-concepts/testing、/docs/test-and-debug/troubleshooting
  • 扩展:/docs/plugins/slots、/docs/extend/runtime-plugins
  • 键位映射:/docs/keymap/overview
  • 集成:/docs/reference/ssh、/docs/reference/three、/docs/reference/qr-encoder
  • 发布:/docs/ship/deploy、/docs/reference/standalone-executables
  • 参考:/docs/reference/api-index、/docs/reference/package-entrypoints、/docs/reference/env-vars、/docs/reference/native-image

按意图快速路由

意图起始页面
getting-started、intro、examples、agent-skilldocs/getting-started.mdx
installation、quickstartdocs/getting-started/quickstart.mdx
runtime-support、bun、nodejs、native-artifacts、ffi、permissions、libc、runtime-assetsdocs/getting-started/runtime-support.mdx
react、jsx、hooks、keyboard、paste、focus、blur、selection、animation、testingdocs/bindings/react.mdx
solid、jsx、signals、hooks、keyboard、animation、testingdocs/bindings/solid.mdx
core、renderer、terminal、scrollback、lifecycledocs/core-concepts/renderer.mdx
layout、flexbox、yoga、positioningdocs/core-concepts/layout.mdx
keyboard、input、keybindings、paste、focusdocs/core-concepts/keyboard.mdx
components、component、component-support、support-matrix、react-components、solid-componentsdocs/components/overview.mdx
text、styling、content、selectiondocs/components/text.mdx
input、form、editing、focusdocs/components/input.mdx
image、image-renderable、image-display、kitty、sixeldocs/components/image.mdx
embedded-terminal、terminal-renderable、ghostty、vt、ptydocs/components/embedded-terminal.mdx
clipboard、copy、osc52、host-clipboarddocs/core-concepts/clipboard.mdx
audio、native-audio、sound、playback、mixer、devices、tapdocs/core-concepts/audio.mdx
audio-streaming、audio-stream、radio、mp3、flac、icy、backpressure、reconnectdocs/application-apis/audio-streaming.mdx
audio-capture、microphone、pcm、recording、wav、audio-recorderdocs/application-apis/audio-capture.mdx
animation、timeline、easing、use-timelinedocs/application-apis/animation.mdx
testing、test-renderer、snapshots、framesdocs/core-concepts/testing.mdx
troubleshooting、terminal-reset、ffi-errors、native-loading、runtime-plugins、protocols、test-timeoutsdocs/test-and-debug/troubleshooting.mdx
plugins、plugin、slots、registry、extensionsdocs/plugins/slots.mdx
runtime-plugins、dynamic-import、external-modules、bun-plugin、module-maps、plugin-loadingdocs/extend/runtime-plugins.mdx
keymap、keybindings、shortcuts、commands、leader、ex-commandsdocs/keymap/overview.mdx
ssh、remote-tui、ssh-server、authentication、middlewaredocs/reference/ssh.mdx
three、threejs、webgpu、3d、sprites、physicsdocs/reference/three.mdx
qr、qrcode、qr-encoder、svg-qr、gs1、eci、structured-appenddocs/reference/qr-encoder.mdx
deploy、bundle、bun-executable、nodejs-esm、node-sea、ssh-deploymentdocs/ship/deploy.mdx
standalone、executable、bun-compile、node-sea、node-assetsdocs/reference/standalone-executables.mdx
api、symbols、exports、public-api、api-index、lookupdocs/reference/api-index.mdx
package-exports、entrypoints、subpath-exports、importsdocs/reference/package-entrypoints.mdx
env、environment、configuration、flagsdocs/reference/env-vars.mdx
native-image、image-decode、png、jpeg、webp、gif、rgba、pixels、resizedocs/reference/native-image.mdx

对于组件请求,请先阅读 docs/components/overview.mdx,然后打开 docs/components/<name>.mdx。对于插件槽位详情,从 docs/plugins/slots.mdx 开始,然后打开 Core、React 或 Solid 页面。

当前技能入口页面

  • docs/getting-started.mdx
  • docs/getting-started/quickstart.mdx
  • docs/getting-started/runtime-support.mdx
  • docs/bindings/react.mdx
  • docs/bindings/solid.mdx
  • docs/core-concepts/renderer.mdx
  • docs/core-concepts/layout.mdx
  • docs/core-concepts/keyboard.mdx
  • docs/components/overview.mdx
  • docs/components/text.mdx
  • docs/components/input.mdx
  • docs/components/image.mdx
  • docs/components/embedded-terminal.mdx
  • docs/core-concepts/clipboard.mdx
  • docs/core-concepts/audio.mdx
  • docs/application-apis/audio-streaming.mdx
  • docs/application-apis/audio-capture.mdx
  • docs/application-apis/animation.mdx
  • docs/core-concepts/testing.mdx
  • docs/test-and-debug/troubleshooting.mdx
  • docs/plugins/slots.mdx
  • docs/extend/runtime-plugins.mdx
  • docs/keymap/overview.mdx
  • docs/reference/ssh.mdx
  • docs/reference/three.mdx
  • docs/reference/qr-encoder.mdx
  • docs/ship/deploy.mdx
  • docs/reference/standalone-executables.mdx
  • docs/reference/api-index.mdx
  • docs/reference/package-entrypoints.mdx
  • docs/reference/env-vars.mdx
  • docs/reference/native-image.mdx

工作规则

  • 先阅读入口页面,然后阅读针对该任务的范围更窄的规范页面。
  • 直接阅读同级的 docs/**/*.mdx 文件。不要将其中的内容复制到此文件中。
  • 在交叉引用文档时,使用规范的 /docs URL。

相关技能