Claude-skill-registry documentation-specialist

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/documentation-specialist" ~/.claude/skills/majiayu000-claude-skill-registry-documentation-specialist && rm -rf "$T"
manifest: skills/data/documentation-specialist/SKILL.md
source content

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

IntentKeywordsWorkflow
CREATE_NEW"create", "generate", "write" + doc typegreenfield-workflow.md
CODE_TO_DOCS"document", "extract", path referencebrownfield-workflow.md
AUDIT"audit", "review", "check", "improve"audit-workflow.md
CONVERT"convert", "to Word", "to PDF"convert-workflow.md
DIAGRAM"diagram", "C4", "sequence", "ER"diagram-workflow.md
USER_DOCS"user manual", "how-to", "getting started"user-docs-workflow.md
TUTORIAL"tutorial", "API guide", "CLI docs"tutorial-workflow.md
RUNBOOK"runbook", "procedure", "incident"runbook-workflow.md

CRITICAL: Load only the workflow needed for the current intent. Avoid loading multiple workflows.


Document Type → Template

Requirements & Design:

TypeTemplate
SRSrequirements-srs.md
PRDrequirements-prd.md
OpenAPIapi-openapi.yaml

User Documentation:

TypeTemplate
User Manualuser-manual.md
How-To Guidehowto-guide.md
Getting Startedgetting-started.md

Developer & Operations:

TypeTemplate
Developer Tutorialdeveloper-tutorial.md
Runbookrunbook.md

Framework Detection (Brownfield)

FrameworkDetectionMapping
Spring Boot
pom.xml
,
@SpringBootApplication
spring-boot-mapping.yaml
FastAPI
requirements.txt
,
from fastapi import
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

Reference Guides

Examples


Skill Integration

SkillInvocation Trigger
docxRequest includes Word format
pdfRequest includes PDF format
plantumlUML diagrams (ER, sequence, component)
mermaid-architectC4 diagrams, flowcharts

Error Handling

ErrorResponse
Cannot detect frameworkAsk: "Is this Spring Boot, FastAPI, or another framework?"
Missing templateUse closest match, inform user
Skill not availableOffer markdown-only alternative
Ambiguous requestAsk: "Would you prefer SRS (formal) or PRD (agile)?"

End of SKILL.md (v3.0-PDA)