Heat the olive oil in a large skillet over medium-high heat.
Add the minced garlic and chopped red bell pepper.
Cook for 3–4 minutes, stirring frequently, until fragrant and softened.
Stir in the chopped potatoes.
Season with salt and black pepper.
Cover the skillet and cook for approximately 15 minutes, stirring occasionally, until the potatoes are tender and lightly golden.
Add the chopped kale to the skillet.
Stir in half of the basil pesto.
Cook for 2–3 minutes until the kale softens.
Create four small spaces in the vegetable mixture.
Crack one egg into each space.
Cover the skillet and cook until the egg whites are set while the yolks remain slightly runny, about 4–6 minutes.
Remove from the heat.
Drizzle the remaining basil pesto over the skillet.
Sprinkle with crumbled feta cheese if desired.
Serve immediately while warm.