The first thing I check on a yellow skirt is how it looks away from the window, under ordinary light, because shop lighting flatters yellow in a way that your hallway mirror never will. A good one still looks warm and clean when you hold it up at home, not sickly or dated. If it goes slightly green or a bit chalky the moment you step away from the shop front, that's the fabric and dye telling you something, and it won't improve with age.
If you've never owned one, start with something in a soft, worn in cotton or a light denim, in a mid shade rather than anything pale or neon. A fuller skirt in a mid yellow sits nicely against most skin tones and most of what's already in your wardrobe, and it's forgiving if you've eaten too much lunch. Pale lemon is lovely on the hanger but shows every crease and every mark, and bright, almost fluorescent yellow needs a lot of confidence and the right occasion, so neither is where I'd begin.
For colours that are easiest to live with day to day, mustard and a deeper ochre do more work than you'd expect, because they read as a neutral almost, sitting happily with navy, white, grey and black without ever looking like you've made an effort you didn't want to make. A warmer, slightly golden yellow is softer on most people than a sharp, cool lemon, which can wash some of us out around the face. If you're buying one piece to wear often, I'd pick the shade that looks good next to your everyday coat, not just against the dress you tried it on with.
How it wears over months depends almost entirely on the weave. A looser cotton will soften and relax with wearing, which feels lovely but means it also creases more and needs a proper iron rather than a quick steam. A tighter cotton or a cotton blend with a touch of stretch holds its shape for longer and resists that tired, limp look that pale yellow skirts get by about month three. Wash on a cool cycle, inside out, away from anything dark, and skip the tumble dryer if you can, because heat is what dulls yellow fastest and turns crisp cotton papery. Hung to dry, a decent yellow skirt will still look fresh at the end of a season rather than faded at the edges.
This one suits anyone who wants colour without shouting, and feels better worn often rather than saved for best.
There's more in the same spirit over in white skirts.