All skills

WebSocket and realtime communication with sails-hook-sockets for Sails.js applications. Use this skill when building chat, notifications, live updates, presence tracking, or any feature that requires persistent bidirectional communication between server and client.

Use this Skill: https://skilld.dev/gh/sailscastshq/boring-stack/realtime

This session only. Nothing lands on disk.

SKILL.md

≈69 tokens always: the name and description. ≈375 when used: this file. ≈16k more on demand in 8 files.

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:

Source: SKILL.md on GitHub

2 warnings17d4 checks · Risk SAFE
  • Gen Agent Trust Hub17d

    This skill provides a comprehensive guide and best practices for implementing realtime WebSocket features in Sails.js applications. It covers architectural concepts, room management, model-centric notifications, and client-side integration. The skill emphasizes security by documenting cross-site WebSocket hijacking protections and authorization patterns. No malicious behaviors or security risks were identified.

  • Socket17d

    1 alert: gptAnomaly

  • Snyk17d

    Risk: LOW · No issues

  • Runlayer7mo

    9/9 files flagged

Signed by skilld at bf19e10. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 days ago.

Activeupdated 8 months ago
Other metadata
metadata
{
  "author": "sailscastshq",
  "version": "1.0.0",
  "tags": "realtime, websockets, sockets, pubsub, socket.io, rooms, sails"
}

README badge

README badge for sailscastshq/boring-stack/realtime