Most chord formations are closely related to the five basic major chord shapes. To remember these shapes, think of the word CAGED.
Practice changing between all of these shapes - C to A, C to G, C to E, C to G, A to E, D to G etc, slowly with your metronome until you have them memorized and can instantly move from one chord to any other chord.