In retrospect, she had Palpatine’s blood in her. Midochlorian count out the wazoo. At the time, they clearly established that she had skills with her staff and technology from all her years on Jakku as a scavenger. Yeah, I’ll give it to you that she probably shouldn’t have just beaten Kylo first...