dev-toolings/superpowers-symfony109 installs
symfony-messenger
Async message handling with Symfony Messenger; configure transports (RabbitMQ, Redis, Doctrine); implement handlers, middleware, and retry strategies
How do I install this agent skill?
npx skills add https://github.com/dev-toolings/superpowers-symfony --skill symfony-messengerIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The symfony-messenger skill is a technical guide for implementing asynchronous messaging in Symfony. It uses standard configuration patterns and provides legitimate console commands for development and operations. No security issues were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Symfony Messenger (Symfony)
Use when
- Moving slow or failure-prone work out of the request into a message and an
#[AsMessageHandler]handler. - Choosing a transport (Doctrine, Redis, AMQP,
sync://,in-memory://) and routing messages to it. - Running, sizing, and restarting workers with
messenger:consume. - Making handlers safe under redelivery.
Default workflow
- Create the message as a plain
readonlyclass that carries IDs, never entities. - Write the handler with
#[AsMessageHandler]and a typed__invoke(): refetch by ID, skip work already done. - Route the message with
#[AsMessage('async')]or theroutingkey, and declare the transport DSN inmessenger.yaml. - Set
retry_strategyandfailure_transporton the transport. - Consume with
messenger:consume async -vv, bounded by--limit,--memory-limit, or--time-limit. - Check the wiring with
debug:messengerandmessenger:stats, and usein-memory://in tests.
Guardrails
- Pass entity IDs, never Doctrine entities: proxies and detached state do not serialize cleanly.
- Delivery is at-least-once: a redelivered message must return quietly, not throw.
PriorityStamp,--fetch-size,--no-reset, andstop_worker_on_signalsare marked 8.1+ in the reference: verify the minimum version first.- Restart workers on deploy with
messenger:stop-workers.
Progressive disclosure
- Use this file for execution posture and risk controls.
- Open references when deep implementation details are needed.
Output contract
- The message, its handler, and the routing and transport configuration.
- The retry and failure transport settings.
- The worker command, and the
debug:messengerormessenger:statsoutput that proves the wiring.
References
reference.md
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/dev-toolings/superpowers-symfony/symfony-messenger">View symfony-messenger on skillZs</a>