Badly out in the spelling of "lively" (6)
I believe the answer is:
evilly
'badly out in the spelling' is the definition.
I can't tell whether this defines the answer.
'of lively' is the wordplay.
'of' is an anagram indicator (the answer comes from or \'of\' the letters).
'lively' is an anagram of 'EVILLY'.
Can you help me to learn more?
(Other definitions for evilly that I've seen before include "In wicked or depraved way" , "Extremely wickedly" , "In a very wicked manner" , "in a bad way" , "With wicked intent" .)