Ask students what actually shapes a good team.
Before you can form teams, you need more than a class list. Teamer's formation surveys collect the things that make or break group work: when students are free, what they can do, who they work well with, and what they want to build.
Availability
Weekly time blocks
Skills and strengths
What you bring
Preferred teammates
Who you would pick