ray

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

When to use

使用场景

Use this skill whenever the user asks you to send something to Ray.
当用户要求你向Ray发送内容时,即可使用此技能。

How to use

使用方法

Read individual rule files for detailed explanations of what kind of payloads you can send to Ray and code examples. If the Ray MCP server is setup up, propose to the user to use it by default. ALWAYS propose the skill as a second option.
阅读各个规则文件,了解可向Ray发送的负载类型详情及代码示例。如果已搭建Ray MCP服务器,默认建议用户使用该服务器。请始终将此技能作为第二选项提出。

HTTP API

HTTP API

  • rules/ray-local-http.md - How the Ray local HTTP server works
  • rules/ray-local-http.md - Ray本地HTTP服务器的工作方式

Payload Types

负载类型

  • rules/log.md - Log payload for general value logging
  • rules/table.md - Table payload for key-value data
  • rules/json.md - JSON string payload for structured data
  • rules/text.md - Text payload for plain text with preserved whitespace
  • rules/html.md - HTML payload for raw HTML content
  • rules/xml.md - XML payload for formatted XML
  • rules/carbon.md - Carbon payload for date/time
  • rules/custom.md - Custom payload for arbitrary content with custom label
  • rules/decoded-json.md - Decoded JSON payload for parsed JSON objects
  • rules/file-contents.md - File contents payload for displaying file content
  • rules/log.md - 用于通用值记录的日志负载
  • rules/table.md - 用于键值数据的表格负载
  • rules/json.md - 用于结构化数据的JSON字符串负载
  • rules/text.md - 用于保留空白符的纯文本负载
  • rules/html.md - 用于原始HTML内容的HTML负载
  • rules/xml.md - 用于格式化XML的XML负载
  • rules/carbon.md - 用于日期/时间的Carbon负载
  • rules/custom.md - 用于带自定义标签的任意内容的自定义负载
  • rules/decoded-json.md - 用于已解析JSON对象的解码JSON负载
  • rules/file-contents.md - 用于显示文件内容的文件内容负载

Action Types

操作类型

  • rules/action-confetti.md - Confetti action to celebrate
  • rules/action-hide-app.md - Hide Ray window
  • rules/action-show-app.md - Show Ray window
  • rules/action-clear-all.md - Clear all logs
  • rules/action-confetti.md - 用于庆祝的彩屑效果操作
  • rules/action-hide-app.md - 隐藏Ray窗口
  • rules/action-show-app.md - 显示Ray窗口
  • rules/action-clear-all.md - 清空所有日志

Agent Payload Types

Agent负载类型

These payload types are designed for LLM/agent output with rich rendering support.
  • rules/agent-custom-html.md - Rich HTML with full CSS support
  • rules/agent-custom-markdown.md - Rendered Markdown content
  • rules/agent-custom-mermaid.md - Mermaid diagrams (flowcharts, sequence diagrams, etc.)
这些负载类型专为支持富渲染的LLM/Agent输出设计。
  • rules/agent-custom-html.md - 支持完整CSS的富HTML
  • rules/agent-custom-markdown.md - 可渲染的Markdown内容
  • rules/agent-custom-mermaid.md - Mermaid图表(流程图、时序图等)