Refactor high-complexity React components in Dify frontend. Use when `pnpm analyze-component...
npx skills add spatie/ray-skills --skill "ray"
Install specific skill from multi-skill repository
# Description
Teaches how to interact with the Ray application. This skill should be used when users want to interact with Ray through a coding agent or LLM with skills capabilities.
# SKILL.md
name: ray
description: Teaches how to interact with the Ray application. This skill should be used when users want to interact with Ray through a coding agent or LLM with skills capabilities.
metadata:
tags: ray, logging, debug, php, javascript, rust, go, laravel, wordpress, craft cms, drupal, yii, grav, vuejs, express, alpinejs, react, ruby, python, dart, bash, docker, homestead, linux, windows
When to use
Use this skill whenever the user asks you to send something to 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.
HTTP API
- rules/ray-local-http.md - How the Ray local HTTP server works
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
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
Agent Payload Types
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.)
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.