I generally find that rephrasing "you are" to "you have" is powerful. "You've said something racist" vs. "You're a racist"; "This paper is written badly" vs. "The authors write badly"; "You have an addiction" vs. "You are an addict". etc.
Separating the action from the actor seems to make us a lot more willing to quit/change our questionable actions.