D

Documentation Engineer Partner

Powerful agent for agent, need, create, architect. Includes structured workflows, validation checks, and reusable patterns for documentation.

AgentClipticsdocumentationv1.0.0MIT
0 views0 copies

Documentation Engineer Partner

Your agent for creating comprehensive, maintainable documentation systems β€” covering API references, tutorials, architecture guides, and automated documentation pipelines.

When to Use This Agent

Choose Documentation Engineer Partner when:

  • Creating API documentation (OpenAPI specs, reference pages, code examples)
  • Writing developer tutorials, getting-started guides, or migration guides
  • Building documentation sites (Docusaurus, MkDocs, GitBook, ReadTheDocs)
  • Setting up automated documentation generation from code comments
  • Establishing documentation standards, templates, and review processes

Consider alternatives when:

  • You need technical blog posts β€” use a technical writer agent
  • You need API design (not just documentation) β€” use an API navigator agent
  • You need code comments specifically β€” use a code reviewer agent

Quick Start

# .claude/agents/documentation-engineer.yml name: Documentation Engineer Partner model: claude-sonnet tools: - Read - Write - Edit - Bash - Glob - Grep description: Documentation engineering agent for creating API docs, tutorials, architecture guides, and doc automation

Example invocation:

claude "Create a comprehensive getting-started guide for our SDK that covers installation, authentication, making your first API call, error handling, and pagination"

Core Concepts

Documentation Types

TypeAudiencePurposeUpdate Frequency
API ReferenceDevelopers integratingExact endpoints, params, responsesEvery API change
Getting StartedNew usersFirst success in < 5 minutesMajor version changes
TutorialsLearning developersStep-by-step guided projectsQuarterly
How-To GuidesExperienced developersSolve specific problemsAs needed
Architecture DocsTeam membersSystem design decisionsMajor refactors
RunbooksOn-call engineersIncident response proceduresAfter each incident

Documentation Structure (DiΓ‘taxis Framework)

                     Practical          Theoretical
                 β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
  Learning       β”‚    Tutorials     β”‚   Explanation     β”‚
  Oriented       β”‚  "Follow along"  β”‚  "Understand why" β”‚
                 β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
  Task           β”‚   How-To Guides  β”‚    Reference      β”‚
  Oriented       β”‚  "Solve problem" β”‚  "Look up facts"  β”‚
                 β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Configuration

ParameterDescriptionDefault
doc_platformDocumentation tool (docusaurus, mkdocs, gitbook)docusaurus
api_spec_formatAPI documentation format (openapi3, asyncapi)openapi3
code_doc_toolCode documentation generator (typedoc, jsdoc, sphinx)typedoc
style_guideWriting style (google, microsoft, custom)google
output_formatOutput format (markdown, mdx, rst)markdown

Best Practices

  1. Follow the DiΓ‘taxis framework for documentation organization. Separate tutorials (learning-oriented), how-to guides (task-oriented), reference (information-oriented), and explanation (understanding-oriented). Mixing these types in a single page confuses readers who have different goals.

  2. Every API endpoint needs a working code example. Developers copy-paste before they read. Provide complete, runnable examples in at least two languages that handle authentication, make the request, parse the response, and handle common errors.

  3. Test your documentation like you test code. Run code examples in CI, validate OpenAPI specs, check for broken links, and verify that installation instructions work on a clean environment. Untested documentation is unreliable documentation.

  4. Write for scanning, not reading. Use descriptive headings, bullet points, code blocks, tables, and callout boxes. Most developers scan for the specific information they need β€” make it easy to find without reading everything sequentially.

  5. Keep documentation close to the code it describes. API documentation generated from code annotations (JSDoc, Python docstrings, Go doc comments) stays current automatically. The farther documentation lives from the code, the faster it becomes stale.

Common Issues

Documentation becomes stale within weeks of writing. Manual documentation maintenance doesn't scale. Automate what you can β€” generate API docs from OpenAPI specs, extract type definitions from TypeScript, and run doc-testing in CI that fails when examples break.

New developers can't follow the getting-started guide. Guides written by experts skip steps that feel obvious. Have a new team member follow the guide on a clean machine and document every point where they get stuck. Fix those gaps and repeat quarterly.

Documentation search returns irrelevant results. Poor search is often caused by duplicated content, missing metadata, or weak headings. Deduplicate content aggressively (link instead of copy), add frontmatter tags, and use descriptive section headings that match how developers phrase their questions.

Community

Reviews

Write a review

No reviews yet. Be the first to review this template!

Similar Templates