Pillars of Eternity 2 did this pretty well, imo. Your party members could add their skills to conversations, and in certain scripted encounters you could pick which party member would do which item. In a jungle and see some footprints? Make sure the ranger inspects them rather than your wizard. Have to cross a chasm? Send the barbarian to jump over it with a length of rope.