Agent skill
documentation-writing
Write clear technical documentation - READMEs, ADRs, runbooks, API docs
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/documentation-writing-baphled-dotopencode
SKILL.md
Skill: documentation-writing
What I do
I provide expertise in writing clear, structured technical documentation. I focus on making complex systems understandable through well-organized READMEs, Architecture Decision Records (ADRs), runbooks, and installation guides following the Diátaxis framework.
When to use me
- Creating or updating a project's README or contribution guide
- Documenting architectural decisions through ADRs
- Writing operational runbooks and troubleshooting guides
- Structuring technical manuals or internal wiki pages
Core principles
- Diátaxis Alignment — Distinguish between tutorials, how-to guides, explanations, and references.
- Clear Structure — Use logical heading hierarchies and consistent formatting for easy navigation.
- Audience Awareness — Write for the specific reader (e.g., contributor, operator, or end-user).
- Actionable Content — Ensure instructions are clear, step-by-step, and testable.
- Docs-as-Code — Keep documentation close to the code, versioned, and reviewed.
Patterns & examples
Standard README Structure
- Title & Badges: Project name and status.
- Summary: What the project does and who it's for.
- Getting Started: Prerequisites and installation steps.
- Usage: Basic examples to get the user running.
- Contributing: Link to CONTRIBUTING.md.
- License: Clear declaration.
ADR Template Pattern
- Title: Short and descriptive (e.g., "ADR 005: Using PostgreSQL for Persistence").
- Context: The problem and constraints.
- Options: Possible solutions considered.
- Decision: The chosen path and rationale.
- Consequences: Expected impact (good and bad).
Anti-patterns to avoid
- ❌ The README Graveyard — Documentation that hasn't been updated in months or years.
- ❌ Implicit Prerequisites — Failing to list the exact tools and versions needed to run the project.
- ❌ Wall of Text — Large blocks of prose without headings or lists to break them up.
- ❌ Undefined Acronyms — Using internal or niche acronyms without explanation.
KB Reference
~/vaults/baphled/3. Resources/Knowledge Base/AI Development System/Skills/Communication-Writing/Documentation Writing.md
Related skills
api-documentation— For specific endpoint and schema documentation.writing-style— To maintain a professional and consistent voice.proof-reader— For final clarity and correctness checks.architecture— For documenting high-level system designs.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?