If I'm interviewing someone for a programming job and I have questions about how I'd best assess whether the candidate actually has a particular skill, would that be an on-topic questions?
An example I'd have in mind would be a question like
"I'm interviewing someone for an entry-level programming job and want to assess if they can produce clean code and use test-driven development. What would be a good way to check that?"