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-skill | docs/getting-started.mdx |
installation,quickstart | docs/getting-started/quickstart.mdx |
runtime-support,bun,nodejs,native-artifacts,ffi,permissions,libc,runtime-assets | docs/getting-started/runtime-support.mdx |
react,jsx,hooks,keyboard,paste,focus,blur,selection,animation,testing | docs/bindings/react.mdx |
solid,jsx,signals,hooks,keyboard,animation,testing | docs/bindings/solid.mdx |
core,renderer,terminal,scrollback,lifecycle | docs/core-concepts/renderer.mdx |
layout,flexbox,yoga,positioning | docs/core-concepts/layout.mdx |
keyboard,input,keybindings,paste,focus | docs/core-concepts/keyboard.mdx |
components,component,component-support,support-matrix,react-components,solid-components | docs/components/overview.mdx |
text,styling,content,selection | docs/components/text.mdx |
input,form,editing,focus | docs/components/input.mdx |
image,image-renderable,image-display,kitty,sixel | docs/components/image.mdx |
embedded-terminal,terminal-renderable,ghostty,vt,pty | docs/components/embedded-terminal.mdx |
clipboard,copy,osc52,host-clipboard | docs/core-concepts/clipboard.mdx |
audio,native-audio,sound,playback,mixer,devices,tap | docs/core-concepts/audio.mdx |
audio-streaming,audio-stream,radio,mp3,flac,icy,backpressure,reconnect | docs/application-apis/audio-streaming.mdx |
audio-capture,microphone,pcm,recording,wav,audio-recorder | docs/application-apis/audio-capture.mdx |
animation,timeline,easing,use-timeline | docs/application-apis/animation.mdx |
testing,test-renderer,snapshots,frames | docs/core-concepts/testing.mdx |
troubleshooting,terminal-reset,ffi-errors,native-loading,runtime-plugins,protocols,test-timeouts | docs/test-and-debug/troubleshooting.mdx |
plugins,plugin,slots,registry,extensions | docs/plugins/slots.mdx |
runtime-plugins,dynamic-import,external-modules,bun-plugin,module-maps,plugin-loading | docs/extend/runtime-plugins.mdx |
keymap,keybindings,shortcuts,commands,leader,ex-commands | docs/keymap/overview.mdx |
ssh,remote-tui,ssh-server,authentication,middleware | docs/reference/ssh.mdx |
three,threejs,webgpu,3d,sprites,physics | docs/reference/three.mdx |
qr,qrcode,qr-encoder,svg-qr,gs1,eci,structured-append | docs/reference/qr-encoder.mdx |
deploy,bundle,bun-executable,nodejs-esm,node-sea,ssh-deployment | docs/ship/deploy.mdx |
standalone,executable,bun-compile,node-sea,node-assets | docs/reference/standalone-executables.mdx |
api,symbols,exports,public-api,api-index,lookup | docs/reference/api-index.mdx |
package-exports,entrypoints,subpath-exports,imports | docs/reference/package-entrypoints.mdx |
env,environment,configuration,flags | docs/reference/env-vars.mdx |
native-image,image-decode,png,jpeg,webp,gif,rgba,pixels,resize | docs/reference/native-image.mdx |
對於元件請求,請先閱讀 docs/components/overview.mdx,然後開啟 docs/components/<name>.mdx。對於外掛插槽詳細資訊,請從 docs/plugins/slots.mdx 開始,然後開啟 Core、React 或 Solid 頁面。
目前的技能入口頁面
docs/getting-started.mdxdocs/getting-started/quickstart.mdxdocs/getting-started/runtime-support.mdxdocs/bindings/react.mdxdocs/bindings/solid.mdxdocs/core-concepts/renderer.mdxdocs/core-concepts/layout.mdxdocs/core-concepts/keyboard.mdxdocs/components/overview.mdxdocs/components/text.mdxdocs/components/input.mdxdocs/components/image.mdxdocs/components/embedded-terminal.mdxdocs/core-concepts/clipboard.mdxdocs/core-concepts/audio.mdxdocs/application-apis/audio-streaming.mdxdocs/application-apis/audio-capture.mdxdocs/application-apis/animation.mdxdocs/core-concepts/testing.mdxdocs/test-and-debug/troubleshooting.mdxdocs/plugins/slots.mdxdocs/extend/runtime-plugins.mdxdocs/keymap/overview.mdxdocs/reference/ssh.mdxdocs/reference/three.mdxdocs/reference/qr-encoder.mdxdocs/ship/deploy.mdxdocs/reference/standalone-executables.mdxdocs/reference/api-index.mdxdocs/reference/package-entrypoints.mdxdocs/reference/env-vars.mdxdocs/reference/native-image.mdx
工作規則
- 先閱讀入口頁面,然後閱讀任務所需的較狹義的規範頁面。
- 直接閱讀同層的
docs/**/*.mdx檔案。請勿將其內容複製到這個檔案中。 - 在交叉引用文件時,請使用規範的
/docsURL。