The answer is obvious and right before your eyes: you can't.
This problem has been examined again and again. The only way to find people with sufficient skill in any field is to test them (formal graded test, not idiosyncratic problems).
No one has ever demonstrated a reliable technique for selecting "great" software developers (or great scientists, or great engineers, &etc).