feat: add webhooks skill for receiving third-party events - #9
Open
ejirocodes wants to merge 2 commits into
Open
Conversation
Create inngest-webhooks skill covering webhook creation, transform functions, signature verification, REST API for sending events, event keys, common integrations (Stripe, Clerk, GitHub, Resend, Linear, Intercom), branch environment routing, and local testing with tunnels.
There was a problem hiding this comment.
2 issues found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="skills/inngest-webhooks/SKILL.md">
<violation number="1" location="skills/inngest-webhooks/SKILL.md:264">
P2: Conflicting guidance for missing `x-inngest-env` gives incompatible routing behavior and can cause missed function execution assumptions.</violation>
<violation number="2" location="skills/inngest-webhooks/SKILL.md:285">
P3: The example code redeclares `const inngest` in the same scope, so it won’t compile if copied as written. Present the two initialization styles as mutually exclusive (e.g., comment out the alternative or use a different variable name).</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
- Fix conflicting x-inngest-env guidance: omitting it sends events to branch events page (not default env), where they won't trigger functions - Comment out alternative Inngest constructor to avoid duplicate const
Contributor
Author
|
Hi @djfarrelly, this is also ready for review when you get a chance |
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.
Summary
Closes #5
inngest-webhooksskill covering guidance for creating webhooks with Inngest CloudPOST https://inn.gs/e/<key>), event keys, 6 common integration transforms (Stripe, GitHub, Clerk, Linear, Intercom, Resend), branch environment routing, supported content types, webhook REST API for programmatic management, and local testing with tunnelsTest plan
Summary by cubic
Adds the
inngest-webhooksskill to help teams receive third‑party events via Inngest webhooks, with clear guidance on transforms, verification, REST event publishing, and provider mappings. Also fixes branch environment routing instructions and removes a duplicateInngestconstructor example.New Features
skills/inngest-webhooks/SKILL.mdcovering transforms (signature, params, error handling) and verification patterns.POST https://inn.gs/e/<key>, event keys, branch routing withx-inngest-env, provider examples (Stripe, GitHub, Clerk, Linear, Intercom, Resend), local testing via Dev Server and tunnels, and webhook management REST API; README links the skill.Bug Fixes
x-inngest-envguidance: omitting it sends events to the branch events page and won’t trigger functions; also removed a duplicateInngestconstructor example.Written for commit 6346ffe. Summary will update on new commits.