Requirement is different for T20 format and test format. In T20, you can't go overaggressive. If you do so, then you may concede 20 runs per over. But in test cricket you need to show aggression, since wicket taking is the priority. In case of Shaheen, this is exactly what happened. He tailored his bowling to suit the T20 leagues, and as a result he can't take wickets in test format. This is why I always say that players need to focus on just one format rather than getting their hands dirty with all three of them. But then, it is up to the PCB to enforce any such rule.
Pakistan needs to find bowlers for each format and prepare them for only specific formats. This way their mentality and the game sense doesn’t change. Shaheen has been struggling lately to take wickets from new balls. In the World Cup although he got a good amount of wickets no one recognized his performance.
Naseem Shah's absence is a big issue here. Haris Rauf is also going out of form. He conceded heavy runs in the World Cup. They need to get back their form. Aamer Jamal is an interesting bowler and if Pakistan can nurture him properly he can become a very good bowler. The pressure will be reduced among the bowlers.
Pakistan also needs to find good spin specialist bowlers. Shadab Khan's recent performance has been very bad and the few matches he performed came from his bat. Nawaz can't perform under pressure and he is not that good of a bowler either.