Working on the shoulder movement is great and very beneficial but I propose to work on the entire area to facilitate less injury and less taxing of the joint itself.
The plan has two stages:
Stand first facing the wall and use your hands to walk up and down the wall keeping from locking your joints and working from the body.
Do the same facing away from the wall (place something soft under you if you fear head contact with the ground)
PROGRESS to the second stage once comfortable with one using both sides
2 Sit on your behind and rise your body on hands and feet or fists and feet if you are a martial artist and want better wrist control. Start walking back and forth and from time to time change from facing up and facing down walking.
The best part is the last here: rise to a bridge and hold for a while. When you are comfortable holding for sixty relaxed breaths start raising each limb at a time going in circles and once this is easy start walking while in the bridge and transferring between the stages as you move.
Changing speeds of travel will also benefit this drill and your health greatly. Moving fast at times and super slow at others will create a whole movement other choices will not create.
You will not have another shoulder problem again unless you are in the way of a bullet or a knife.