Simple framework for systematic high-fidelity gate operations