home / skills / makfly / superpowers-symfony / symfony-scheduler
This skill helps implement resilient Symfony async workflows with idempotent handlers, retries, and observability for scheduler tasks.
npx playbooks add skill makfly/superpowers-symfony --skill symfony-schedulerReview the files below or copy the command above to add this skill to your agents.
---
name: symfony:symfony-scheduler
allowed-tools:
- Read
- Write
- Edit
- Bash
- Glob
- Grep
description: Implement resilient Symfony async workflows with idempotency, retries, and operational visibility. Use for symfony scheduler tasks.
---
# Symfony Scheduler (Symfony)
## Use when
- Implementing asynchronous workflows with Messenger/Scheduler/Cache.
- Stabilizing retries and failure transports.
## Default workflow
1. Define async contract and delivery semantics.
2. Implement idempotent handlers and routing strategy.
2. Configure retries, failure transport, and observability.
2. Validate success/failure replay scenarios.
## Guardrails
- Assume at-least-once delivery, not exactly-once.
- Keep handlers deterministic and side-effect aware.
- Surface poison-message handling strategy.
## Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
## Output contract
- Async config/handlers updated.
- Retry/failure policy decisions.
- Operational validation evidence.
## References
- `reference.md`
- `docs/complexity-tiers.md`
This skill helps implement resilient asynchronous workflows for Symfony Scheduler, focusing on idempotency, retries, and operational visibility. It provides guidance to update async contracts, handlers, and retry/failure policies to operate reliably under at-least-once delivery. The result is a hardened scheduler setup with clear operational controls and validation steps.
The skill inspects your async contract, delivery semantics, and handler implementations to identify non-determinism and side effects. It recommends idempotency patterns, routing and retry configuration for Symfony Messenger/Scheduler, and a failure transport strategy. It also defines observable signals and validation steps to prove safe replay and recovery.
Do I need exactly-once semantics?
No. This skill assumes at-least-once delivery and focuses on idempotency and safe retries rather than trying to enforce exactly-once at the transport level.
How do I validate that replays are safe?
Capture representative inputs and run them against handlers in an isolated environment. Verify state is unchanged for retried payloads or that compensating actions are applied deterministically.