See, I've never had a problem with this.
1. Yes, Luke had mad potential, but he was still a rawhide. He ran off to Cloud City with his training still in progress.
2. There are, what, 3 years between ESB and ROTJ? So somehow (because script), Luke continued to grow in his abilities and knowledge...