Reference to the infamous Captain James Tiberius Kirk of the starship Enterprise on the television series Star Trek and his creative solutions to seemingly impossible situations, problems, and interpersonal impasses.
WWKD suggests the solution to a problem lies in the question of "what would Captain Kirk do in my situation?"
Cadet 1: I'm facing an impossible test tomorrow with no way to win, only ways to lose well. But I hate to lose. What do I do?
Cadet 2: WWKD?
Cadet 1: Break into the Academy computer systems and reprogram the test to add a victory option!
Cadet 2: Brilliant.
First Officer: Pirates have disabled us and plan to take our ship! We have no way of fighting back. What do we do?
First Officer: Let them board us and then blow up the ship and them with it as we escape!
Captain: You have your orders.
Answer: He'd shag her, and make sure he did it in such a way that she wanted more.
Dilemma: There's a dangerous trip to an unexplored region. WWKD?
Answer: He'd lead the group going in and bring along his best friends.