docs-architect

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks.

31,392 stars
Complexity: medium

About this skill

The `docs-architect` skill empowers an AI agent to act as a highly specialized documentation engineer. It meticulously analyzes existing codebases, delving into their architectural design, prevalent design patterns, and intricate implementation details. The skill then synthesizes this understanding to produce comprehensive, long-form technical documentation, including detailed technical manuals and even ebooks. It guides the AI to clarify user goals, apply best practices for technical writing and analysis, validate outcomes, and provide actionable steps for further refinement or verification. This skill is part of the "antigravity-awesome-skills" collection, primarily designed to enhance AI agent capabilities, particularly within the Claude ecosystem, for complex data processing tasks.

Best use case

Automating the creation of high-quality, in-depth technical documentation directly from code, saving significant time and resources for developers, project managers, and technical writers. It ensures consistency and accuracy by deriving documentation directly from the source.

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks.

A well-structured, comprehensive technical manual or ebook detailing the architecture, design, and implementation of a specified codebase. Identification and explanation of key design patterns and architectural decisions. Actionable insights and best practices applied to the documentation process. Validated and accurate technical content derived directly from the code.

Practical example

Example input

Generate a comprehensive technical manual for the 'antigravity-web-app' repository. Focus on its microservices architecture, data flow between components, and key authentication mechanisms. Include diagrams where appropriate and suggest best practices for future scalability.

Example output

# Technical Manual: Antigravity Web Application

## 1. Introduction
This manual provides an in-depth overview of the Antigravity Web Application's architecture, core components, and operational details...

## 2. Overall Architecture
The Antigravity Web App employs a microservices architecture, leveraging Kubernetes for orchestration and Docker for containerization...
[Diagram: High-level Microservices Architecture]

## 3. Data Flow and Communication
Data flows between services via Kafka message queues for asynchronous communication and REST APIs for synchronous requests...
[Diagram: Key Data Flow Paths]

## 4. Core Services
### 4.1 User Service
Manages user authentication, authorization, and profile data...

### 4.2 Product Catalog Service
Handles product listings, inventory, and search functionality...

## 5. Authentication and Authorization
The application uses OAuth 2.0 with JWTs for secure user authentication. Authorization is role-based...

## 6. Design Patterns
Key design patterns observed include:
*   **Service Mesh:** Implemented with Istio for traffic management, observability, and security.
*   **Circuit Breaker:** Applied to external API calls to prevent cascading failures.
*   **Saga Pattern:** For managing distributed transactions...

## 7. Implementation Details & Technologies
*   **Backend:** Spring Boot, Kotlin
*   **Frontend:** React, TypeScript
*   **Database:** PostgreSQL, Redis
*   **Messaging:** Apache Kafka
*   **Container Orchestration:** Kubernetes

## 8. Scalability Best Practices
*   Implement auto-scaling for stateless services based on CPU utilization and request queues.
*   Optimize database queries and consider sharding for large datasets.
*   Utilize CDN for static assets...

## 9. Verification & Future Enhancements
*   [Checklist Item 1] Review auto-generated API documentation (e.g., Swagger/OpenAPI).
*   [Checklist Item 2] Validate architectural diagrams against current deployments.
*   [Suggestion] Explore serverless functions for specific lightweight tasks.

When to use this skill

  • When working on documentation architecture tasks or workflows.
  • When needing expert guidance, best practices, or checklists specifically for documentation architecture.
  • When needing to generate long-form technical manuals or ebooks from existing code.
  • When analyzing a codebase's architecture, design patterns, and implementation details for documentation purposes.

When not to use this skill

  • When the task is unrelated to technical documentation or codebase analysis.
  • When a different domain or tool outside the scope of documentation architecture is required.
  • When simply extracting code snippets without detailed explanation.
  • When the codebase is not available for analysis.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/docs-architect/SKILL.md --create-dirs "https://raw.githubusercontent.com/sickn33/antigravity-awesome-skills/main/plugins/antigravity-awesome-skills-claude/skills/docs-architect/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/docs-architect/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How docs-architect Compares

Feature / Agentdocs-architectStandard Approach
Platform SupportClaudeLimited / Varies
Context Awareness High Baseline
Installation ComplexitymediumN/A

Frequently Asked Questions

What does this skill do?

Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks.

Which AI agents support this skill?

This skill is designed for Claude.

How difficult is it to install?

The installation complexity is rated as medium. You can find the installation instructions above.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

## Use this skill when

- Working on docs architect tasks or workflows
- Needing guidance, best practices, or checklists for docs architect

## Do not use this skill when

- The task is unrelated to docs architect
- You need a different domain or tool outside this scope

## Instructions

- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open `resources/implementation-playbook.md`.

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.

Related Skills

keyword-extractor

31392
from sickn33/antigravity-awesome-skills

Extracts up to 50 highly relevant SEO keywords from text. Use when user wants to generate or extract keywords for given text.

Text AnalysisClaude

hugging-face-papers

31392
from sickn33/antigravity-awesome-skills

Read and analyze Hugging Face paper pages or arXiv papers with markdown and papers API metadata.

Text AnalysisClaude

flutter-expert

31392
from sickn33/antigravity-awesome-skills

Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment.

Text AnalysisClaude

data-storytelling

31392
from sickn33/antigravity-awesome-skills

Transform raw data into compelling narratives that drive decisions and inspire action.

Text AnalysisClaude

data-engineering-data-pipeline

31392
from sickn33/antigravity-awesome-skills

You are a data pipeline architecture expert specializing in scalable, reliable, and cost-effective data pipelines for batch and streaming data processing.

Text AnalysisClaude

behavioral-modes

31392
from sickn33/antigravity-awesome-skills

AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.

Text AnalysisClaude

azure-search-documents-py

31392
from sickn33/antigravity-awesome-skills

Azure AI Search SDK for Python. Use for vector search, hybrid search, semantic ranking, indexing, and skillsets.

Text AnalysisClaude

azure-ai-textanalytics-py

31392
from sickn33/antigravity-awesome-skills

Azure AI Text Analytics SDK for sentiment analysis, entity recognition, key phrases, language detection, PII, and healthcare NLP. Use for natural language processing on text.

Text AnalysisClaude

multi-cloud-architecture

31392
from sickn33/antigravity-awesome-skills

Decision framework and patterns for architecting applications across AWS, Azure, and GCP.

Cloud ArchitectureClaude

monorepo-architect

31392
from sickn33/antigravity-awesome-skills

Expert in monorepo architecture, build systems, and dependency management at scale. Masters Nx, Turborepo, Bazel, and Lerna for efficient multi-project development. Use PROACTIVELY for monorepo setup,

Software DevelopmentClaude

lightning-architecture-review

31392
from sickn33/antigravity-awesome-skills

Review Bitcoin Lightning Network protocol designs, compare channel factory approaches, and analyze Layer 2 scaling tradeoffs. Covers trust models, on-chain footprint, consensus requirements, HTLC/PTLC compatibility, liveness, and watchtower support.

Blockchain & Crypto AnalysisClaude

hybrid-cloud-architect

31392
from sickn33/antigravity-awesome-skills

Expert hybrid cloud architect specializing in complex multi-cloud solutions across AWS/Azure/GCP and private clouds (OpenStack/VMware).

Cloud ArchitectureClaude