Goalkeepers cannot be deficient when it comes to passing the ball. Both short and long passes. The longer the pass, the better technique is required, so the more important it is to work on it.
The goalkeeper must hold the ball tightly, turn his body to achieve more power, take a step forward to stabilise his body (avoid going forward) and throw the ball with an angle between his arm and forearm of more than 90º.
The pass can be direct or lobbed, depending on the specific need. A pass that is too strong, even if it goes to the team-mate, can be difficult to catch. A pass that is lobbed too high may be intercepted or too slow to be of any use.
Passing work can be done analytically, making passes with another goalkeeper or against the wall. Or it can be included in the work with the rest of the team. For example, after a shot the goalkeeper looks for the ball and quickly passes it to a teammate far away (the last one in the line, for example).