She has her lines off pat for the school play.
off pat
idiomSynonym of down pat.
Origin
disputed originUnknown; see down pat § Etymology.
The student practiced his presentation until he had every detail off pat for the exam.
Having rehearsed the complex sequence of movements for weeks, the dancer had the entire routine off pat before the opening night.