Even though I think quality animation is genuinely a important thing in anime. I think good enough writing can overcome "average" animation quality in cases of Crest of the stars and Spice and wolf but it's not something that happens regularly at all (or should at all), since most anime writing sucks anyway.
So writing is not important except when it is. Gotcha.