Lower the heat to medium-low, then add the butter and sliced garlic to the skillet. Cook until the butter melts and the garlic becomes fragrant, just starting to turn golden brown, which usually takes about 2 to 3 minutes. Pour in the chicken stock and white wine, bringing the mixture to a simmer. Let it cook for an additional 2 minutes. Finally, add the peas to the skillet. Evenly pour this mixture over the cooked potatoes, then gently stir to combine. Arrange the chicken thighs on top of the potato mixture, placing them skin-side up. If there are any juices left from the chicken, drizzle them over the top.