Benedict Cumberbatch’s Sherlock is what I think of as an example of turning a good character into a Mary Sue. He’s always pulling things out of his ass that he’s inexplicably been planning all along, or surprise he’s incredible at some random thing that just happens to be crucial at the moment.
Every Sherlock is like that to an extent, but that version was the worst.