Photoshop Tips - Create a slanted rectangle box for titles

During the course of my work, I need to create posters which need to put in titles. Normally my titles are all behind square rectangle boxes.

Recently I see people make slanted rectangle box and was wondering how they did it, did some googling and found that it's quite easy using the transform tool (CTRL+T).  Just select the rectangle, select the transform tool (CTRL+T) then right click select "Skew", adjust the slant -ness of the rectangle and click enter key to confirm.

Before

After