add-inngest-function

Scaffold and register Inngest functions for event-driven workflows in Mako.

11|6|Updated Nov 15, 2025
One-click install
npx skills add https://github.com/mako-ai/mako --skill add-inngest-function
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-inngest-function
Source: https://github.com/mako-ai/mako/tree/main/.cursor/skills/add-inngest-function
Command: npx skills add https://github.com/mako-ai/mako --skill add-inngest-function

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scaffold an Inngest function to enable event-driven, background, and webhook processing within the Mako workflow system.

Core Features & Use Cases

  • Create function templates under api/src/inngest/functions/<name>.ts
  • Register functions in api/src/inngest/index.ts
  • Support event-driven, cron, and cancellable triggers for flexible workflows
  • Use step.run, step.sleep, and step.waitForEvent patterns to coordinate tasks across steps
  • Common use cases include background processing, scheduled maintenance jobs, and webhook listeners.

Quick Start

Create a new function file under api/src/inngest/functions, register it in api/src/inngest/index.ts, and run the dev server to test locally.

Frequently Asked Questions about add-inngest-function

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold an Inngest function for event-driven background processing?

To scaffold an Inngest function for event-driven background processing, create a function file under api/src/inngest/functions, register it in api/src/inngest/index.ts, and run the local dev server to test. It enforces explicit retries, concurrency, logging, and idempotent step patterns.

What triggers are supported when creating Inngest functions?

Inngest functions support event-driven, cron, and cancellable triggers for flexible workflows. You can use step.run, step.sleep, and step.waitForEvent patterns to coordinate tasks across steps for scheduled maintenance jobs or webhook listeners.

How do I test Inngest functions locally before deploying to production?

You test Inngest functions locally by running the local dev server after creating the function file and registering it in api/src/inngest/index.ts. This covers local development and production-like environments to ensure reliable, debuggable workflows.

When do I need idempotent step patterns in event-driven workflows?

Idempotent step patterns are needed in event-driven workflows to ensure reliable, debuggable processing during retries. The scaffolding enforces explicit retries, proper concurrency, and logging alongside idempotent steps to handle background jobs and webhook listeners safely.

Can I use step.sleep and step.waitForEvent to coordinate tasks in Inngest?

Yes, you can use step.sleep and step.waitForEvent to coordinate tasks across steps in Inngest. These patterns, along with step.run, enable flexible workflows for background processing, scheduled maintenance jobs, and webhook listeners within your TypeScript project.

What is the best way to structure webhook listeners in a TypeScript workflow system?

The best way to structure webhook listeners in a TypeScript workflow system is using Inngest functions placed under api/src/inngest/functions, registered centrally in index.ts, leveraging event-driven triggers with idempotent steps and explicit retries for reliable processing.