I don't think there is such a book. Or a course. Or a language. Or even a fool proof plan for acquisition of the requisite knowledge. As with any skill, practice is key. An initial aptitude helps, but without practice on a good range of practical applications, the aptitude can be stilted or still born. And some will never get it no matter how hard they try.
There are several books that I would heartily recommend, because I feel I benefitted from them, but they may leave others cold, confused or just outright dissatisfied. The book is only half of the equation and different readers need different things from their books in order to arrive at the same place.