There obviously is not a one-size-fits-all approach here, but the way I think about this boils down to a few things:
- Create and foster a culture of learning and collaboration amongst your team, and enable folx to solve interesting problems together without someone constantly looking over their shoulder. When your team is learning and growing together with autonomy, that can sometimes be a tough thing to recreate somewhere else.
- Expanding on that, top talent will always value autonomy and trust in their work. I lean towards giving my team almost too much autonomy - the best way for them to learn is to learn from mistakes and figuring things out on their own, but it's also an important skill to know when to ask for help.
- Advocate tirelessly for your team and your top talent - that can apply to comp/promotions, visibility and exposure at a big company, or giving frequent positive and constructive feedback. I've been really lucky to have worked for managers who have advocated tirelessly for me and as an employee I really valued that. Working with a manager who knows your skillset and body of work well is super valuable so make it clear to your team how much you value them and then execute on that.