.agents/skills/async-jobs-and-events/SKILL.md
Queues and workers, domain event publishers, async notifications or projections, or not doing that work inside HTTP handlers.
npx skillsauth add latitude-dev/latitude-llm async-jobs-and-eventsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
When to use: Queues and workers, domain event publishers, async notifications or projections, or not doing that work inside HTTP handlers.
OutboxWriter port in @domain/events (for example createOutboxWriter from @platform/db-postgres) instead of inserting outbox rows directly.createEventsPublisher(queuePublisher) into domain-events instead of persisting an outbox row only to forward it.apps/workers, and durable multi-step workflows live in the Temporal-backed apps/workflows app.organizationId and projectId in domain-event payloads, topic/task payloads, and workflow inputs by default. Exceptions: MagicLinkEmailRequested, InvitationEmailRequested, UserDeletionRequested, the domain-events topic payload, the magic-link-email topic payload, the invitation-email topic payload, and the user-deletion topic payload.OutboxWriter for transactional boundaries and direct EventsPublisher publication for non-transactional or high-volume worker flows. Downstream side effects should run from the domain-event consumers rather than inline in the delayed task.When adding a new external system the product talks to:
packages/platform/*-<provider>.For env var naming when wiring config, see env-configuration. For layer rules, see architecture-boundaries.
data-ai
Continuous Agentation annotation handling. Use when the user says "watch mode", asks you to watch for Agentation annotations, process feedback as it arrives, or keep fixing annotation-driven changes until told to stop or a timeout is reached.
development
apps/web UI — routes, @repo/ui, TanStack Start server functions and collections, forms, Tailwind layout rules, design-system updates, and useEffect / useMountEffect policy.
tools
Installing dependencies, running dev/build/test/lint, filtering packages, single-test runs, git hooks, preparing a clone (.env.development / .env.test), or Docker-backed local services and dev servers.
tools
Writing or debugging tests, choosing unit vs integration style, Postgres/ClickHouse tests, regenerating ClickHouse test schema, or exporting test helpers from packages without pulling test code into production bundles.