AI can help build surprisingly capable apps—if you know how to steer it in the right direction. Follow my tips to save yourself time and frustration.