Kepp the water clean! I was away for 10 days and didn't get to clean the tank, and one of my shrimp died. They're quite sensitive.
Other than that, make sure they also have small hiding places where they can molt without being injured.
Mine would just eat whatever I fed my girls. Pellets, brine shrimp (canibalism!?), and I occasionally fed them little pieces of tropical fish flakes.
Puck (Yellow koi HM king) / Scar (White HM) / Salt 'n Pepper (Silver HMPK) / 'That fish' (Copper butterfly HM) / No name (White DT) / No name 2 (Turquoise/white marble HM) / No name 3 (Lilac HM)
Bo Peep (Cambodian VT) / Goldilocks (Yellow VT) / Joie de Vivre (Multicolour VT) / Lil' Peep (Blue VT) / No name (Dalmatian VT) / No name 2