Bring a pot of salted water to a boil and cook the chickpea pasta according to package directions until al dente.
While the pasta cooks, season the chicken breast evenly with the sea salt and black pepper.
Heat the olive oil in a skillet over medium-high heat and sear the chicken for 5-6 minutes per side until fully cooked and golden brown.
Remove the chicken from the pan, allow it to rest for 3 minutes, then slice it into thin, bite-sized strips.
In the same skillet, add the minced garlic and sun-dried tomatoes, sautéing for 1 minute until the garlic is fragrant.
Add the baby spinach to the skillet and toss briefly until the leaves are just wilted.
Drain the pasta, reserving 2 tablespoons of the cooking water to help emulsify the sauce.
Add the cooked pasta, sliced chicken, basil pesto, and lemon juice to the skillet with the vegetables.
Toss all ingredients together thoroughly, adding the reserved pasta water if needed, and garnish with red pepper flakes before serving.