Contractors are closing the skills gap with smarter training. Here’s what they’re doing.