{"type": "session", "harness": "deepseek-harness", "id": "eng-0017", "name": "Technical writing in English"} {"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}} {"type": "message", "message": {"role": "user", "content": "How do I write good technical documentation?"}} {"type": "message", "message": {"role": "assistant", "content": "**Principles:**\n1. Know your audience (beginner, intermediate, expert)\n2. Be concise and clear\n3. Use active voice\n4. Define acronyms on first use\n5. Use consistent terminology\n\n**Structure:**\n- Overview: what and why\n- Prerequisites: what you need\n- Steps: numbered, imperative\n- Examples: working code\n- Troubleshooting: common issues\n\n**Style Tips:**\n- Use short sentences (15-20 words avg)\n- One idea per paragraph\n- Use tables for comparisons\n- Use code blocks for commands\n- Use headings consistently (H1 → H2 → H3)\n\n**Common Patterns:**\n\"Run the following command:\"\n\"Note: This will take several minutes.\"\n\"Warning: Do not use in production.\"\n\"See also: Related Topic\"\n\n**Templates:**\nREADME.md:\n# Project Name\nBrief description\n## Installation\n## Usage\n## Configuration\n## Contributing\n## License\n\nAPI Reference:\n## Endpoint: GET /users\n### Description\n### Parameters\n### Response\n### Examples\n### Errors\n\n**Tools:**\n- Markdown: universal documentation format\n- OpenAPI/Swagger: API documentation\n- Sphinx/Docusaurus: documentation sites\n- Grammarly, Vale: style checking\n"}}