The invention provides a compound of formula (I):or a pharmaceutically-acceptable salt thereof, that is an inhibitor of JAK kinases. The invention also provides pharmaceutical compositions comprising such compound, a crystalline form, methods of using such compound to treat inflammatory skin diseases and other diseases, and processes and intermediates useful for preparing such compound.