This is a little Blender shader node group which converts the output of a Bump node into a tangent space normal map. Useful if you want to create a normal map from a shader without the need for baking ...
My normal map ends up completely wrong/sharp/facing the wrong direction. This can happen if your model has un-applied rotation. Select all and Ctrl+A -> "Apply all transforms" before baking. Try ...