Logo von Inngest Brownfield Audit

Inngest Brownfield Audit

Organisation
Asymmetric-al
inngest-brownfield-audit

Use when analyzing an existing TypeScript or JavaScript codebase to decide where and how to introduce Inngest. Covers repository discovery, framework and package detection, finding durability gaps in HTTP handlers, webhooks, cron jobs, queues, long-running jobs, AI agents, polling loops, and side-effect-heavy code, then producing and implementing an incremental integration plan.

Übersicht

HerausgeberAsymmetric-al
Repositorycore
Skill-Nameinngest-brownfield-audit
Sterne
383
Forks
7
Mitgelieferte Dateien
Nur Anweisungen
LizenzAGPL-3.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von Asymmetric-al auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Inngest Brownfield Audit in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/Asymmetric-al/core/tree/develop/docs/ai/skills/inngest-brownfield-audit
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Asymmetric-al/core.git /tmp/core
mkdir -p .claude/skills
cp -r /tmp/core/docs/ai/skills/inngest-brownfield-audit .claude/skills/inngest-brownfield-audit
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Inngest Brownfield Audit in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Inngest Brownfield Audit automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Inngest Brownfield Audit nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Inngest Brownfield Audit

Use this skill when the user asks Codex to inspect an existing codebase, add Inngest "where it makes sense", migrate fragile background work, or find durability gaps before making changes.

This is an agent-first workflow. Do the audit from evidence in the repo, name the specific files and call sites that drove each conclusion, and make small integration moves that preserve current behavior.

When to Trigger

Use this skill for requests like:

  • "Audit this repo for Inngest opportunities"
  • "Add Inngest to this codebase"
  • "Make our webhooks / cron jobs / background tasks reliable"
  • "Find places where work can be lost on deploy or process crash"
  • "Replace fragile polling, delayed jobs, or fire-and-forget promises"
  • "Make this AI workflow / agent durable"

If the user is starting from scratch instead of a brownfield repo, use inngest-setup, inngest-durable-functions, inngest-events, inngest-steps, and, for AI workflows, the agent patterns in this skill.

Audit Loop

  1. Map the project shape.

    • Read package.json, workspace files, app/router structure, server entry points, deployment config, and test scripts.
    • Identify framework: Next.js App Router, Next.js Pages Router, Express, Hono, Fastify, Remix, SvelteKit, Astro, NestJS, worker-only service, or other.
    • Detect package manager and TypeScript conventions before adding files.
  2. Find existing Inngest usage.

    • Search for inngest, createFunction, serve(, /api/inngest, INNGEST_, step.run, step.sleep, step.waitForEvent, step.sendEvent, step.invoke, step.ai, inngest.send, and @inngest/realtime.
    • If Inngest exists, inspect version, client config, serve endpoint, registered functions, event naming, env vars, and v3/v4 API shape before changing anything.
  3. Find durability gaps.

    • Search for fire-and-forget work: void someAsync(), un-awaited promises, .then( chains, setTimeout, setInterval, detached jobs after HTTP response, and background work in route handlers.
    • Search for cron and schedulers: cron, node-cron, agenda, bull, bullmq, bee-queue, qstash, sqs, temporal, trigger.dev, deployment cron config, and scheduled API routes.
    • Search for webhooks and at-least-once producers: Stripe, Clerk, GitHub, Slack, Shopify, HubSpot, Linear, Svix, and generic webhook.
    • Search for long-running work: PDF generation, exports, video/image processing, embeddings, bulk email, imports, ETL, sync jobs, polling loops, retries, and external API calls.
    • Search for AI agent shapes: tool loops, LLM calls, streaming tokens, human approval, multi-step reasoning, vector search, eval loops, and provider calls that need rate limits or retry-safe state.
  4. Classify each candidate.

    • P0: user-visible loss, duplicate charge/email/action, timeout, missed webhook, or crash-prone workflow.
    • P1: fragile but recoverable background work, manual retry burden, noisy 429s, or poor observability.
    • P2: cleanup, ergonomics, or future migration opportunity.
    • For each candidate, record: file, current trigger, side effects, idempotency key, failure mode, recommended Inngest primitive, migration size, and confidence.
  5. Choose the smallest safe integration.

    • Prefer one vertical slice over a wide rewrite.
    • Keep existing domain functions and data models where possible.
    • Add an Inngest client and serve endpoint only once.
    • Move side effects into step.run one boundary at a time.
    • Make event IDs and database writes idempotent before adding retries.
    • Add tests around existing behavior and the new event/function boundary.

Useful Discovery Commands

Run commands that fit the repo. Prefer rg; keep output focused.

bash
rg -n "inngest|createFunction|step\\.|serve\\(|/api/inngest|INNGEST_" .
rg -n "setTimeout|setInterval|Promise\\.all|void [a-zA-Z0-9_]+\\(|\\.then\\(" .
rg -n "cron|node-cron|schedule|bull|bullmq|bee-queue|agenda|qstash|sqs" .
rg -n "webhook|stripe|svix|clerk|github|shopify|slack|hubspot|linear" .
rg -n "retry|backoff|poll|status|timeout|429|rate limit|rate-limit" .
rg -n "openai|anthropic|ai\\.|generateText|streamText|tool|agent|embedding" .

When the repo is large, narrow searches to app source directories and exclude generated/vendor folders.

Brownfield Decision Matrix

Existing shapeInngest fitPrimary primitives
HTTP handler does slow side effects before respondingEmit event, return fastinngest.send, event trigger, step.run
Webhook must acknowledge quickly but process reliablyVerify signature, emit idempotent eventEvent ID, step.run, retries
Cron job loses progress midwayCron-triggered durable functionCron trigger, page-level step.run, flow control
Polling loop waits for external async workDurable wait or durable pollstep.waitForEvent, step.sleep, step.run
Large fan-out exceeds request/serverless limitsSplit orchestration and item workstep.sendEvent, per-item function, concurrency
External API hits 429sMove limits to function configthrottle, rateLimit, concurrency
Human review can take daysPersist the wait in Inngeststep.waitForEvent, timeout, realtime
AI agent/tool loop needs retry-safe progressOne step per tool/model boundarystep.ai, step.run, step.sleep, realtime
Existing queue only hides fragile workReplace queue boundary graduallyEvent trigger, idempotency, function-level retries

Integration Plan Format

Before editing, summarize findings in this compact shape:

text
Inngest audit:
- Existing Inngest: none / partial / healthy / risky
- Framework: <framework and evidence>
- Best first slice: <file + workflow>
- Why: <loss/timeout/retry/idempotency failure>
- Proposed primitives: <event, steps, flow control, waits, realtime>
- Idempotency key: <source of truth>
- Files likely touched: <short list>
- Tests/checks: <commands or focused cases>

Then implement unless the user asked for audit-only.

Existing Inngest Checklist

If Inngest is already present, verify:

  • A single shared client is exported from a stable module.
  • The app id is a stable slug and is not derived from deploy-specific data.
  • v4 local development uses INNGEST_DEV=1; production uses INNGEST_SIGNING_KEY.
  • Serve endpoint path is discoverable, usually /api/inngest.
  • The serve handler registers all functions that should sync.
  • Side effects and non-deterministic work are inside steps.
  • Step IDs are stable and descriptive.
  • Event names follow domain/noun.verb.
  • Events that may be replayed use deterministic IDs.
  • Webhook handlers verify signatures before emitting events.
  • Flow control is configured where external APIs have limits.
  • Realtime uses v4 native inngest/realtime, not the v3 @inngest/realtime package.

Durable Agent Patterns

Use Inngest when an AI or agent workflow needs durable progress across model calls, tool calls, waits, approvals, or streaming UI updates.

Good candidates:

  • Multi-step agent that calls tools or external APIs.
  • LLM workflow that may exceed one HTTP request lifetime.
  • Human-in-the-loop review, approval, correction, or escalation.
  • Agent that must pause for an external event or scheduled follow-up.
  • Bulk AI work that needs provider-level rate limits and cost protection.
  • User-visible agent progress that should stream from durable execution.

Recommended shape:

  1. HTTP/UI request stores the user intent and emits an event with a stable id.
  2. Inngest function loads state inside step.run.
  3. Each model call, tool call, vector search, and external side effect lives in its own step.ai or step.run boundary.
  4. Human pauses use step.waitForEvent or step.waitForSignal with a timeout.
  5. Progress updates use step.realtime.publish between steps, or inngest.realtime.publish inside an existing step.run.
  6. Provider rate limits use concurrency, throttle, or rateLimit, not ad hoc in-process throttlers.

Avoid:

  • Keeping agent state only in memory.
  • Retrying whole agent loops after a single tool failure.
  • Charging for repeated successful model calls because the result was not memoized.
  • Using setTimeout or a cron poller for follow-ups and approvals.
  • Streaming progress from a process-local WebSocket server when the workflow itself is durable elsewhere.

Implementation Guardrails

  • Do not replace working queues, crons, or webhooks blindly. First preserve behavior with a thin Inngest slice.
  • Do not create duplicate clients or serve endpoints if the repo already has them.
  • Do not put database writes, API calls, random IDs, timestamps, or LLM calls outside steps in the new function.
  • Do not hide missing idempotency behind retries. Retries require idempotent side effects.
  • Do not hardcode secrets or dev-mode flags in source.
  • Do not leave the app unable to sync: register new functions with the serve endpoint and run available type/tests.

Verification

Pick checks that prove the integration path:

  • Typecheck/build/lint the touched app.
  • Run existing tests around the migrated handler or workflow.
  • Add focused tests for "handler emits event and returns fast" and "function calls the same domain operations in step boundaries" where the repo supports it.
  • If local runtime is available, start the app and Inngest dev server, confirm the function syncs, then send a sample event.
  • If only static checks are available, explicitly state that runtime sync was not verified.

This Repository

These upstream Inngest instructions are vendored for agent tooling and integration work in this monorepo.

Repository Triggers

Use this skill when inngest-brownfield-audit matches the current Inngest task. If the right skill is unclear, start with docs/ai/skills/inngest/SKILL.md.

Repository Workflow

  1. Confirm whether the request is agent-tooling guidance or product runtime integration.
  2. Use inngest-brownfield-audit before changing existing app workflows or fragile background work.
  3. Follow this upstream guidance under OpenSpec, root AGENTS.md, repo rulebooks, framework docs, and runtime evidence.
  4. Keep runtime packages, app code, migrations, and INNGEST_* env requirements out of agent-tooling-only changes.

Repository Checklist

  • The task has explicit product-runtime scope before adding Inngest app code or dependencies.
  • Existing workflows were audited before introducing or changing durable workflow behavior.
  • Any MCP usage is backed by a running Inngest dev server on the configured port.
  • Upstream source and license attribution remain documented in docs/ai/skills/inngest/references/upstream.md.

Häufig gestellte Fragen

Was macht der KI-Skill Inngest Brownfield Audit?

Use when analyzing an existing TypeScript or JavaScript codebase to decide where and how to introduce Inngest. Covers repository discovery, framework and package detection, finding durability gaps in HTTP handlers, webhooks, cron jobs, queues, long-running jobs, AI agents, polling loops, and side-effect-heavy code, then producing and implementing an incremental integration plan.

Warum Inngest Brownfield Audit in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Inngest Brownfield Audit besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Inngest Brownfield Audit in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/Asymmetric-al/core/tree/develop/docs/ai/skills/inngest-brownfield-audit ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Inngest Brownfield Audit nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Inngest Brownfield Audit verwenden?

So viele Sie möchten. In TypingMind können Sie Inngest Brownfield Audit mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Inngest Brownfield Audit kostenlos?

Ja. Der Skill wird von Asymmetric-al auf GitHub unter der Lizenz AGPL-3.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇