·real-time-features
</>

real-time-features

aj-geddes/useful-ai-prompts

使用 WebSocket、服务器发送事件 (SSE) 或长轮询实现实时功能。在构建聊天应用程序、实时仪表板、协作编辑、通知或任何需要即时更新的功能时使用。

79安装·0热度·@aj-geddes

安装

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill real-time-features

SKILL.md

Implement real-time bidirectional communication between clients and servers for instant data synchronization and live updates.

| Technology | Direction | Use Case | Browser Support |

| WebSockets | Bidirectional | Chat, gaming, collaboration | Excellent | | SSE | Server → Client | Live updates, notifications | Good (no IE) | | Long Polling | Request/Response | Fallback, simple updates | Universal | | WebRTC | Peer-to-peer | Video/audio streaming | Good |

使用 WebSocket、服务器发送事件 (SSE) 或长轮询实现实时功能。在构建聊天应用程序、实时仪表板、协作编辑、通知或任何需要即时更新的功能时使用。 来源:aj-geddes/useful-ai-prompts。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill real-time-features
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 real-time-features?

使用 WebSocket、服务器发送事件 (SSE) 或长轮询实现实时功能。在构建聊天应用程序、实时仪表板、协作编辑、通知或任何需要即时更新的功能时使用。 来源:aj-geddes/useful-ai-prompts。

如何安装 real-time-features?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill real-time-features 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/aj-geddes/useful-ai-prompts