  Large deviation theory provides the framework to study the probability of
rare fluctuations of time-averaged observables, opening new avenues of research
in nonequilibrium physics. One of the most appealing results within this
context are dynamical phase transitions (DPTs), which might occur at the level
of trajectories in order to maximize the probability of sustaining a rare
event. While the Macroscopic Fluctuation Theory has underpinned much recent
progress on the understanding of symmetry-breaking DPTs in driven diffusive
systems, their microscopic characterization is still challenging. In this work
we shed light on the general spectral mechanism giving rise to continuous DPTs
not only for driven diffusive systems, but for any jump process in which a
discrete $\mathbb{Z}_n$ symmetry is broken. By means of a symmetry-aided
spectral analysis of the Doob-transformed dynamics, we provide the conditions
whereby symmetry-breaking DPTs might emerge and how the different dynamical
phases arise from the specific structure of the degenerate eigenvectors. We
show explicitly how all symmetry-breaking features are encoded in the
subleading eigenvectors of the degenerate manifold. Moreover, by partitioning
configuration space into equivalence classes according to a proper order
parameter, we achieve a substantial dimensional reduction which allows for the
quantitative characterization of the spectral fingerprints of DPTs. We
illustrate our predictions in three paradigmatic many-body systems: (i) the 1D
boundary-driven weakly asymmetric exclusion process (WASEP), which exhibits a
particle-hole symmetry-breaking DPT for current fluctuations, (ii) the $3$ and
$4$-state Potts model, which displays discrete rotational symmetry-breaking DPT
for energy fluctuations, and (iii) the closed WASEP which presents a continuous
symmetry-breaking DPT to a time-crystal phase characterized by a rotating
condensate.
