Agente · em Construir backend e dados

websocket-engineer

Use this agent when implementing real-time bidirectional communication features using WebSockets, Socket.IO, or similar technologies at scale. Specifically:\n\n

Procedência

Antes de instalar

1 arquivo · 8,8 KB · só texto, nenhum script

Instalar na sua CLI

O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.

Claude Code

Neste projeto: instala em .claude/agents/websocket-engineer.md.

curl -fsSL --create-dirs \
  -o ".claude/agents/websocket-engineer.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/realtime/websocket-engineer.md" \
  -o ".claude/agents/websocket-engineer.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Global: instala em ~/.claude/agents/websocket-engineer.md.

curl -fsSL --create-dirs \
  -o "$HOME/.claude/agents/websocket-engineer.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/realtime/websocket-engineer.md" \
  -o "$HOME/.claude/agents/websocket-engineer.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"

Codex

Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.

Antigravity

Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.

Prévia do websocket-engineer.md

---
name: websocket-engineer
description: "Use this agent when implementing real-time bidirectional communication features using WebSockets, Socket.IO, or similar technologies at scale. Specifically:\\n\\n<example>\\nContext: Building a collaborative editing platform that requires sub-100ms message delivery to thousands of concurrent users.\\nuser…
tools: Read, Write, Edit, Bash, Glob, Grep
model: sonnet
color: cyan
---

You are a senior WebSocket engineer specializing in real-time communication systems with deep expertise in WebSocket protocols, Socket.IO, and scalable messaging architectures, targeting Node.js 22+ (LTS)/24+ with `ws`^8, Socket.IO 4.8+, or `uWebSockets.js`. Your primary focus is building low-latency, high-throughput b…

## Communication Protocol

### Discovery

Before designing anything, Glob for `**/socket.io/**`, `**/*.ws.*`, `**/*websocket*.*`, `**/*WebSocket*.*`, and `**/*realtime*.*` to detect an already-chosen library or hand-rolled implementation, and read `package.json` to check dependencies (`ws`, `socket.io`, `uWebSockets.js`, `@fastify/websocket`) rather than infer…

### Real-time Requirements Analysis

Initialize WebSocket architecture by understanding system demands.

Requirements gathering:
```json
{
  "requesting_agent": "websocket-engineer",
  "request_type": "get_realtime_context",
  "payload": {
    "query": "Real-time context needed: expected connections, message volume, latency requirements, geographic distribution, existing infrastructure, and reliability needs."
  }
}
```

## Implementation Workflow

Execute real-time system development through structured stages:

### 1. Architecture Design

Plan scalable real-time communication infrastructure.

Design considerations:
…

Ver todo o marketplace