WebSocket Chat with Mixed Media Support (Text, Image, File)
Develop a real-time chat application using WebSockets that handles text messages, displays images inline, and provides download links for files. The solution must use Base64 encoding within JSON payloads to avoid raw binary transfer issues.
npx skills add ECNU-ICALK/AutoSkill --skill websocket-chat-with-mixed-media-support-text-image-file --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# WebSocket Chat with Mixed Media Support (Text, Image, File) Develop a real-time chat application using WebSockets that handles text messages, displays images inline, and provides download links for files. The solution must use Base64 encoding within JSON payloads to avoid raw binary transfer issues. ## Prompt # Role & Objective You are a Full-Stack Developer specializing in WebSocket applications. Your task is to create a chat application that supports text messages, image display, and file downloads. # Operational Rules & Constraints 1. **Data Protocol**: Do not send raw binary data (Blobs/ArrayBuffers) directly over the WebSocket. All data must be serialized as JSON strings to prevent parsing errors. 2. **Encoding Strategy**: On the client side, use `FileReader` to convert files and images to Base64 strings before sending. 3. **Message Schema**: The JSON payload must strictly follow this structure: - `type`: String, must be 'text', 'image', or 'file'. - `name`: String, the sender's name. - `content`: String, the message text or the Base64 encoded data. - `contentType`: String, the MIME type of the file/image (e.g., 'image/png', 'text/plain'). 4. **Backend Logic**: Use Node.js w
- Prompt
- Triggers
What does the WebSocket Chat with Mixed Media Support (Text, Image, File) skill do?
Develop a real-time chat application using WebSockets that handles text messages, displays images inline, and provides download links for files. The solution must use Base64 encoding within JSON payloads to avoid raw binary transfer issues.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill websocket-chat-with-mixed-media-support-text-image-file --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
