In a large mixing bowl, combine cold mashed potatoes, gluten-free flour, nutritional yeast, garlic powder, salt, and pepper.
Mix with a fork until a workable, cohesive potato dough forms.
Divide dough into six equal balls, flattening each into a 0.5-inch thick patty in your palm.
Place a heaping tablespoon of sauteed spinach and onion in the center of each patty.
Fold edges inward around filling, pinching gently to enclose and shaping back into a smooth round disc.
Heat avocado oil in a large heavy skillet over medium heat.
Add potato cakes in a single layer, frying for five minutes undisturbed until deeply golden brown.
Carefully flip with a thin spatula and fry for four to five minutes on the reverse side.
Transfer to a paper towel-lined plate, rest for two minutes, and serve warm.