Code review Recommended
Prefer the patterns the industry knows
Solve common problems with the patterns and libraries most developers already know. Invent a new pattern only when the known ones fail.
How to do it
Before a custom solution, check the framework's own way, the standard library and widely used packages. Name the pattern in the code, such as OrderRepository or PaymentGateway, so readers recognise it.
How to check
The review answers question 1 by naming the standard pattern, or by saying why none fits.
For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers architecture playbook: https://agentwranglers.se/playbook/architecture/code-review/industry-standard-patterns.