Wash and prick the potatoes all over with a fork. You can either bake or boil* the potatoes – opt for instant pot baked potatoes, air fryer baked potatoes, or traditional oven-baked potatoes until they are easily pierced with a fork. Allow the potatoes to cool until they can be handled comfortably. Peel and slice each potato into four pieces. Using a potato ricer, press each piece onto a clean work surface.
Drizzle the beaten egg over the riced potatoes and scatter small dots of ricotta cheese over the top. Mix the salt and pepper into the flour, then sift this mixture over the potatoes. Using a bench scraper or your hands, lightly combine the ingredients. Gently press the dough together without over-kneading to keep it light and airy. Knead just enough to form a smooth and soft dough.
Divide the dough into eight portions. Generously dust your work surface and roll each portion into a long strip about 1/2 inch thick. Cut these strips into 1-inch pieces. For a traditional look, roll each piece over a floured fork or gnocchi paddle to create ridges. Place the formed gnocchi on a parchment-lined and flour-dusted baking sheet in a single layer. Repeat with the remaining dough, dusting with flour as necessary.
Prepare your preferred serving option before cooking the gnocchi (see options above). Cook the gnocchi in batches of 3-4 in salted water (use 1 1/2 tablespoons of salt for a half pot of water). Avoid overcrowding the pot and give a gentle stir to prevent sticking. As soon as the gnocchi float to the top, cook for an additional minute. Use a sieve to lift them out, drain, and transfer them to the warm sauce or finish them in a skillet. Repeat the process for the remaining batches.