What problem does it solve?
Webhook handlers commonly cause silent data loss by mishandling signature verification, retry/status-code contracts, and idempotency during duplicate deliveries. This Skill helps you implement a resilient inbound webhook pipeline that safely accepts provider requests while preserving raw evidence for audits and debugging.
Core Features & Use Cases
- Signature verification on raw bytes: Verifies HMAC/SDK/round-trip schemes against the unparsed request body using constant-time comparison to prevent forgeries and timing leaks.
- Idempotency for duplicate delivery: Implements reliable deduplication so repeated webhook attempts return success (skipped) without re-triggering side effects.
- Correct retry-contract responses + quarantine: Selects appropriate permanent vs retryable HTTP responses and quarantines unverifiable/malformed events for audit without cascading failures.
- Raw-then-canonical persistence: Persists raw payloads before canonical mapping so canonicalization bugs or schema drift do not destroy original provider data.
- PII capture timing and secret rotation support: Captures PII synchronously on first verified receipt and supports current/previous secrets during rotation windows.
Quick Start
Use the webhook-integration skill to design and review an inbound webhook handler that verifies signatures on the raw request body, deduplicates safely, persists raw payloads before canonical mapping, and returns the provider-correct HTTP status codes while quarantining unverifiable events.