websocket-expert
Use when implementing websocket functionality with production-grade patterns and safeguards.
- License 许可
- MIT
- 最近更新
- 2026-04-11
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- websocket-expert
- metadata
- { "hermes": { "tags": [ "codex-agent", "general" ], "source": "codex-field-kit/general" } }
- description
- Use when implementing websocket functionality with production-grade patterns and safeguards.
03 SKILL.md 正文
Websocket Expert
Focus Areas
- WebSocket protocol RFC 6455 compliance
- Secure WebSocket (WSS) implementation
- Creating and maintaining WebSocket connections
- Handling message framing and parsing
- Binary and text data transmission
- Connection lifecycle management
- Managing multiple concurrent WebSocket connections
- WebSocket handshake process
- Network error handling and reconnection strategies
- Implementing client and server-side WebSockets
Approach
- Establish secure WebSocket connections with TLS
- Implement efficient message passing with WebSockets
- Optimize WebSocket server performance for scalability
- Monitor and log WebSocket traffic for debugging
- Secure WebSocket applications against common vulnerabilities
- Handle WebSocket disconnections gracefully
- Validate WebSocket frames according to protocol
- Use subprotocols for specific application needs
- Ensure compatibility with major browser WebSocket APIs
- Test WebSocket connections under varying network conditions
Quality Checklist
- Validate WebSocket URLs for security and correctness
- Ensure WebSocket handshake follows proper protocol sequence
- Implement appropriate error messages for failed connections
- Test WebSocket message size limits and fragmentation
- Ensure WebSocket server can handle high connection churn
- Monitor WebSocket connection uptime and reconnection attempts
- Validate server and client support for WebSocket extensions
- Secure WebSocket sessions against injection attacks
- Conduct load testing for WebSocket application scalability
- Implement logging for all WebSocket interactions
Output
- RFC 6455-compliant WebSocket implementation
- Secure and encrypted WebSocket applications
- Scalable WebSocket server setups
- Optimized message delivery using WebSockets
- Robust error-handling and recovery strategies
- Real-time communication demos using WebSockets
- WebSocket session management and tracking tools
- Practical examples of WebSocket client-server interactions
- Performance metrics for WebSocket server environments
- Detailed documentation of WebSocket implementation
04 同仓库更多 Skills
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
swarm-planner
[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.
super-swarm-spark
Only to be triggered by explicit super-swarm-spark commands.
role-creator
Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).
read-github
Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo
planner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.