inngest-setup 是做什么的?
在 TypeScript 项目中添加持久化执行能力时使用——构建可重试安全的 Webhook 处理器、能抵御崩溃的后台任务、定时任务或超出单个请求生命周期的长期工作流。涵盖 Inngest SDK 安装、客户端配置、环境变量、服务端点(Next.js、Express、Hono、Fastify)、worker 连接模式以及本地开发服务器。
用于在 TypeScript 项目中添加持久化执行能力——构建可重试安全的 Webhook 处理器、能抵御崩溃的后台任务、定时任务或超出单个请求生命周期的长期工作流。涵盖 Inngest SDK 安装、客户端配置、环境变量、服务端点(Next.js、Express、Hono、Fastify)、worker 连接模式以及本地开发服务器。
该技能专注于在 TypeScript 项目中设置 Inngest 以支持持久化执行(Durable Execution)。它帮助开发者构建可重试安全的 Webhook 处理器、崩溃后能继续运行的后台任务、定时任务,以及需跨多个请求的长期工作流。技能内容详尽,涵盖从 SDK 安装、客户端配置、环境变量管理,到主流 Web 框架(如 Next.js、Express、Hono、Fastify)中服务端点的挂载,以及 Worker 连接模式和本地开发服务器的启动。通过遵循其最佳实践步骤,AI 助手能够快速为项目集成工业级任务队列和事件驱动执行能力。
npx skills add https://github.com/inngest/inngest-skills/tree/main/skills/inngest-setupInstalled? Explore more 生产力与协作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →
在 TypeScript 项目中添加持久化执行能力时使用——构建可重试安全的 Webhook 处理器、能抵御崩溃的后台任务、定时任务或超出单个请求生命周期的长期工作流。涵盖 Inngest SDK 安装、客户端配置、环境变量、服务端点(Next.js、Express、Hono、Fastify)、worker 连接模式以及本地开发服务器。
This repo contains 4 individual skills — each has its own dedicated page.
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.
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 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.