inngest/inngest-steps

プロセス再起動後も持続する遅延処理(24時間のカート放棄メール、スケジュールされたフォローアップなど)、タイムアウト付きの承認待ちや外部イベント待機(レビューゲート、Webhookコールバック、非同期API完了)、クラッシュ時に状態を失わない外部サービスポーリング、他の関数の呼び出しと結果待ち、再試行時に再実行されない高コスト処理のメモ化、ワークフロー内での非同期処理の並列実行を実装する際に使用します。Inngestのステップメソッド(step.run、step.sleep、step.waitForEvent、step.waitForSignal、step.sendEvent、step.invoke、step.ai)と、ループや並列実行のパターンをカバーします。

inngest-steps とは?

このスキルは、Inngestワークフロー内で信頼性の高いステップベースの非同期処理を実装するためのものです。プロセス再起動後も持続する遅延(24時間のカート放棄メールなど)、タイムアウト付きのイベント待機(Webhookコールバック、人間の承認など)、ポーリングによる外部サービス監視、他の関数の呼び出しと結果待機、計算結果のメモ化による再試行時の再実行防止、そしてワークフロー内の並列実行を簡潔に記述できます。サポートするプラットフォームはInngest専用で、step.run、step.sleep、step.waitForEvent、step.waitForSignal、step.sendEvent、step.invoke、step.aiといった主要なステップメソッドに加え、ループや並列実行のパターンを活用できます。このスキルを使用することで、開発者は複雑な分散ワークフローの状態管理を意識せず、宣言的にビジネスロジックに集中できます。

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

Installed? Explore more 生産性&コラボレーション skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

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

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

ドキュメント

inngest-steps は何をしますか?

プロセス再起動後も持続する遅延処理(24時間のカート放棄メール、スケジュールされたフォローアップなど)、タイムアウト付きの承認待ちや外部イベント待機(レビューゲート、Webhookコールバック、非同期API完了)、クラッシュ時に状態を失わない外部サービスポーリング、他の関数の呼び出しと結果待ち、再試行時に再実行されない高コスト処理のメモ化、ワークフロー内での非同期処理の並列実行を実装する際に使用します。Inngestのステップメソッド(step.run、step.sleep、step.waitForEvent、step.waitForSignal、step.sendEvent、step.invoke、step.ai)と、ループや並列実行のパターンをカバーします。

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-events

Use when designing event-driven workflows, decoupling services, implementing fan-out patterns (one trigger, many downstream handlers), implementing idempotent event handling with IDs (24-hour dedupe window), or handling at-least-once delivery from external sources like Stripe webhooks. Covers Inngest event schema, payload format, naming conventions, IDs for idempotency, the ts param, fan-out patterns, and system events like inngest/function.failed.

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.

関連スキル