Build and review an AWS SQS consumer correctly — classify every error terminal vs retryable, delete only after the downstream write succeeds, match visibility timeout to handler runtime, confirm the redrive policy and DLQ, handle partial batch failures, and make handlers idempotent. Use when building an SQS consumer, reviewing one, or when messages redeliver forever / land in the DLQ unexpectedly.