To get the achievement, prepare a meal of perfect quality.
takuto neko notes that this must be as you create it: you cannot create a less-than-perfect meal and then 'kick it up a notch'.
There are several factors which affect the quality of a meal that your sims can prepare.
1. Cooking skillYou can improve your cooking skill by reading cooking book available from the library and bookshop, watching the cookery channel on tv, and by actually cooking!
2. Appliance QualityThe more expensive, the better. In buy mode, each appliance tells you the quality of that item. Note that if a sim has high repair skills, you can improve some kitchen appliances to result in better food.
3. TraitsThe 'Natural Cook' trait and the 'Perfectionist' trait.
If trying for this achievement with a new sim, choose these traits. You can also use the lifetime reward 'Mid-life Crisis' to re-choose your traits.
4. Skill ChallengesMenu Maven is an easy enough challenge to complete. Simply have your sim watch the cooking channel whenever possible. As well as improving the cooking skill level, you will pick up recipes from time to time. You need to max out the cooking skill to learn the last recipe. Any recipes you don't learn from the cooking channel you can also buy from the bookshop.
5. PracticeThe more a sim prepares a meal, the better they get at making it. Simply have your sim only ever cook one kind of meal for each mealtime, and they should get better at it eventually.
6. Ingredient QualityFor the meals that you can provide ingredients for (see in-game skill journal) the higher the quality of ingredients will result in higher quality food.
If you use normal quality apples to make apple pancakes, it will be of a lesser quality than one made with perfect quality apples. Having a sim with the gardening skill to provide ingredients may be a good idea.