Skip to main content
skill CX Codex

webhook-development — Claude Code skill: webhooks with retries

A skill for building webhook systems: event delivery, signature verification, retries and dead-letter handling.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add aj-geddes/useful-ai-prompts --skill webhook-development -a claude-code
Open on GitHub

What webhook-development does

This skill steers the agent through webhook code: pushing events to external services, verifying signatures, retrying failed deliveries and parking undelivered messages in a dead-letter queue. Useful when orders or payments have to notify a third-party platform, and when you need an audit trail of events.

Inside there is a minimal JSON event example (id, timestamp, event, version, data, attempt, retryable) plus reference guides under references/: the event schema, a Node.js service, a Python handler and best practices. The agent reads those files while writing code.

The skill stays framework-neutral, so storage and queue choices are yours to make. Signature checks and retries are described as an approach, not shipped as a library — worth checking against your provider's spec before you deploy.

What it helps with

  • send order notifications to external services
  • verify the signature on an incoming webhook
  • retry a failed event delivery
  • park undelivered events in a dead-letter queue
  • keep an audit log of events

Example prompts for the agent

  • Design a webhook for the order.created event with signature verification and retries
  • Add a dead-letter queue for webhooks that fail after several attempts
  • Show me the webhook event schema for a payment

How to install webhook-development

1Skills CLI (Vercel)

npx skills add aj-geddes/useful-ai-prompts --skill webhook-development -a claude-code

2Manually: put the files in place

~/.claude/skills/webhook-development/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/webhook-development/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about webhook-development

How do I install webhook-development in Claude?

Run npx skills add aj-geddes/useful-ai-prompts --skill webhook-development -a claude-code. The skill file then sits at ~/.claude/skills/webhook-development/SKILL.md.

What does webhook-development do?

It helps the agent write webhook code: event delivery, signature verification, retries and dead-letter handling. It ships an event schema example and reference guides for Node.js and Python.

Which platforms does the skill support?

Besides Claude it installs into Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode, each with its own install command.

Source text

SKILL.md · MIT
---
name: webhook-development
description: >
  Implement webhook systems for event-driven integration with retry logic,
  signature verification, and delivery guarantees. Use when creating event
  notification systems, integrating with external services, or building
  event-driven architectures.
---

# Webhook Development

## Table of Contents

- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)

## Overview

Build reliable webhook systems with event delivery, signature verification, retry logic, and dead-letter handling for asynchronous integrations.

## When to Use

- Sending real-time notifications to external systems
- Implementing event-driven architectures
- Integrating with third-party platforms
- Building audit trails and logging systems
- Triggering automated workflows
- Delivering payment or order notifications

## Quick Start

Minimal working example:

```json
{
  "id": "evt_1234567890",
  "timestamp": "2025-01-15T10:30:00Z",
  "event": "order.created",
  "version": "1.0",
  "data": {
    "orderId": "ORD-123456",
    "customerId": "CUST-789",
    "amount": 99.99,
    "currency": "USD",
    "items": [
      {
        "productId": "PROD-001",
        "quantity": 2,
        "price": 49.99
      }
    ],
    "status": "pending"
  },
  "attempt": 1,
  "retryable": true
}
```

## Reference Guides

Detailed implementations in the `references/` directory:

| Guide | Contents |
|---|---|
| [Webhook Event Schema](references/webhook-event-schema.md) | Webhook Event Schema |
| [Node.js Webhook Service](references/nodejs-webhook-service.md) | Node.js Webhook Service |
| [Python Webhook Handler](references/python-webhook-handler.md) | Python Webhook Handler |
| [Best Practices](references/best-practices.md) | Best Practices, Webhook Events |

## Best Practices

### ✅ DO

- Follow established patterns and conventions
- Write clean, maintainable code
- Add appropriate documentation
- Test thoroughly before deploying

### ❌ DON'T

- Skip testing or validation
- Ignore error handling
- Hard-code configuration values

© aj-geddes · MIT · aj-geddes/useful-ai-prompts

Similar skills

Everything for Backend and APIs →

From the same set118

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor