aj-geddes avatar

Webhook Integration

This handles the full webhook lifecycle, both sending and receiving events with proper security. You get HMAC signature verification, exponential backoff retry logic, and idempotency handling out of the box. The reference guides cover TypeScript sender implementation, Express receiver setup, Bull queue integration for reliable delivery, and testing utilities. Use it when you're integrating with services like Stripe or GitHub, building event notification systems, or syncing data between microservices. The best practices section is solid on the security fundamentals, like preventing replay attacks and never exposing internal errors to webhook consumers.

skills.sh installs
461
GitHub stars
379
last updated
Aug 21, 2026

Install

$ npx -y skills add aj-geddes/useful-ai-prompts --skill webhook-integration --agent claude-code

Installs into .claude/skills of the current project.

Files

Webhook Integration

Table of Contents

Overview

Implement robust webhook systems for event-driven architectures, enabling real-time communication between services and third-party integrations.

When to Use

  • Third-party service integrations (Stripe, GitHub, Shopify)
  • Event notification systems
  • Real-time data synchronization
  • Automated workflow triggers
  • Payment processing callbacks
  • CI/CD pipeline notifications
  • User activity tracking
  • Microservices communication

Quick Start

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)

Reference Guides

Sponsors

Details

Repository
github.com/aj-geddes/useful-ai-prompts
Category
AI & Agent Building
First seen
Jun 3, 2026

More from aj-geddes/useful-ai-prompts

All 258
1auth0 avatarauth0-fastapi-apiauth0/agent-skillsUse when protecting FastAPI endpoints with JWT Bearer token validation, scope checks, or DPoP binding. Integrates auth0-fastapi-api for stateless APIs receiving461skills.sh installs
2jwynia avatarendingsjwynia/agent-skillsDiagnose weak endings, rushed resolutions, and arbitrary conclusions. Use when stories build well but end disappointingly, when climax feels unearned, or when r461skills.sh installs
3jwynia avatargovernance-systemsjwynia/agent-skillsDesign political entities and governance systems for fictional worlds. Use when creating kingdoms, empires, federations, or any political structures that need r461skills.sh installs
4brianrwagner avatarplan-my-daybrianrwagner/ai-marketing-claude-code-skillsGenerate an energy-optimized, time-blocked daily plan based on circadian rhythm research and GTD principles460skills.sh installs
5ejirocodes avatarnestjs-best-practicesejirocodes/agent-skillsNestJS 11+ best practices for enterprise Node.js applications with TypeScript. Use when writing, reviewing, or refactoring NestJS controllers, services, modules460skills.sh installs
6jwynia avatarshadcn-layoutsjwynia/agent-skillsGenerate correct shadcn/Tailwind layouts by applying CSS mental models. This skill should be used when the user asks to 'create a shadcn layout', 'fix layout is460skills.sh installs