What does ‘You’re a keeper’ mean?

You’re a keeper – used affectionately to describe someone who is nice or someone who has a good attribute. For example, you might hear “You can cook – you’re such a keeper.”