chat-system

Manage in-world chat with MVP architecture, message bus decorators, and encrypted history.

23|17|Updated Apr 16, 2023
One-click install
npx skills add https://github.com/decentraland/unity-explorer --skill chat-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chat-system
Source: https://github.com/decentraland/unity-explorer/tree/main/.claude/skills/chat-system
Command: npx skills add https://github.com/decentraland/unity-explorer --skill chat-system

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a robust and extensible chat system for in-world communication, addressing challenges like message delivery, command execution, user interaction, and data persistence.

Core Features & Use Cases

  • MVP Architecture: Organizes chat functionality into View, Presenter, and Model layers for maintainability.
  • Message Bus Decorators: Allows for modular enhancement of message processing (e.g., self-resend, command handling, symbol filtering).
  • Command Pattern: Enables easy addition of new chat commands for in-game actions.
  • State Machine: Manages UI states for a more intuitive user experience.
  • Auto-Translation: Integrates with external services to translate messages in real-time.
  • Encrypted History: Persists chat history securely on the user's local device.

Quick Start

Use the chat-system skill to send a message to the current channel.

Frequently Asked Questions about chat-system

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a real-time chat system with command execution and UI state management?

Build a real-time chat system using MVP architecture to separate UI logic, a message bus decorator chain for processing, and a state machine for UI control. This structure handles command execution, message delivery, and user interaction within a virtual environment.

How does the message bus decorator chain handle in-game chat commands?

The message bus decorator chain processes in-game chat commands modularly by passing messages through layers like self-resend, command handling, and symbol filtering. The command pattern allows you to easily add new in-game actions triggered by chat input.

Can I automatically translate chat messages in real-time within a virtual environment?

Yes, you can automatically translate chat messages in real-time by integrating the communication system with external translation services. This auto-translation capability ensures users speaking different languages can communicate seamlessly in-world.

Does this chat system support encrypted local chat history persistence?

Yes, the chat system supports encrypted local chat history persistence. It securely stores message data on the user's local device, ensuring that past communications are persisted safely and remain protected.

What is the best way to organize code for a virtual world communication system?

The best way to organize a virtual world communication system is using MVP architecture, splitting functionality into View, Presenter, and Model layers. This maintains separation of concerns between message delivery, UI states, and data persistence.