faif/python-patterns ? reverse-engineered prompt
Reverse engineered prompt
Build me a clean Python repo that shows common design patterns and idioms with small, easy to read examples. I want each pattern to be its own simple module, grouped by creational, structural, and behavioral patterns, with short comments that explain what problem it solves and when you might choose it. Keep the examples practical, not overengineered, and make sure they are easy to run and test.
Also add a few basic tests so the examples actually work, and make the README feel like a helpful guide for someone learning the patterns for the first time. If anything is unclear from the existing examples or docs, look up the current Python style and best practices online and keep the code modern and readable.
Are you gonna build this?
make sure you review the code using coderabbit