it is quite hard to be analytical with it, in that every op amp and active device has a unique model, each with 50 or so tolerances from manufacture,
though there are a few small ways to always stablise circuits, each has there downfalls,
a small capacitance (pF) between the output and inverting input will slow down your op amps slew rate, which for some fast loops can increase stability
for capacitive loads, e.g. a large powerfet, a buffer resistance will help stability by making sure the op amp doesnt saturate at its outputs from current draw.
there the basics and 90% of the time outside of simulation those 2 tweaks are all that is needed,