Yeah, you were right in the above comment that that ability does come from having some experience. But the "let's see what's in the fridge" game is a great way to get that experience! You'll undoubtedly mess a few things up, but that's just the process of learning.
It's weird... the more I think about it, the more I ask myself - "it's just like programming, another cool skill to master - why I'm so afraid of experimenting?"...
If I could upvote this a thousand times, I would. The problem, however, is that making a mistake in programming is not so painful. Making a mistake in cooking costs money and is often pretty embarrassing. I can easily see why you'd be more afraid of experimenting here.
Agree strongly RE embarrassing part - for now I just gave up on experimenting while cooking for friends; I tried it once, and they laugh at me ever since. Costs is also a factor, but I notice I'm afraid of experimenting even with small dishes and cheap ingredients the fridge is stocked full of.
I'm starting to realize now that it's just a stupid fear I need to overcome. I'm glad this thread forced me to think more about my attitude towards cooking.
Feel free to write to me privately anytime. I'd love for you to try some of the lessons on CookAcademy and let me know if it helps, too. One thing we're trying to reduce that fear of embarrassment is have a sort of automated helper when you're done. You answer questions about what went wrong and we provide feedback for how to improve it the next time. We also track your progress so you can get a good gauge of where you stand. Are either of those things helpful to you?