Shuri is the smartest person in the Marvel Cinematic Universe, according to the writers of Avengers: Infinity War.
Writers Christopher Markus and Stephen McFeeley made the pronouncement in their commentary track for the film (via The Wrap). The evidence of Shuri's incomparable genius is all over Black Panther and Infinity War - it was Shuri who figured out how to rewire the Vision, and she developed the incredible technology of Wakanda.
But Shuri's not the only MCU character with a grand vision - the writers also confirmed that Doctor Strange has a plan to defeat Thanos based on his vision of possible futures, and his actions in Infinity War are in service of that goal.
In the film, Strange surrenders the Time Stone to Thanos to stop him from killing Tony Stark, giving Thanos one of the final pieces he needs to destroy half the life in the universe. But prior to that, Strange uses the Time Stone to view possible futures, finding only one out of millions where the heroes are successful. In their commentary, Markus and McFeeley confirmed that Strange's actions following his vision are meant to reach that conclusion - whatever it may be.
Avengers: Infinity War is available on digital video platforms now.