Configure Doc Team Roles
Every documentation draft SudoDocs produces - whether you started it yourself with Author a Feature or it arrived automatically through Docflows - passes through three roles before a human ever sees it:
- Information Architect: Decides where the content belongs (a new page, or an update to an existing one), audits your existing documentation for anything the change makes outdated, sets the section outline the Writer must follow, and decides whether the change is significant enough to warrant a generated architecture diagram (see Author a Feature). This diagram judgment isn't part of the editable instructions below - it's a fixed part of the role.
- Technical Writer: Drafts the content against that outline.
- Editor: Reviews the Writer's draft with fresh eyes - it never sees the Writer's own instructions, only the finished draft, the outline it should match, and the same source material the Writer had. It decides whether an issue is blocking (sends the draft back to the Writer for one more pass) or a suggestion (recorded, doesn't hold up the draft).
Each role's judgment is admin-configurable per organization, separately from your Knowledge Base style guide and terminology - the Knowledge Base controls how things are worded, Doc Team Roles controls what each role prioritizes and checks for.
Edit Role Instructions
- Navigate to Admin Dashboard.
- Open the Roles tab.
- You'll see three boxes, one per role, each pre-filled with a greyed-out placeholder showing the built-in default. An empty box means that role is using the default - you don't need to fill in all three to customize one.
- Type your own instructions into any box to override the default for that role.
- Click Save Role Instructions.
Changes apply to everything written afterward - you don't configure each tool separately. See Where the Roles Apply.
Note: Only the judgment portion of each role's prompt is editable here. The structural contract that keeps SudoDocs' review pipeline working - what format each role responds in, how a draft moves between roles - stays fixed, so nothing you write here can break the pipeline itself.
Where the Roles Apply
These are SudoDocs' own built-in roles, not people on your team. Your writers and admins don't take on a role; SudoDocs uses the instructions you write here whenever it writes or revises documentation:
| Where | Information Architect | Technical Writer | Editor |
|---|---|---|---|
| Author a Feature | Plans the page | Drafts and revises | Reviews every round, and suggests the release-notes line |
| Docflows suggestions | Plans which files change | Drafts and revises | Reviews the whole set |
| Request changes on a Docflows card | - | Makes your requested changes | Reviews the result |
| Sync Latest Code | - | Writes what's missing | Reviews it |
| Mentioning SudoDocs on a docs pull request | - | Makes the change | Reviews it; nothing is pushed while it has blocking issues |
| Release Composer | - | Writes every entry | Checks every queued item is there once, in its section, with nothing invented |
| Universal Converter reference pages | - | Writes the page | Checks it against your spec or values file: nothing invented, nothing missing |
| API Readiness AI fixes | - | Writes the descriptions and summaries | Reviews only the text the fix wrote or changed |
| DocOps Assistant Author, Rewrite and Release Note | - | Writes the draft | Checks it against your request and the docs it found |
The Assistant's Discuss and Analyze Doc Gaps modes answer questions rather than write documentation, so they don't use the roles. Capture captions and Diagram Generator diagrams don't either.
When the Editor marks something as blocking, the Writer gets another pass. If the Editor still has open issues after that, SudoDocs doesn't hide them: the draft or suggestion is flagged with what's still open.
What to Write for Each Role
Think of each box as onboarding notes for a new hire in that role: what should they always check, always do, or never do, that a generic technical writer or editor wouldn't automatically know about your organization?
Information Architect
Good candidates: naming and folder conventions, how you want new vs. updated content weighted, or how your product categories should influence placement.
Place all API reference content under docs/api-reference/, grouped by
resource name (e.g. docs/api-reference/users.md), never by HTTP method.
If a change touches both a public and an internal-only endpoint, only
document the public one unless the ticket explicitly says otherwise.
When Org_Product_Categories includes "Notifications", prefer grouping
new content alongside the existing notifications docs even if the
existing-doc match isn't exact.
Technical Writer
Good candidates: house style rules that go beyond your base framework, formatting conventions for specific content types, or things you're tired of manually fixing after every draft.
Every procedure must end with a "Verify" step describing what the user
should see if it worked. Never use "simply" or "just" to describe a
step. Code samples must include error handling, not just the happy
path. Always write a one-line "Prerequisites" note even if the answer
is "None" - do not omit the section.
Editor
Good candidates: compliance or completeness rules you want enforced automatically, or the specific mistakes you keep catching in review.
Treat a missing rate-limit note on any API endpoint as blocking, not a
suggestion. Treat any code sample without error handling as blocking.
Flag (as a suggestion) any sentence written in passive voice. Do not
block a draft solely for minor wording preferences - reserve blocking
for factual gaps, missing required sections, or compliance issues.
Verifying a Change Took Effect
Role instructions apply the next time a draft is generated - editing them doesn't retroactively change drafts already in progress or already published. To confirm a change is live:
- Save your new instructions.
- Generate a new draft with Author a Feature (or wait for the next Docflows suggestion).
- Open the draft's History on the Pipeline Review page - or a Docflows card's Review history - and check the Editor's comments. They should reflect your new instruction.
See Also
- Configure the Knowledge Base - style guide, terminology, and product categories, which every role already reads alongside its instructions here.
- Author a Feature - the manually-initiated path through this same pipeline.
- Manage Docflows - the automatically-initiated path through this same pipeline.
- Compose Release Notes - release notes written by the Technical Writer and checked by the Editor.
- CLI Tasks → Doc Team Roles - script role instruction changes.