inngest-durable-functions 是做什么的?
用于构建必须能应对进程崩溃、失败时自动重试、按计划运行、响应事件,或在基础设施故障中维持状态的函数——例如,会丢失事件的 Webhook 处理器、不稳定的 Cron 任务、执行中途失败的背景作业,或需要从中断处恢复的工作流。涵盖 Inngest 函数配置、触发器(事件、Cron、调用)、步骤执行与缓存、幂等性、取消机制、错误处理、重试、日志记录以及可观测性。
用于构建必须能应对进程崩溃、失败时自动重试、按计划运行、响应事件,或在基础设施故障中维持状态的函数——例如,会丢失事件的 Webhook 处理器、不稳定的 Cron 任务、执行中途失败的背景作业,或需要从中断处恢复的工作流。涵盖 Inngest 函数配置、触发器(事件、Cron、调用)、步骤执行与缓存、幂等性、取消机制、错误处理、重试、日志记录以及可观测性。
此技能旨在帮助开发者使用 Inngest 平台构建持久化函数,确保函数在进程崩溃、基础设施故障等环境中仍能可靠运行。它支持定义事件驱动、计划任务(Cron)或按需调用的触发器,并通过步骤执行与缓存(Memoization)实现高效工作流。技能还覆盖了幂等性、取消策略、错误处理与自动重试机制,以及通过日志和可观测性工具进行调试。适用于多种 AI 编码代理(如 Claude Code、Cursor),提供详细的配置指南和最佳实践,帮助开发者构建高弹性的后台任务。
npx skills add https://github.com/inngest/inngest-skills/tree/main/skills/inngest-durable-functionsInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
用于构建必须能应对进程崩溃、失败时自动重试、按计划运行、响应事件,或在基础设施故障中维持状态的函数——例如,会丢失事件的 Webhook 处理器、不稳定的 Cron 任务、执行中途失败的背景作业,或需要从中断处恢复的工作流。涵盖 Inngest 函数配置、触发器(事件、Cron、调用)、步骤执行与缓存、幂等性、取消机制、错误处理、重试、日志记录以及可观测性。
This repo contains 4 individual skills — each has its own dedicated page.
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.
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.
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.
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.
Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing.
Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments.
Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files.
Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry.
Delegate coding work to Codex, Claude Code, or OpenCode as background workers; not simple edits or read-only code lookup.
List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio.