Karacus is honestly really good at writing minorities, mostly because he doesnt sugarcoat them for any virtue points. He writes them as actual characters, pokes fun at them, lets them develop naturally, but never dehumanizes them.
Look at Superjail for example. Alice is unironically one of the best trans characters ever written. Most will discount her has a trans stereotype, which she is (being overly masculine with a bulge, etc.) but notice that she is never misgendered, none of the characters refer to her as male, her coworkers consider her attractive, and the prisoners consider her someone to be respected. Her transexualness is nothing more than a visual gag, if that.
The gays are also really endearing. They got a ton of character development for a walking gay joke. Not only that, nobody in the show treats them any worse for being gay. They even let them get married.
Karakus's modus operendai is that the character starts as a simple joke, then he develops them until you cant help but love them.
Its the same strategy that Mission Hill did, and it had the most well written gays ever.
The trick to writing these characters is to create someone flawed, and never be afraid to make them funny. Poke fun at exactly what they are, and make them likable despite it.