Generate a custom hook for Sails.js.