Smart prompt generator