webhook-handler-patterns

Official

Master webhook handler patterns for reliability.

Authorhookdeck
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Webhook integrations are prone to security risks and duplicate processing due to retries. This Skill provides a concrete pattern to verify signatures before parsing payloads, parse after verification, and handle events idempotently, with robust error handling and retry strategies across Express, Next.js, and FastAPI.

Core Features & Use Cases

  • Verify-first, parse-second, idempotent-third processing sequence to prevent duplicates and ensure security.
  • Framework-specific guidance for Express, Next.js, and FastAPI with raw body handling and middleware order.
  • Patterns for error handling, retry logic, and observability to diagnose webhook issues in production.

Quick Start

Use this Skill to structure a Stripe-like webhook route so that the raw body is preserved for signature verification, the payload is parsed after verification, and duplicates are avoided through idempotent handling.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: webhook-handler-patterns
Download link: https://github.com/hookdeck/webhook-skills/archive/main.zip#webhook-handler-patterns

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.