to the letter idiom
一丝不苟地;丝毫不差地
If you obey instructions or rules to the letter, you do exactly what you have been told to do, giving great attention to every detail.
I followed the instructions to the letter and it still went wrong. 我严格按指令行事,但还是出了问题。