PostHog's research on LLM code generation (https://posthog.com/blog/correct-llm-code-generation) found that agents produce more reliable code when referencing known-working examples rather than reconstructing from training data. That's the approach here.
`webhook-skills` is a collection of provider-specific webhook implementations and best practices guides built on the Agent Skills spec (agentskills.io):
- Runnable examples (currently Express, Next.js, FastAPI, with more frameworks coming)
- Signature verification with provider-specific gotchas documented
- Best-practice patterns: idempotency, error handling, retry logic
- 11 providers at launch (Stripe, Shopify, GitHub, OpenAI, Clerk, Paddle, others), expanding based on my needs or requests.
Example: # list skills
npx skills add hookdeck/webhook-skills --list
# install skills
npx skills add hookdeck/webhook-skills --skill stripe-webhooks --skill webhook-handler-patterns
Works with Claude Code, Cursor, Copilot. The examples are useful even without an agent: minimal, tested handlers you can copy directly.PRs welcome for new providers and frameworks. I also built an AI-powered generator that automatically creates new provider skills. Point it at webhook docs, and it researches the signature scheme, generates verification code for each framework, writes tests, and opens a PR.
electsaudit0q•1h ago
leggetter•1h ago