Currently the shear tool doesn't support setting the axis XYZ, Local/Global etc. As translate or scale do.
Internally this is supported (the gizmo can do this), however there is no way to access this functionality using keyboard shortcuts.
Note that some design is needed for this task since shear has a secondary axis - unlike most other transform modes.
There will need to be a key assigned to cycle between the secondary axis too.