Check this post out: https://news.ycombinator.com/item?id=22792829. Some relevant tips in there to what you describe. The book in the top comment wasn’t a panacea for me but it was helpful in working through some of the issues you describe (or my personal version of them at least).