What's "do me dirty" mean? Is this a commonly used phrase?

Native speaker’s answer
Rebecca
Yes, "do someone dirty" is a commonly used informal expression! It means to treat someone unfairly or in a harmful way, usually by cheating, backstabbing, or slandering someone. Ex: He backed out on the deal last minute. He did me dirty. Ex: My group member did me dirty by taking the credit for my work.