documentation-specialist
This skill should be used when creating professional software documentation (SRS, PRD, OpenAPI, user manuals, tutorials, runbooks) from templates (greenfield) or reverse-engineering documentation from existing code like Spring Boot or FastAPI (brownfield). Also handles documentation audits/reviews, format conversion (Markdown, DOCX, PDF), and diagram generation (C4, Mermaid, PlantUML, ER, sequence). Use when asked to "create documentation", "document my code", "write SRS", "generate PRD", or "documentation specialist".
Best use case
documentation-specialist is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
This skill should be used when creating professional software documentation (SRS, PRD, OpenAPI, user manuals, tutorials, runbooks) from templates (greenfield) or reverse-engineering documentation from existing code like Spring Boot or FastAPI (brownfield). Also handles documentation audits/reviews, format conversion (Markdown, DOCX, PDF), and diagram generation (C4, Mermaid, PlantUML, ER, sequence). Use when asked to "create documentation", "document my code", "write SRS", "generate PRD", or "documentation specialist".
Teams using documentation-specialist should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/document-specialist/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How documentation-specialist Compares
| Feature / Agent | documentation-specialist | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
This skill should be used when creating professional software documentation (SRS, PRD, OpenAPI, user manuals, tutorials, runbooks) from templates (greenfield) or reverse-engineering documentation from existing code like Spring Boot or FastAPI (brownfield). Also handles documentation audits/reviews, format conversion (Markdown, DOCX, PDF), and diagram generation (C4, Mermaid, PlantUML, ER, sequence). Use when asked to "create documentation", "document my code", "write SRS", "generate PRD", or "documentation specialist".
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.
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
# Documentation Specialist Skill ## Quick Start Software documentation creation, extraction, conversion, and diagramming capabilities. **Capabilities:** 1. **Greenfield** - Create documentation from templates (SRS, PRD, OpenAPI, User Manuals, Tutorials, Runbooks) 2. **Brownfield** - Reverse-engineer documentation from code (Spring Boot, FastAPI) 3. **Audit** - Review and improve existing documentation 4. **Convert** - Transform formats (MD → DOCX → PDF) 5. **Diagram** - Generate visuals (Mermaid C4, PlantUML UML) **Example Requests:** ``` Create an SRS for a billing system with PCI-DSS compliance Document my Spring Boot application at ~/projects/customer-api Create a user manual for my SaaS product Write a database failover runbook Audit my API documentation at docs/api/openapi.yaml Convert docs/srs.md to Word format Create a C4 container diagram for my microservices ``` **Execution Flow:** 1. Classify intent → 2. Load workflow → 3. Execute steps → 4. Generate documentation → 5. Present post-processing options --- ## Intent Classification | Intent | Keywords | Workflow | |--------|----------|----------| | **CREATE_NEW** | "create", "generate", "write" + doc type | [greenfield-workflow.md](references/workflows/greenfield-workflow.md) | | **CODE_TO_DOCS** | "document", "extract", path reference | [brownfield-workflow.md](references/workflows/brownfield-workflow.md) | | **AUDIT** | "audit", "review", "check", "improve" | [audit-workflow.md](references/workflows/audit-workflow.md) | | **CONVERT** | "convert", "to Word", "to PDF" | [convert-workflow.md](references/workflows/convert-workflow.md) | | **DIAGRAM** | "diagram", "C4", "sequence", "ER" | [diagram-workflow.md](references/workflows/diagram-workflow.md) | | **USER_DOCS** | "user manual", "how-to", "getting started" | [user-docs-workflow.md](references/workflows/user-docs-workflow.md) | | **TUTORIAL** | "tutorial", "API guide", "CLI docs" | [tutorial-workflow.md](references/workflows/tutorial-workflow.md) | | **RUNBOOK** | "runbook", "procedure", "incident" | [runbook-workflow.md](references/workflows/runbook-workflow.md) | **CRITICAL**: Load only the workflow needed for the current intent. Avoid loading multiple workflows. --- ## Document Type → Template **Requirements & Design:** | Type | Template | |------|----------| | SRS | [requirements-srs.md](references/templates/markdown/requirements-srs.md) | | PRD | [requirements-prd.md](references/templates/markdown/requirements-prd.md) | | OpenAPI | [api-openapi.yaml](references/templates/markdown/api-openapi.yaml) | **User Documentation:** | Type | Template | |------|----------| | User Manual | [user-manual.md](references/templates/markdown/user-manual.md) | | How-To Guide | [howto-guide.md](references/templates/markdown/howto-guide.md) | | Getting Started | [getting-started.md](references/templates/markdown/getting-started.md) | **Developer & Operations:** | Type | Template | |------|----------| | Developer Tutorial | [developer-tutorial.md](references/templates/markdown/developer-tutorial.md) | | Runbook | [runbook.md](references/templates/markdown/runbook.md) | --- ## Framework Detection (Brownfield) | Framework | Detection | Mapping | |-----------|-----------|---------| | **Spring Boot** | `pom.xml`, `@SpringBootApplication` | [spring-boot-mapping.yaml](references/mappings/backend/spring-boot-mapping.yaml) | | **FastAPI** | `requirements.txt`, `from fastapi import` | [fastapi-mapping.yaml](references/mappings/backend/fastapi-mapping.yaml) | **Process**: Glob for detection files → Grep for patterns → Load mapping → Follow brownfield workflow --- ## On-Demand Resources Load only what is needed for the current task. ### Workflows - [Workflow TOC](references/workflows/TOC.md) - Navigation index - [greenfield-workflow.md](references/workflows/greenfield-workflow.md) - [brownfield-workflow.md](references/workflows/brownfield-workflow.md) - [audit-workflow.md](references/workflows/audit-workflow.md) - [convert-workflow.md](references/workflows/convert-workflow.md) - [diagram-workflow.md](references/workflows/diagram-workflow.md) - [user-docs-workflow.md](references/workflows/user-docs-workflow.md) - [tutorial-workflow.md](references/workflows/tutorial-workflow.md) - [runbook-workflow.md](references/workflows/runbook-workflow.md) ### Reference Guides - [comprehensive-guide.md](references/reference/comprehensive-guide.md) - Navigation to all 27 reference guides ### Examples - [Examples TOC](references/examples/TOC.md) - Navigation to all examples --- ## Skill Integration | Skill | Invocation Trigger | |-------|-------------------| | **docx** | Request includes Word format | | **pdf** | Request includes PDF format | | **plantuml** | UML diagrams (ER, sequence, component) | | **mermaid-architect** | C4 diagrams, flowcharts | --- ## Error Handling | Error | Response | |-------|----------| | Cannot detect framework | Ask: "Is this Spring Boot, FastAPI, or another framework?" | | Missing template | Use closest match, inform user | | Skill not available | Offer markdown-only alternative | | Ambiguous request | Ask: "Would you prefer SRS (formal) or PRD (agile)?" | --- ## Antigravity Integration This skill is compatible with **Antigravity IDE**. When running in Antigravity, use the following adaptations. ### Tool Mapping | Claude Code Tool | Antigravity Equivalent | Usage | |-----------------|----------------------|-------| | `Read` | `view_file`, `view_file_outline` | Read skill files, templates, references | | `Write` | `write_to_file` | Create new documentation files | | `Edit` | `replace_file_content`, `multi_replace_file_content` | Edit existing docs | | `Glob` | `find_by_name` | Search for files by pattern | | `Grep` | `grep_search` | Search content within files | | `Bash` | `run_command` | Execute shell commands | | `Skill` | `view_file` (read another skill's SKILL.md) | Chain to other skills | ### Path Resolution In Antigravity, resolve all relative paths from the skill base directory: ``` ~/.gemini/antigravity/skills/document-specialist/ ``` Example: `references/templates/markdown/requirements-srs.md` resolves to: ``` ~/.gemini/antigravity/skills/document-specialist/references/templates/markdown/requirements-srs.md ``` For sub-workflow cross-references (e.g., `greenfield/srs-guide.md` inside `greenfield-workflow.md`), resolve relative to the **referencing file's directory**, not the skill root. ### Fallback Behavior (Missing Skills) | Requested Feature | Missing Skill | Fallback | |-------------------|--------------|----------| | Export to Word (DOCX) | `docx` | Inform user DOCX not available; offer Markdown output | | Export to PDF | `pdf` | Inform user PDF not available; offer Markdown output | | PlantUML diagrams (ER, sequence) | `plantuml` | Generate **Mermaid** syntax inline (Antigravity supports Mermaid rendering) | | C4 diagrams, flowcharts | `mermaid-architect` | Generate **Mermaid** syntax inline directly | --- **End of SKILL.md (v3.0-PDA, Antigravity-adapted)**
Related Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification
ui-ux-pro-max
UI/UX design intelligence for web and mobile. Includes 50+ styles, 161 color palettes, 57 font pairings, 161 product types, 99 UX guidelines, and 25 chart types across 10 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui, and HTML/CSS). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, and check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, and mobile app. Elements: button, modal, navbar, sidebar, card, table, form, and chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, and flat design. Topics: color systems, accessibility, animation, layout, typography, font pairing, spacing, interaction states, shadow, and gradient. Integrations: shadcn/ui MCP for component search and examples.
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
subagent-driven-development
Use when executing implementation plans with independent tasks in the current session
security-review
Security code review for vulnerabilities. Use when asked to "security review", "find vulnerabilities", "check for security issues", "audit security", "OWASP review", or review code for injection, XSS, authentication, authorization, cryptography issues. Provides systematic review with confidence-based reporting.
requesting-code-review
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
receiving-code-review
Use when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation