clerk-webhooks: align with Clerk skill, SDKs, standardwebhooks, Hookdeck#34
Merged
clerk-webhooks: align with Clerk skill, SDKs, standardwebhooks, Hookdeck#34
Conversation
- SKILL.md: Reorder sections to match other provider skills. Add Documentation Reference, Quick Start, When to Sync, Key Patterns, Webhook Reliability, Common Pitfalls in references/patterns.md. Common Event Types as table. Env vars: document CLERK_WEBHOOK_SIGNING_SECRET and CLERK_WEBHOOK_SECRET. Local Development: Hookdeck CLI only (no ngrok). - references/patterns.md: New file with prerequisite, official docs links, Quick Start, When to Sync, Key Patterns, queue/async note and Hookdeck Event Gateway note, Common Pitfalls. - references/setup.md: Document CLERK_WEBHOOK_SIGNING_SECRET and CLERK_WEBHOOK_SECRET. - references/verification.md: Next.js use @clerk/backend/webhooks; Express use standardwebhooks package; remove Svix library section. - Express example: Verify with standardwebhooks package (map svix-* to webhook-* headers). Add standardwebhooks dependency. Map WebhookVerificationError messages for tests. - Next.js example: Use verifyWebhook from @clerk/backend/webhooks. Add @clerk/backend and svix. Map verification error messages for tests. - Tests: Express and Next.js assertions updated for SDK/standardwebhooks error messages. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Made with Cursor