1---2name: technical-writing3description: Technical writing principles and best practices for creating clear, accurate documentation4---5
6# Technical Writing
7
8## Technical Writing Principles
9
10### Clarity
11- **Use Simple Language**: Write at an 8th-grade reading level for general audiences
12- **Avoid Jargon**: Define technical terms or use simpler alternatives
13- **Be Concise**: Remove unnecessary words and filler content
14- **Use Active Voice**: Active voice is clearer and more direct than passive voice
15- **One Idea per Sentence**: Keep sentences focused and easy to understand
16
17### Accuracy
18- **Verify Facts**: Double-check all technical information, code examples, and data
19- **Test Instructions**: Follow documented steps to ensure they work
20- **Cite Sources**: Attribute information to reliable sources
21- **Update Regularly**: Keep documentation current with software changes
22- **Peer Review**: Have subject matter experts review technical content
23
24### Completeness
25- **Cover All Steps**: Include every step needed to complete a task
26- **Address Edge Cases**: Document what happens in unusual scenarios
27- **Include Prerequisites**: List all required knowledge, tools, and setup
28- **Provide Context**: Explain why something matters, not just how to do it
29- **Add Troubleshooting**: Anticipate and address common problems
30
31## Documentation Style Guides
32
33### Google Developer Documentation Style Guide
34- **Tone**: Friendly, clear, and direct
35- **Voice**: Second person ("you") for instructions
36- **Tense**: Present tense for general information, imperative for instructions
37- **Formatting**: Use sentence case for headings, title case for page titles
38- **Code**: Use code blocks with syntax highlighting, monospace for inline code
39
40### Microsoft Style Guide
41- **Tone**: Professional, clear, and consistent
42- **Voice**: Active voice, direct address to reader
43- **Tense**: Present tense for concepts, imperative for procedures
44- **Formatting**: Use sentence case for UI elements, title case for headings
45- **Terminology**: Use Microsoft-specific terminology consistently
46
47## Writing for Different Audiences
48
49### Developers
50- **Assume Technical Knowledge**: Developers understand programming concepts
51- **Focus on Code**: Provide code examples, API references, and implementation details
52- **Include Architecture**: Explain system design and technical decisions
53- **Use Technical Terminology**: Use industry-standard terms without over-explaining
54- **Provide Best Practices**: Share patterns, conventions, and optimization tips
55
56### End Users
57- **Assume Minimal Technical Knowledge**: Explain concepts in simple terms
58- **Focus on Tasks**: Provide step-by-step instructions for common tasks
59- **Include Screenshots**: Visual aids help non-technical users
60- **Avoid Code**: Minimize or explain code examples
61- **Provide Context**: Explain why actions are needed, not just how to do them
62
63### Stakeholders
64- **Focus on Value**: Explain benefits and business impact
65- **Use Business Language**: Avoid technical jargon, use business terms
66- **Provide Summaries**: Include executive summaries and key takeaways
67- **Include Metrics**: Use data and metrics to support claims
68- **Address Concerns**: Anticipate and address stakeholder questions
69
70## Structuring Technical Content
71
72### Information Architecture
73- **Hierarchical Structure**: Organize content from general to specific
74- **Logical Flow**: Arrange topics in a logical, user-centered order
75- **Chunking**: Break long content into manageable sections
76- **Progressive Disclosure**: Reveal information as needed
77- **Cross-References**: Link related content for comprehensive coverage
78
79### Document Structure
80- **Title**: Clear, descriptive, and searchable
81- **Introduction**: Overview of what the document covers
82- **Prerequisites**: Required knowledge, tools, and setup
83- **Body**: Main content organized with headings and subheadings
84- **Conclusion**: Summary and next steps
85- **Appendices**: Additional information, references, and glossaries
86
87## Clear and Concise Writing Techniques
88
89### Sentence Construction
90- **Short Sentences**: Aim for 15-20 words per sentence
91- **Simple Words**: Use familiar words over complex ones
92- **Active Verbs**: Choose strong, specific verbs
93- **Subject-Verb-Object**: Use SVO order for clarity
94- **Avoid Nominalization**: Turn nouns back into verbs
95
96### Paragraph Structure
97- **Topic Sentences**: Start each paragraph with the main idea
98- **One Idea per Paragraph**: Keep paragraphs focused
99- **Transitional Phrases**: Use transitions to connect ideas
100- **Short Paragraphs**: Aim for 3-5 sentences per paragraph
101- **White Space**: Use white space to improve readability
102
103## Diagram and Visual Content Creation
104
105### Types of Diagrams
106- **Flowcharts**: Show processes and decision points
107- **Sequence Diagrams**: Illustrate interactions between components
108- **Architecture Diagrams**: Depict system structure and relationships
109- **Entity Relationship Diagrams**: Show data relationships
110- **State Diagrams**: Represent system states and transitions
111
112### Visual Best Practices
113- **Keep It Simple**: Avoid clutter and unnecessary details
114- **Use Consistent Style**: Maintain visual consistency across diagrams
115- **Label Clearly**: Use clear, descriptive labels
116- **Color Coding**: Use color purposefully to convey meaning
117- **Include Legends**: Explain symbols and color meanings
118- **Alt Text**: Provide alternative text for accessibility