Microwave the fork-pricked sweet potatoes for 6 to 8 minutes, or cook them by boiling or roasting instead. Whichever method you choose, look for a fork to slide easily into the center.
Peel the cooked sweet potatoes and mash the flesh. Press out any lumps until the mash looks even throughout.
Whisk the egg into the mash in a large bowl. Stop when no streaks of egg remain.
Whisk the salt into the 200 grams of flour, then stir in half the sweet potato mixture and work in the remaining half with a few gentle presses. The first addition will look shaggy, while the second should bring it together into a tacky dough.
Cover the dough and let it rest for 15 to 30 minutes. Keep it covered so the surface stays soft.
Turn the dough onto the counter and knead for about 1 to 2 minutes, dusting with flour as needed. Stop once it’s smooth and workable, even if it still feels a little sticky.
Divide the dough into 8 portions with a bench scraper and roll each portion on the floured counter into a long rope. Each rope should look smooth and lift without losing its shape.
Cut the ropes into 1-inch pieces with the bench scraper, halving the pieces again if you prefer smaller bites. The cut pieces will swell as they cook.
Dust the cut gnocchi lightly with flour, then boil them right away or transfer them to a plastic bag to freeze. The dusting helps keep the cut surfaces from sticking together.
Bring a pot of water to a boil, salt it generously, and cook the gnocchi in two batches for about 3 to 4 minutes per batch. Lift the dumplings out as they rise to the surface.