Spontaneous formation of secondary phases like gamma-NiOOH leads to electrochemical degradation. Preventing these surface transformations maintains capacity and cycle life.