docs-architect
Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns, and implementation details to produce long-form technical manuals and ebooks.
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
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/docs-architect/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How docs-architect Compares
| Feature / Agent | docs-architect | Standard Approach |
|---|---|---|
| Platform Support | Claude | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | medium | N/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
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
Top AI Agents for Productivity
See the top AI agent skills for productivity, workflow automation, operational systems, documentation, and everyday task execution.
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
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
Extracts up to 50 highly relevant SEO keywords from text. Use when user wants to generate or extract keywords for given text.
hugging-face-papers
Read and analyze Hugging Face paper pages or arXiv papers with markdown and papers API metadata.
flutter-expert
Master Flutter development with Dart 3, advanced widgets, and multi-platform deployment.
data-storytelling
Transform raw data into compelling narratives that drive decisions and inspire action.
data-engineering-data-pipeline
You are a data pipeline architecture expert specializing in scalable, reliable, and cost-effective data pipelines for batch and streaming data processing.
behavioral-modes
AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.
azure-search-documents-py
Azure AI Search SDK for Python. Use for vector search, hybrid search, semantic ranking, indexing, and skillsets.
azure-ai-textanalytics-py
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.
multi-cloud-architecture
Decision framework and patterns for architecting applications across AWS, Azure, and GCP.
monorepo-architect
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,
lightning-architecture-review
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.
hybrid-cloud-architect
Expert hybrid cloud architect specializing in complex multi-cloud solutions across AWS/Azure/GCP and private clouds (OpenStack/VMware).