webhook-integration by aj-geddes/useful-ai-prompts
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill webhook-integration为事件驱动架构实现健壮的 Webhook 系统,实现服务与第三方集成之间的实时通信。
最小化工作示例:
import crypto from "crypto";
import axios from "axios";
interface WebhookEvent {
id: string;
type: string;
timestamp: number;
data: any;
}
interface WebhookEndpoint {
url: string;
secret: string;
events: string[];
active: boolean;
}
interface DeliveryAttempt {
attemptNumber: number;
timestamp: number;
statusCode?: number;
error?: string;
duration: number;
}
// ... (完整实现请参阅参考指南)
references/ 目录下的详细实现:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 指南 | 内容 |
|---|---|
| Webhook 发送器 (TypeScript) | Webhook 发送器 (TypeScript) |
| Webhook 接收器 (Express) | Webhook 接收器 (Express) |
| 使用 Bull 的 Webhook 队列 | 使用 Bull 的 Webhook 队列 |
| Webhook 测试工具 | Webhook 测试工具 |
每周安装量
110
代码仓库
GitHub 星标数
116
首次出现
2026年1月21日
安全审计
安装于
opencode93
gemini-cli90
codex87
claude-code87
cursor78
github-copilot74
Implement robust webhook systems for event-driven architectures, enabling real-time communication between services and third-party integrations.
Minimal working example:
import crypto from "crypto";
import axios from "axios";
interface WebhookEvent {
id: string;
type: string;
timestamp: number;
data: any;
}
interface WebhookEndpoint {
url: string;
secret: string;
events: string[];
active: boolean;
}
interface DeliveryAttempt {
attemptNumber: number;
timestamp: number;
statusCode?: number;
error?: string;
duration: number;
}
// ... (see reference guides for full implementation)
Detailed implementations in the references/ directory:
| Guide | Contents |
|---|---|
| Webhook Sender (TypeScript) | Webhook Sender (TypeScript) |
| Webhook Receiver (Express) | Webhook Receiver (Express) |
| Webhook Queue with Bull | Webhook Queue with Bull |
| Webhook Testing Utilities | Webhook Testing Utilities |
Weekly Installs
110
Repository
GitHub Stars
116
First Seen
Jan 21, 2026
Security Audits
Gen Agent Trust HubPassSocketWarnSnykWarn
Installed on
opencode93
gemini-cli90
codex87
claude-code87
cursor78
github-copilot74
通过 LiteLLM 代理让 Claude Code 对接 GitHub Copilot 运行 | 高级变通方案指南
36,300 周安装
高级数据科学家技能:生产级AI/ML系统、MLOps与分布式计算实战指南
2,200 周安装
mini-browser (mb) - 面向智能体的浏览器命令行工具,自动化网页交互与测试
2,300 周安装
SPL 到 APL 转换指南:语法差异、命令映射与类型安全实践
127 周安装
抖音视频下载工具 - 通过浏览器自动化从抖音下载无水印视频的Python脚本
2,400 周安装
RivetKit SwiftUI客户端:快速连接Rivet Actors构建iOS/macOS应用
2,300 周安装
YouTube视频智能剪辑工具 - 基于AI自动分析字幕生成精细章节,支持多格式导出和字幕烧录
2,300 周安装