Communitygithub.com

inngest/inngest-events

イベント駆動型ワークフローの設計、サービスの疎結合化、ファンアウトパターン(1つのトリガーから複数のダウンストリームハンドラーへの展開)、IDを使用した冪等なイベント処理(24時間重複排除ウィンドウ)、Stripeウェブフックなどの外部ソースからのat-least-once配信の処理に使用します。Inngestイベントスキーマ、ペイロード形式、命名規則、冪等性のためのID、tsパラメータ、ファンアウトパターン、およびinngest/function.failedなどのシステムイベントをカバーします。

inngest-events とは?

このスキルは、イベント駆動型アーキテクチャを構築する開発者向けに設計されており、Inngestプラットフォーム上でイベントを正しく定義、送信、処理する方法を提供します。主な機能として、イベントスキーマ(イベント名、データ、ユーザー、tsタイムスタンプ)の構造化、イベント名の命名規則(`service.action`形式)、IDによる冪等性の保証(24時間の重複排除ウィンドウ)、およびファンアウトパターン(単一イベントから複数関数をトリガー)をカバーします。また、`inngest/function.failed`のようなシステムイベントも含まれており、エラー処理や監視に役立ちます。このスキルは、Stripeウェブフックのような外部ソースからのat-least-once配信や、サービス間の疎結合化が必要な場面で特に有効です。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/inngest/inngest-skills/tree/main/skills/inngest-events

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

inngest-events は何をしますか?

イベント駆動型ワークフローの設計、サービスの疎結合化、ファンアウトパターン(1つのトリガーから複数のダウンストリームハンドラーへの展開)、IDを使用した冪等なイベント処理(24時間重複排除ウィンドウ)、Stripeウェブフックなどの外部ソースからのat-least-once配信の処理に使用します。Inngestイベントスキーマ、ペイロード形式、命名規則、冪等性のためのID、tsパラメータ、ファンアウトパターン、およびinngest/function.failedなどのシステムイベントをカバーします。

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

inngest/inngest-durable-functions

Use when building functions that must survive process crashes, retry automatically on failure, run on a schedule, react to events, or maintain state across infrastructure failures — e.g., webhook handlers that drop events, flaky cron jobs, background jobs that fail mid-execution, or workflows that need to resume where they left off. Covers Inngest function configuration, triggers (events, cron, invoke), step execution and memoization, idempotency, cancellation, error handling, retries, logging, and observability.

inngest/inngest-middleware

Use when adding cross-cutting concerns to durable functions — structured logging or tracing across all functions, error tracking with Sentry, payload encryption for sensitive data, dependency injection of clients (DB, Stripe, etc.) into function handlers, custom telemetry, or behavior that should apply uniformly across many functions. Covers Inngest middleware lifecycle, creating custom middleware, dependencyInjectionMiddleware, @inngest/middleware-encryption, @inngest/middleware-sentry, and custom middleware patterns.

inngest/inngest-setup

Use when adding durable execution to a TypeScript project — building retry-safe webhook handlers, background jobs that survive crashes, scheduled tasks, or long-running workflows that outlive a single request. Covers Inngest SDK installation, client config, environment variables, serve endpoints (Next.js, Express, Hono, Fastify), connect-as-worker mode, and the local dev server.

inngest/inngest-steps

Use when implementing delays that must survive process restarts (e.g., 24-hour cart abandonment, scheduled follow-ups), waiting for human approval or external events with timeouts (review gates, webhook callbacks, async API completion), polling external services without losing state on crashes, calling other functions and awaiting their results, memoizing expensive operations so they don't re-run on retry, or running async work in parallel inside a workflow. Covers Inngest step methods: step.run, step.sleep, step.waitForEvent, step.waitForSignal, step.sendEvent, step.invoke, step.ai, plus patterns for loops and parallel execution.

関連スキル