OD Modeler Primitives allows you to quickly create primitive objects that are UV and subD friendly. This is a Modeler plugin and also a generic Layout plugin. If called without arguments, a UI will be presented, however, it can also be called headless with arguments:

Options:

Here's a how-to video showing OD Create Modeler/Layout Primitives in action.