Communitygithub.com

yosoyjavieruiz/ShelraCode

一個在地優先、注重隱私的終端機編碼代理。

ShelraCode 是什麼?

ShelraCode 是一個專為終端機環境設計的在地優先、注重隱私的 AI 編碼代理技能。它基於 OpenTUI Toolkit,讓您能直接在終端機中建構和執行 TUI(終端機使用者介面)。技能的核心是提供一個結構化的文件路徑系統,透過 `/docs` 下的多個 `*.mdx` 文件,涵蓋從入門、核心概念、元件、框架綁定(如 React 和 Solid)、應用程式 API(如音訊、動畫、剪貼簿)、測試除錯、擴展插件到部署與參考的完整主題。此技能特別適合需要在無需離開終端機的情況下,快速參考 OpenTUI 文件並開發終端機應用程式的開發者。它支援多種執行環境(如 Bun、Node.js)且具備可擴展的插件機制,有助於提升終端機 UI 開發的效率與隱私性。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add yosoyjavieruiz/ShelraCode

在你喜歡的 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。

相關技能