Extemporaneous action. Improvise, such as giving a speech without preparation. Also refers to acting without prior knowledge but comprehending a solution.
“I didn’t have time to prepare a report for our Monday meeting, so when I was called on by the boss, I just had to wing-it.”