authoring-user-docs
Authoring User Docs Action
Produces tutorials, how-to guides, user guides and onboarding guides — the learning-oriented and task-oriented quadrants of the Diátaxis framework.
Load authoring-technical-docs first for the multi-pass workflow, style rules, and quality framework. This action provides the templates and user-doc-specific rules. Then, follow the creation of referenced documents in ´Templates´ section.
Choosing the right type
| Tutorial | How-To Guide | User Guide | Onboarding Guide | |
|---|---|---|---|---|
| Audience | Beginners | Users who know the basics | All experience levels | New team members or developers joining a project |
| Structure | Linear journey | Task-focused | Chapter-style, comprehensive | Sequential, milestone-based |
| Goal | "I learned how this works" | "I accomplished my task" | "I understand the whole product" | "I'm ready to contribute to the project" |
Best Practices for Writing Tutorials
1. Know and Address Your Audience Write in approachable, conversational "you" language rather than formal passive voice. Meet the reader where they are, and don't bury context they need to feel oriented.
2. Get to a Win Early (The "Hello World" Rule) Give users a small, tangible success as soon as possible. Don't front-load pages of theory before the first runnable command — early momentum keeps learners engaged.
3. Explain the "Why" Tutorials are action-heavy by nature, but provide enough context at each step so users understand the logic behind what they're doing, not just the mechanics.
4. Use Consistent Formatting
- Use bold for clickable UI elements (buttons, menus).
- Use
code-stylefor strings, file names, and inline commands. - Use fenced code blocks with syntax highlighting (e.g.,
```python) for all multi-line code. - Separate Command (what the user types) from Output (what they should see).
- Never use screenshots for code — users can't copy-paste from images.
5. Write Idempotent Steps
Where possible, write steps that can be safely re-run without breaking anything. For example, prefer mkdir -p over mkdir so repeated runs don't throw errors. This is especially important for onboarding and setup flows.
6. Define Done with a Validation Step Every tutorial must include a clear check so users know whether they succeeded. If a learner can't verify their own outcome, the tutorial is incomplete.
7. Reduce Setup Friction If the initial setup is tedious, provide a shell script or a link to a completed GitHub repository so learners can get unblocked quickly and focus on the learning objective.
8. Add Troubleshooting Tips Call out common pitfalls briefly at the end of relevant steps. A single sentence like "If you see X error, check Y" can save a learner hours of frustration.
Best Practices for Writing User Guides
1. Write for Your Audience Use clear, non-technical language suited to end-users. Never assume prior context — the first paragraph should orient anyone arriving cold, such as from a search engine.
2. Structure Around Tasks, Not UI Organize content by what users want to achieve, not by how the interface is laid out. This keeps the guide goal-oriented and easier to navigate.
3. Start with Prerequisites Present prerequisites as a checklist so users can verify they're ready before beginning. This prevents frustration mid-procedure.
4. One Action Per Step Don't chain multiple actions in a single step. Each step should be discrete, actionable, and written in plain language.
5. Show Expected Results After every significant step, tell the reader what they should see. This builds confidence and helps users catch errors early.
6. Progressive Disclosure Lead with the most common path. Move edge cases, advanced options, and variations into clearly labeled sections so they don't overwhelm the primary flow.
7. Use Visual Aids Purposefully Include screenshots or diagrams wherever they clarify a major action or reduce ambiguity. Visuals should support the text, not replace it — every image should have a corresponding written step.
8. Test Every Procedure Follow your own instructions before publishing. If you can't complete a step as written, flag it as a gap and fix it.
9. End with Next Steps Always give the reader somewhere to go. A brief "What's next?" section or links to related guides prevents dead ends and encourages continued learning.
Best Practices for Writing How-to Guides
1. Lead with the Action ("Do, then Explain") Give the instruction first, then explain why if necessary. Don't front-load theory before the command — readers came to accomplish something, not to read background context.
- Avoid: Because the server needs to listen on a specific channel, you should configure the port.
- Prefer: Set the port listener. This allows the server to accept incoming requests.
2. Use Imperative Mood and Active Voice Write direct, commanding sentences throughout. "Open the file" is clearer than "The file should be opened." "The system generates a log" is clearer than "A log is generated by the system." These two principles work together to keep every instruction unambiguous and scannable.
3. Be Language- and Tool-Agnostic Where Possible When a guide covers a general workflow, describe the logic before the implementation. If multi-language examples are needed, present the conceptual step first, then offer language-specific tabs or snippets. Only tie the guide to a specific language or tool when an example is genuinely required for clarity.
4. Format Code and UI Elements Consistently
- Bold for UI elements: Click Save, select File > Open.
Code blocksfor file names, paths, and inline commands — always in a copy-pasteable format.- Mark placeholders clearly so users know what to substitute:
<YOUR_API_KEY>, or italics for inline placeholders likeuser_id = <your_id>.
5. Use Inclusive Language Use gender-neutral terms throughout and avoid culturally specific idioms or stereotypes. Accessibility in language broadens your audience and reflects good authorship.
Best Practices for Writing Onboarding guides
- Structure content around SDLC phases (requirements → design → dev → test → deploy → maintenance)
- Tailor guides per role (developer, QA, DevOps, PM) with distinct onboarding paths
- Use progressive disclosure — start with essentials, layer in process depth over time
- Document toolchain setup explicitly (IDE, Git workflow, CI/CD, issue tracker, comms tools)
- Embed the why behind conventions (branching strategy, PR rules, commit standards)
- Include visual aids — pipeline diagrams, branching models, org charts
- Provide end-to-end worked examples (ticket → branch → PR → staging → production)
- Define "done" criteria clearly at each SDLC phase
- Maintain a glossary of org-specific terms and acronyms
- Add checklists/checkpoints after key milestones (first PR, first deploy)
- Reference a human DRI or buddy for each phase
- Store in version control (Confluence, Notion, GitHub Wiki) with an assigned owner
- Collect feedback at 30/60/90-day intervals to keep content accurate
Templates
Follow these templates:
| User Doc | Asset |
|---|---|
User Guide |
Read ./assets/user_guide_template.md |
Tutorial |
Read ./assets/tutorial_template.md |
How-to guide |
Read ./assets/how_to_guide_template.md |
Onboarding Guide |
Read ./assets/onboarding_guide_template.md |
Save tutorials to docs/guides/tutorial-*.md. Save how-to guides to docs/guides/how-to-*.md. Save user guides to docs/guides/guide-*.md. Save onboarding guides to docs/guides/onboarding-*.md.
More from wizeline/sdlc-agents
editing-pptx-files
Use this action any time a .pptx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or presentations; reading, parsing, or extracting text from any .pptx file (even if the extracted content will be used elsewhere, like in an email or summary); editing, modifying, or updating existing presentations; combining or splitting slide files; working with templates, layouts, speaker notes, or comments. Trigger whenever the user mentions \"deck,\" \"slides,\" \"presentation,\" or references a .pptx filename, regardless of what they plan to do with the content afterward. If a .pptx file needs to be opened, created, or touched, use this action.
25sourcing-from-atlassian
Retrieval procedures for fetching user stories, epics, acceptance criteria, and Confluence pages from Atlassian via MCP. Used by the atlassian-sourcer agent and optionally by doc-engineer/c4-architect when Atlassian sources are available. Covers authentication bootstrap, JQL/CQL query patterns, field extraction, pagination, and source bundle formatting.
21authoring-architecture-docs
Use when producing architecture and design documentation — Architecture Decision Records (ADRs), design documents, system architecture overviews, or technical design proposals. Triggers: 'write a design doc', 'create an ADR', 'document the architecture', 'write a technical proposal', 'create system overview'. Always load authoring-technical-docs first.
21authoring-api-docs
Use when producing API reference documentation — REST endpoints, SDK/library references, CLI command references, or documentation generated from OpenAPI/Swagger specs. Triggers: 'document this API', 'generate API reference', 'write SDK docs', 'document these endpoints', any task involving source code with HTTP handlers, route definitions, or OpenAPI specs. Always load authoring-technical-docs first.
20processing-pdfs
Use this action whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding watermarks, creating new PDFs, filling PDF forms, encrypting/decrypting PDFs, extracting images, and OCR on scanned PDFs to make them searchable. If the user mentions a .pdf file or asks to produce one, use this action.
19authoring-technical-docs
Core documentation engineering action. Provides the quality framework, style rules, and multi-pass workflow (research → draft → review → format) that all documentation must follow. Load this first for any technical documentation task. If no domain action matches the request, this action alone is sufficient.
19