It is not parenthetical because it expresses an important part of the thought. We should do unto others according to the way we want others to do unto us. "You would" expresses that important concept.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.