UV Mapping: Skewed Tile Image
I'm not quite sure, but I believe that you mean "rotated 90°" by "skewed."

You can use a Mapping node in a setup similar to the one below.



Note that this is both an older version of Blender, and gandalf3's image from this BSE question.

From here, I would suggest feeding 90° and -90° values into the Rotation: sockets until your cubeoid  looks right. Do note that the X, Y, and Z values are not related, so what you do to one of them will not affect the others.