With a few smart techniques and ingredients, you can turn a pantry staple into a deeply satisfying meal.