I think you learned the wrong trick. The "trick" is to not have a trick. Use mature, respectful language and not echo the divisive political language wielded by activists.
Of course everyone should do their best in being sensitive in their ways of expressing themselves. But many people could definitely show a little bit more generosity in their interpretations and not jump on every chance to interpret something like racism or sexism.
Resorting to advice that consists entirely of race/gender stereotyping isn't “mature, respectful language”.