Combine the sliced red onion, lime juice, and salt. Let it sit while you prep everything else.
Heat the oven to 425°F. Toss the sweet potato with a little oil, ½ Tbsp cumin, 1 tsp coriander, and salt. Roast until tender and browned at the edges, 25 to 30 minutes.
Meanwhile, sauté the onion and garlic in a little oil. Add ½ Tbsp cumin, 1 tsp coriander, and a pinch of salt. Stir in the beans (drain most of the liquid) until warmed through.
Toss the roasted sweet potato into the bean mixture just before serving. Add a pinch of smoked paprika here if you like.
Mash the avocados with the garlic, salt, pepper, and lime juice. Mix in the tomatoes.
Warm the tortillas, fill with the bean and sweet potato mixture, and top with guacamole and pickled onions. Add slaw if you like.