Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
pproenca avatar

Inngest Nextjs Patterns

  • 79 installs
  • 191 repo stars
  • Updated July 24, 2026
  • pproenca/dot-skills

inngest-nextjs-patterns is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

Key points

  • inngest-nextjs-patterns
  • AI & Agent Building
  • AI-coding skill

Inngest Nextjs Patterns by the numbers

  • 79 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #5,292 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/pproenca/dot-skills --skill inngest-nextjs-patterns

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs79
repo stars191
Last updatedJuly 24, 2026
Repositorypproenca/dot-skills

How do I helps with ai & agent building tasks during ai-assisted development?

Helps with ai & agent building tasks during AI-assisted development.

Who is it for?

Best when you're working on ai & agent building and need structured help with inngest-nextjs-patterns.

Skip if: Teams with no ai & agent building needs, or anyone wanting a generic chat assistant without this specific workflow.

When should I use this skill?

When you need to helps with ai & agent building tasks during ai-assisted development, or when inngest-nextjs-patterns is a claude code skill for ai & agent building. it helps solo builders move faster with ai-assisted c

What you get

Structured output aligned to inngest-nextjs-patterns: inngest-nextjs-patterns; AI & Agent Building; AI-coding skill.

Files

SKILL.mdMarkdownGitHub ↗

Inngest + Next.js Patterns

Templates and conventions for building event-driven, durable background work on Inngest from a Next.js App Router project. The skill enforces the conventions Inngest's own docs use (decentralized eventType() schemas, kebab-case stable function IDs, idempotent steps) so that retries, replays, and concurrency controls actually do what they advertise.

When to Apply

Read this skill when you are:

  • Setting up Inngest in a Next.js app for the first time (client + route handler + first function)
  • Adding a new background job, webhook handler, or scheduled task to a Next.js app
  • Defining a new domain event that other functions will trigger on
  • Orchestrating multi-step work that must survive process restarts (durable workflows, sagas)
  • Reviewing existing Inngest code for event naming, step idempotency, or stable function IDs
  • Migrating from setTimeout / a queue library / a cron service to Inngest's durable execution model

How to Use

1. First time in this codebase? Read `references/conventions.md` before writing anything. The conventions explain why event names take a specific shape, why function IDs must be stable, and why every step.run must be idempotent — once you understand the reasoning, the templates make sense. 2. Pick a template from the catalog below based on what you're creating. 3. Render it by substituting the documented parameters. Each template has a parameter table at the top of its file. 4. Wire it up: new functions must be added to src/inngest/functions/index.ts (the registry the route handler reads). The conventions doc shows the registry pattern.

Available Templates

TemplateOutput PathUse When
`client.ts.template`src/inngest/client.tsOne-time setup: create the singleton Inngest client. Generate once per app.
`route-handler.ts.template`src/app/api/inngest/route.tsOne-time setup: the App Router endpoint Inngest hits to invoke your functions. Generate once per app.
`event.ts.template`src/inngest/events/{domain}.tsDefining a new typed event (with Zod schema) that producers send and functions consume.
`function.ts.template`src/inngest/functions/{name}.tsStandard event-triggered durable function with steps. Parameterized retries, concurrency, throttle, debounce, cancelOn, onFailure.
`function-cron.ts.template`src/inngest/functions/{name}.tsScheduled function — runs on a cron expression (with timezone). Optionally also accepts a manual event trigger for ad-hoc invocation.
`function-fan-out.ts.template`src/inngest/functions/{name}.tsOrchestrator that receives one event and fans out work — via step.sendEvent (fire-and-forget) or Promise.all(step.invoke(...)) (wait for results).

Quick Reference

  • Event name shape: domain/entity.verb_past — e.g., app/user.created, shop/order.placed, billing/invoice.paid. The conventions doc has the full rule.
  • Function `id`: stable kebab-case, never rename it after deploy — Inngest uses it as the durable state key.
  • Step `id`: descriptive kebab-case, also durable; changing one re-runs that step on replay.
  • Idempotency: every step.run must be safely retryable. If it calls a third-party API that mutates state, pass an idempotency key.
  • Dev server: npx inngest-cli@latest dev, then UI at http://localhost:8288. Set INNGEST_DEV=1 in .env.local to point the SDK at it.

Project Layout Assumption

Templates assume a src/ directory with App Router:

src/
├── app/api/inngest/route.ts          # generated by route-handler template
└── inngest/
    ├── client.ts                     # generated by client template
    ├── events/                       # one file per domain (events.shop.ts, events.user.ts)
    │   └── {domain}.ts               # generated by event template
    └── functions/
        ├── index.ts                  # registry: re-exports all functions as an array
        └── {name}.ts                 # generated by function/cron/fan-out templates

If your project uses a different layout (no src/, or Pages Router), override the output paths in config.json. The conventions doc explains the trade-offs.

Setup

config.json controls path overrides. On first use, check whether its fields are filled in — if not, ask the user before generating (project root differs from the default assumption).

Related Skills

  • vercel:ai-sdk — if your Inngest functions invoke LLMs, the AI SDK gives you streaming + provider abstraction; pair them with step.run for retry safety.
  • vercel:vercel-functions — Inngest's serve() adapter for Next.js runs as a Vercel Serverless Function by default; the AI SDK skill has notes on Fluid Compute and timeout extension for long agent runs.

Related skills

FAQ

What does inngest-nextjs-patterns do?

inngest-nextjs-patterns is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.

When should I use inngest-nextjs-patterns?

When you need to helps with ai & agent building tasks during ai-assisted development, or when inngest-nextjs-patterns is a claude code skill for ai & agent building. it helps developers move faster with ai-assisted coding.

What are the main capabilities?

inngest-nextjs-patterns; AI & Agent Building; AI-coding skill.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.