I still don't know WTF "code quality" means. Do I need to buy an even-longer book to really understand it? Where can I hire someone to properly consulant-splain it to me?
Some things that can help move towards higher quality code: - avoid duplicated code - especially when it's similar but subtly different - variable names that mean something useful - lower code nesting - shorter functions - fewer parameters
Many of these things are focused on improving how understandable / maintainable the code is.
But, as for novels, there aren't just rules you can follow blindly.
Perhaps this helps: https://garywoodfine.com/what-is-clean-code/