Given that the Chef Feat lets you boost Wisdom, I'd expect a GM who's looked in Tasha's to make it a Wisdom check--though Dex might work if one needed to fabricate some vegetables or bone poultry in a hurry, and Int would certainly make sense to recall a specific recipe.But I'm sure a 5e D&D GM could call for some sort of check - DEX? INT? - to see how well a PC cooks a dish.
I'm ... assaying humor, not arguing. Promise.