Meals are made in a Food Replicator. Build that replicator in a Manufacturer (that uses manufacturing). Cooking in it uses your cooking skill. Algae is a good early ingredient.
Right click the Food Replicator to open the assemble window. The green top bar is your cooking level and your points toward the next level. The ? on the right of that bar opens this page.
Recipe cards work the same way as manufacturing, but they check cooking:
Cooking does not fail. Being under complexity costs extra ingredients, not a ruined meal. Each finished meal adds cooking points equal to its complexity.