What problem does it solve? Building a background worker that correctly claims items from a work queue, renews leases, fences stale holders, and shuts down cleanly involves many interlocking pieces that are easy to get wrong. This Skill generates the entire worker role and, when needed, the underlying work namespace, following a prescribed architecture. ## Core Features & Use Cases - Work Namespace Scaffolding: Creates the work namespace with manager, storage interfaces, Postgres and memory implementations, migrations, and contract, unit, and integration tests when it does not yet exist. - Worker Role Generation: Writes the worker distribution with settings, handler, container, claim-handle-complete loop, lease renewal with self-fencing, liveness heartbeat, drain-first shutdown, maintenance sweep, Dockerfile, and tests. - Infrastructure Wiring: Updates Terraform modules per environment, deploy workflows, docker-compose, workspace members, and arch-check configuration so the new worker passes the fast gate. - Use Case: Run the skill with shipment-notifier NOTIFY_SHIPMENT to produce a complete worker that claims NOTIFY_SHIPMENT items, renews leases, and integrates with the outbox relay and deployment pipeline. ## Quick Start Ask the AI to create a worker named shipment-notifier for the work kind NOTIFY_SHIPMENT using this scaffold skill.