Ride down a hill and through an intersection, fast. Weave out to dodge the car in the bike lane. Weave back in to dodge the traffic, which is slowing.
Get on your brakes, as a taxi slows more than expected. Get off the brakes because your wheels are about to lock up.
Moment of panic.
Hit the back of the taxi.
No damage. Peer in and see no sign passenger or driver is even aware of what you've done. Continue up the bike lane. Consider looking over your shoulder. Instead take the next left and next right, to lose them.
BONUS TIP: Take three to four days of shame, guilt and trying not to think about it before you can tell this story to anyone.