realtime

📁 sailscastshq/boring-stack 📅 1 day ago
1
总安装量
1
周安装量
#47549
全站排名
安装命令
npx skills add https://github.com/sailscastshq/boring-stack --skill realtime

Agent 安装分布

amp 1
opencode 1
kimi-cli 1
codex 1
github-copilot 1
claude-code 1

Skill 文档

Realtime — WebSocket Communication

Sails provides two tiers of realtime support via sails-hook-sockets: low-level room-based messaging (sails.sockets) and high-level model-centric notifications (Resourceful PubSub). Both use Socket.IO under the hood and integrate seamlessly with Sails’ request lifecycle.

When to Use

Use this skill when:

  • Building chat, messaging, or collaborative features
  • Sending live notifications to specific users or groups
  • Broadcasting model changes (created, updated, destroyed) to subscribers
  • Tracking online presence or user status
  • Creating live dashboards with auto-updating data
  • Configuring WebSocket security, Redis adapters, or multi-server deployment
  • Integrating sails.io.js with React, Vue, or Svelte frontends

Rules

Read individual rule files for detailed explanations and code examples: