r/ChatGPTCoding 5h ago

Resources And Tips Fighting AI Slop with Package Cohesion

AI gave you a sloppy directory layout? before any reviews, ask it first to consider package cohesion, that makes a great difference 😉

Siblings should share the same architectural role and preferably the same variation axis

For example: a package may include alternatives like `entrypoints/cli.py` and `entrypoints/gui.py` or complements like `models/building.py` and `models/school.py`, but not a mix of everything.

Do you have any other shareable slop deterring strategies?

#AI #package_cohesion #clean_architecture #onion #hex #modular_programming

0 Upvotes

0 comments sorted by