General Tips for keeping a project clean and tidy? Hello Everyone,

everytime I try to make a project (regardless if its Unity or GameMaker) I am losing myself in the complexity of my own game mechanics. No matter how Hard I try to use scripts for repetitive Code or group them into folders, at some Point of every project I Just feel overwhelmed and orientationless.

Any advice or Tips from Veterans here?