Question: idiom has a knack for?
Answer: have (got) a knack for (something) To be exceptionally proficient at (doing) something. I don't know what it is, but David just has a knack for getting under my skin.