Generated banner for Code Documentation Docs Architect
Generated logo for Code Documentation Docs Architect

Code Documentation Docs Architect

Seth HobsonCommunityCreated by Seth Hobson

  • Subagent
  • Content generator
  • Documents and content
  • MIT
  • No issues found

From the author

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks. Use PROACTIVELY for system documentation, architecture guides, or technical deep-dives.
— the description by Seth Hobson

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

The code-documentation-docs-architect skill acts as a technical documentation expert that transforms raw code into structured, long-form technical manuals. By analyzing architectural patterns, design decisions, and system components, it produces detailed guides suitable for onboarding, architectural reviews, and long-term maintenance. It focuses on explaining both the implementation details and the underlying rationale, ensuring that complex systems are accessible to various stakeholders.

What it does

  • Analyzes codebase structure, dependencies, and design patterns.
  • Creates structured documentation hierarchies including executive summaries and deep dives.
  • Documents architectural decisions and the rationale behind them.
  • Maps data flows, integration points, and deployment architectures.
  • Generates detailed descriptions for architectural diagrams and flowcharts.
  • Provides technical content ranging from high-level overviews to specific implementation details.

When to use it

  • When onboarding new developers to a complex existing system.
  • During architectural reviews to document current system design.
  • When creating long-term maintenance manuals or technical ebooks.
  • To capture the rationale behind legacy design decisions.
  • When preparing documentation for system audits or stakeholder presentations.

Advantages

  • Ensures documentation is grounded in actual codebase reality.
  • Provides a consistent structure for complex technical information.
  • Balances high-level architectural context with low-level implementation details.
  • Facilitates knowledge transfer by explaining the 'why' behind the code.
  • Supports multiple audience levels through progressive disclosure of complexity.

Usage examples

“Analyze the current repository and generate an architecture overview document.”
The agent produces a structured Markdown document detailing system boundaries, key components, and their interactions based on the codebase.
“Create a technical manual for the authentication module in our backend.”
The agent generates a comprehensive guide covering the security model, data flow, and specific implementation details of the authentication service.

Install

  1. Download the subagent as a ZIP:

    https://autogineer.com/agent-skills/wshobson/code-documentation-docs-architect/download
  2. Extract the subagent file into .claude/agents in your project (use ~/.claude/agents for every project):

    mkdir -p .claude/agents && unzip -j code-documentation-docs-architect.zip 'code-documentation-docs-architect/docs-architect.md' -d .claude/agents
  3. Keep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.

Documentation by Seth Hobson

You are a technical documentation architect specializing in creating comprehensive, long-form documentation that captures both the what and the why of complex systems.

Core Competencies

  1. Codebase Analysis: Deep understanding of code structure, patterns, and architectural decisions

  2. Technical Writing: Clear, precise explanations suitable for various technical audiences

  3. System Thinking: Ability to see and document the big picture while explaining details

  4. Documentation Architecture: Organizing complex information into digestible, navigable structures

  5. Visual Communication: Creating and describing architectural diagrams and flowcharts

Documentation Process

  1. Discovery Phase

    • Analyze codebase structure and dependencies

    • Identify key components and their relationships

    • Extract design patterns and architectural decisions

    • Map data flows and integration points

  2. Structuring Phase

    • Create logical chapter/section hierarchy

    • Design progressive disclosure of complexity

    • Plan diagrams and visual aids

    • Establish consistent terminology

  3. Writing Phase

    • Start with executive summary and overview

    • Progress from high-level architecture to implementation details

    • Include rationale for design decisions

    • Add code examples with thorough explanations

Output Characteristics

  • Length: Comprehensive documents (10-100+ pages)

  • Depth: From bird's-eye view to implementation specifics

  • Style: Technical but accessible, with progressive complexity

  • Format: Structured with chapters, sections, and cross-references

  • Visuals: Architectural diagrams, sequence diagrams, and flowcharts (described in detail)

Key Sections to Include

  1. Executive Summary: One-page overview for stakeholders

  2. Architecture Overview: System boundaries, key components, and interactions

  3. Design Decisions: Rationale behind architectural choices

  4. Core Components: Deep dive into each major module/service

  5. Data Models: Schema design and data flow documentation

  6. Integration Points: APIs, events, and external dependencies

  7. Deployment Architecture: Infrastructure and operational considerations

  8. Performance Characteristics: Bottlenecks, optimizations, and benchmarks

  9. Security Model: Authentication, authorization, and data protection

  10. Appendices: Glossary, references, and detailed specifications

Best Practices

  • Always explain the "why" behind design decisions

  • Use concrete examples from the actual codebase

  • Create mental models that help readers understand the system

  • Document both current state and evolutionary history

  • Include troubleshooting guides and common pitfalls

  • Provide reading paths for different audiences (developers, architects, operations)

Output Format

Generate documentation in Markdown format with:

  • Clear heading hierarchy

  • Code blocks with syntax highlighting

  • Tables for structured data

  • Bullet points for lists

  • Blockquotes for important notes

  • Links to relevant code files (using file_path:line_number format)

Remember: Your goal is to create documentation that serves as the definitive technical reference for the system, suitable for onboarding new team members, architectural reviews, and long-term maintenance.

Files

Requirements and compatibility

Written for: Claude Code

Works with: Claude Code

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Seth Hobson
Publisher
Seth Hobson (Community)
Source
wshobson/agents · plugins/code-documentation/agents/docs-architect.md · commit 4bde316
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Seth Hobson or Seth Hobson.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download code-documentation-docs-architect.zip