Rebuilding is a similar to the way you built skills in the first place, but in an abbreviated format. Start with some recreational riding and base miles/training then keep challenging yourself. As you meet each goal, set new ones. It won't take you long to rebuild both the physical and mental stamina and skills you had before. Even after a few weeks off the bike, I feel like I've lost a lot, but a few rides later it all comes back.