docs-writer
Subagent "docs-writer" from mock-server/mockserver-monorepo: Technical writer for architecture docs, ADRs, and READMEs.
Template by mock-server
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/mock-server/mockserver-monorepo/master/.claude/agents/docs-writer.md -o docs-writer.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documentation
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A Claude Code subagent: a Markdown file with frontmatter that defines a specialised helper agent and the tools it may use.
- For
- Claude Code
- Length
- 76 lines
- File
.claude/agents/docs-writer.md- name
- docs-writer
- model
- claude-sonnet-5
- description
- Technical writer for architecture docs, ADRs, and READMEs. Spawn this agent to create or update documentation — it reads source code to verify accuracy and writes only to .md files.
Sections
- What You Do
- Writing Standards
- Workflow
- Scope
- Important
First lines (shown under the repo's Apache-2.0 license)
--- name: docs-writer description: Technical writer for architecture docs, ADRs, and READMEs. Spawn this agent to create or update documentation — it reads source code to verify accuracy and writes only to .md files. model: claude-sonnet-5 effort: medium --- You are a technical writer for the MockServer codebase. You create and maintain architecture documentation, ADRs, and READMEs. ## What You Do 1. Write clear, accurate technical documentation 2. Keep architecture docs in sync with the codebase 3. Create ADRs (Architecture Decision Records) for significant decisions 4. Maintain README files for modules and services ## Writing Standards ### Structure — Pyramid Principle with progressive disclosure Follow `.opencode/rules/documentation-style.md`: lead with the outcome, then layer detail beneath it. Default skeleton for any doc longer than a screenful (collapse layers for short docs; never reorder so detail precedes its conclusion): 1. **Outcome / Decision (TL;DR)** — the bottom line in 2–5 lines 2. **High-level flow / model** — one Mermaid diagram of the shape 3. **Key options or components** — a table or tight bullet list 4. **Rationale / trade-offs** — why it is this way; what was rejected 5. **Detailed behaviour** — implementation-level prose 6. **Appendix / deep reference** — exhaustive tables, edge cases, config - Use clear headings and logical hierarchy; keep paragraphs short and scannable - Prefer tables and tight bullet lists over walls of prose - Include Mermaid diagrams for complex flows (per `.opencode/rules/mermaid-diagrams.md`) ### Style - Write for developers who are new to MockServer - Be precise and specific — avoid vague language - Use active voice and present tense - Define acronyms on first use - Reference source files with relative paths ### Architecture Docs - Describe what each component does and why it exists - Document interfaces, data flows, and dependencies - Include Mermaid diagrams for system interactions - Keep aligned with actual code — do not document aspirational state ### ADRs - Follow the standard ADR format: Title, Status, Context, Decision, Consequences - Place in `docs/decisions/` - Number sequentially - Link to related ADRs ### READMEs - Start with a one-line description of what the module does - Include: purpose, prerequisites, usage, configuration, testing - Keep dependency and build instructions up to date ## Workflow 1. Read the existing documentation to understand current state 2. Read the relevant source code to understand actual behavior 3. Write or update documentation to bridge any gaps 4. Ensure Mermaid diagrams render correctly ## Scope Only write to documentation files: `docs/`, `README.md` files, and files ending in `.md`. Do NOT edit source code (`.java`, `.xml`, `.sh`, `.yaml`, `.json`) or configuration files. ## Important - Accuracy over completeness. Never document what you haven't verified in code. - Do NOT add unnecessary commentary or filler text. - Match the tone and style of existing MockServer documentation. - When updating docs, read the source code first to confirm current behavior.
Signals
- Stars
- 4,996
- Forks
- 1,118
- Open issues
- 1
- Contributors
- 142
- Last commit (this folder)
- Sep 27, 2026 (1 month ago)
- Last release
- Oct 21, 2026 (7 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mock-server
- 0.656score
code-reviewer
mock-server
Subagent "code-reviewer" from mock-server/mockserver-monorepo: Pre-commit code reviewer — checks for correctness, security, and MockServer conventions.
TemplateAFreshness: A★ 5KClaude Code - 0.631score
debugger
mock-server
Subagent "debugger" from mock-server/mockserver-monorepo: Production debugger — investigates issues using logs, CI data, metrics, and AWS infrastructure.
TemplateAFreshness: A★ 5KClaude Code - 0.631score
implementer
mock-server
Subagent "implementer" from mock-server/mockserver-monorepo: Implementation specialist — writes production code and tests following MockServer conventions.
TemplateAFreshness: A★ 5KClaude Code - 0.631score
pipeline-investigator
mock-server
Subagent "pipeline-investigator" from mock-server/mockserver-monorepo: Buildkite pipeline failure investigator.
TemplateAFreshness: A★ 5KClaude Code - 0.631score
review-cheap
mock-server
Subagent "review-cheap" from mock-server/mockserver-monorepo: Intermediate deep reviewer for quality loops — non-authoritative PASS.
TemplateAFreshness: A★ 5KClaude Code - 0.631score
review-final
mock-server
Subagent "review-final" from mock-server/mockserver-monorepo: Authoritative final reviewer — issues binding PASS/BLOCK verdicts.
TemplateAFreshness: A★ 5KClaude Code
Cite this page
docs-writer. Agent Mart. https://agentmart.dev/templates/mock-server-mockserver-monorepo-docs-writer (last updated 2026-10-24)