N-acylimidates are readily silylated with t-butyldimethylsilyl triflate in the presence of triethylamine to give 2-aza-1,3-dienes. These react with activated nitriles to yield pyrimidin-4-ones.
Bayard, P., Sainte, F., Beaudegnies, R., & Ghosez, L. (1988). A Diels-alder Route Towards Pyrimidin-4-ones. Tetrahedron Letters, 29(31), 3799-3802. https://doi.org/10.1016/S0040-4039(00)82118-8 (Original work published 1988)