How to cook baked sweet potatoes perfectly each time. Here is the secret for getting crispy, puffy caramelized skin with a soft, sweet, gooey center. Not only are these sweet potatoes easy, they are also quick to cook. You can easily cook these in the oven or the air fryer to save time.