How wide of an opening for framing cabinets
People usually assume that framing will be out of plumb and/or not straight, so allow an extra inch or two in the finished opening. That gap gets filled by filler strip that's custom scribed to the opening.