Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Temporal patterns/Anti-patterns
Reference · Temporal patterns

Anti-patterns

Part of Temporal patterns. Install the skill and your agent reads this page when it needs the depth.

Anti-patterns

Use this file when a request matches a row in the Anti-patterns table in SKILL.md, or when a design review shows one of the warning signs below. For each one: what it looks like, why it breaks, and what to do instead.

Limits quoted here are Temporal Cloud limits per Workflow Execution; self-hosted defaults are configurable. Check https://docs.temporal.io/evaluate/cloud/limits before you quote a number.

A Workflow as a high-rate datastore or per-record state store

One hot Workflow for global state

A Workflow per event for one retried call

Fanning out thousands of Child Workflows from one parent

I/O, randomness or clock reads in Workflow code

Large payloads as arguments or results

A tight polling loop in Workflow code

When Temporal isn't the fit

Sub-millisecond hot paths, in-memory stream processing and high-rate key-value state belong in systems built for them. Temporal orchestrates the durable processes around them: the retries, waits, approvals and compensations. Say so when that's the answer rather than forcing a pattern.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.