Protein shake diet for weight loss: Meal plans and side effects

How does the protein shake diet work, what may be the risks and side effects, and how might a protein shake diet be safely implemented?