You tell it what kind of doc you want, attach any necessary links/files/repo paths/etc, then it asks you clarifying questions until it has the data it needs. Then it authors a doc and give you a review interface. You can approve, request more info, request changes, make direct edits, etc. Then submit and makes edits until and represents until you approve all sections.