analyzing-docs

Expert at analyzing documentation quality, coverage, and completeness. Auto-invokes when evaluating documentation health, checking documentation coverage, auditing existing docs, assessing documentation quality metrics, or analyzing how well code is documented. Provides frameworks for measuring documentation effectiveness.

242 stars

Best use case

analyzing-docs is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Expert at analyzing documentation quality, coverage, and completeness. Auto-invokes when evaluating documentation health, checking documentation coverage, auditing existing docs, assessing documentation quality metrics, or analyzing how well code is documented. Provides frameworks for measuring documentation effectiveness.

Expert at analyzing documentation quality, coverage, and completeness. Auto-invokes when evaluating documentation health, checking documentation coverage, auditing existing docs, assessing documentation quality metrics, or analyzing how well code is documented. Provides frameworks for measuring documentation effectiveness.

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "analyzing-docs" skill to help with this workflow task. Context: Expert at analyzing documentation quality, coverage, and completeness. Auto-invokes when evaluating documentation health, checking documentation coverage, auditing existing docs, assessing documentation quality metrics, or analyzing how well code is documented. Provides frameworks for measuring documentation effectiveness.

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/analyzing-docs/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/c0ntr0lledcha0s/analyzing-docs/SKILL.md"

Manual Installation

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

How analyzing-docs Compares

Feature / Agentanalyzing-docsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Expert at analyzing documentation quality, coverage, and completeness. Auto-invokes when evaluating documentation health, checking documentation coverage, auditing existing docs, assessing documentation quality metrics, or analyzing how well code is documented. Provides frameworks for measuring documentation effectiveness.

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.

SKILL.md Source

# Analyzing Documentation Skill

You are an expert at analyzing documentation quality and coverage in codebases.

## When This Skill Activates

This skill auto-invokes when:
- User asks about documentation coverage or quality
- User wants to audit existing documentation
- User asks "how well documented is this code?"
- User wants to identify documentation gaps
- User needs documentation metrics or reports

## Documentation Coverage Analysis

### Coverage Metrics to Track

1. **Function/Method Documentation**
   - Total functions vs documented functions
   - Parameter documentation completeness
   - Return value documentation
   - Example code presence

2. **Class/Module Documentation**
   - Module-level docstrings/comments
   - Class descriptions
   - Property documentation
   - Constructor documentation

3. **File-Level Documentation**
   - File headers with purpose descriptions
   - License headers where required
   - Import documentation for complex dependencies

4. **Project-Level Documentation**
   - README.md completeness
   - API documentation coverage
   - Architecture documentation
   - Getting started guides

### Coverage Calculation

```
Coverage = (Documented Items / Total Items) * 100

Scoring:
- 90-100%: Excellent
- 70-89%:  Good
- 50-69%:  Needs Improvement
- <50%:    Critical
```

## Quality Assessment Framework

### Documentation Quality Dimensions

1. **Completeness** (0-10)
   - All public APIs documented
   - Parameters and returns described
   - Error conditions explained
   - Edge cases covered

2. **Accuracy** (0-10)
   - Documentation matches code behavior
   - Examples are correct and runnable
   - Types and signatures are accurate
   - No outdated information

3. **Clarity** (0-10)
   - Clear, concise language
   - Appropriate technical level
   - Good structure and organization
   - Consistent terminology

4. **Usefulness** (0-10)
   - Practical examples included
   - Common use cases covered
   - Troubleshooting information
   - Links to related resources

### Quality Score Calculation

```
Quality Score = (Completeness + Accuracy + Clarity + Usefulness) / 4

Ratings:
- 8-10: High Quality
- 6-7:  Acceptable
- 4-5:  Needs Work
- <4:   Poor Quality
```

## Language-Specific Patterns

### JavaScript/TypeScript
```bash
# Find documented functions
grep -r "@param\|@returns\|@description" --include="*.js" --include="*.ts"

# Find undocumented exports
grep -r "^export " --include="*.ts" | grep -v "/\*\*"
```

### Python
```bash
# Find documented functions
grep -rP '^\s*"""' --include="*.py"

# Find undocumented functions
grep -rP "^\s*def\s+\w+\([^)]*\):" --include="*.py"
```

### Go
```bash
# Find documented functions (comments before func)
grep -B1 "^func " --include="*.go" | grep "//"
```

## Analysis Report Template

```markdown
# Documentation Analysis Report

## Executive Summary
- Overall Coverage: XX%
- Quality Score: X.X/10
- Critical Gaps: X items

## Coverage by Category
| Category | Documented | Total | Coverage |
|----------|------------|-------|----------|
| Functions | X | X | XX% |
| Classes | X | X | XX% |
| Modules | X | X | XX% |

## Quality Assessment
| Dimension | Score | Notes |
|-----------|-------|-------|
| Completeness | X/10 | ... |
| Accuracy | X/10 | ... |
| Clarity | X/10 | ... |
| Usefulness | X/10 | ... |

## Critical Gaps
1. [File/Function]: Missing documentation for...
2. [File/Function]: Outdated documentation...

## Recommendations
1. Priority 1: Document public API functions
2. Priority 2: Update outdated examples
3. Priority 3: Add architecture overview
```

## Common Documentation Issues

### Critical Issues (Must Fix)
- Public APIs without any documentation
- Incorrect parameter types or return values
- Security-sensitive code without warnings
- Breaking changes not documented

### Major Issues (Should Fix)
- Missing parameter descriptions
- No usage examples
- Outdated code examples
- Missing error documentation

### Minor Issues (Nice to Fix)
- Inconsistent formatting
- Missing optional parameter defaults
- Verbose descriptions
- Duplicate documentation

## Analysis Workflow

1. **Scan Repository Structure**
   - Identify documentation directories (docs/, README, etc.)
   - Locate source code directories
   - Identify language(s) used

2. **Calculate Coverage**
   - Count documentable items per category
   - Count actually documented items
   - Calculate coverage percentages

3. **Assess Quality**
   - Sample documentation for quality review
   - Score each quality dimension
   - Identify patterns in issues

4. **Generate Report**
   - Summarize findings
   - Prioritize recommendations
   - Provide specific examples

## Integration

This skill works with:
- **writing-docs** skill for generating missing documentation
- **managing-docs** skill for organizing documentation structure
- **docs-analyzer** agent for comprehensive analysis tasks

Related Skills

github-actions-docs

242
from aiskillstore/marketplace

Use when users ask how to write, explain, customize, migrate, secure, or troubleshoot GitHub Actions workflows, workflow syntax, triggers, matrices, runners, reusable workflows, artifacts, caching, secrets, OIDC, deployments, custom actions, or Actions Runner Controller, especially when they need official GitHub documentation, exact links, or docs-grounded YAML guidance.

docs-architect

242
from aiskillstore/marketplace

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.

docstring

242
from aiskillstore/marketplace

Write docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.

docs-write

242
from aiskillstore/marketplace

Write documentation following Metabase's conversational, clear, and user-focused style. Use when creating or editing documentation files (markdown, MDX, etc.).

docs-review

242
from aiskillstore/marketplace

Review documentation changes for compliance with the Metabase writing style guide. Use when reviewing pull requests, files, or diffs containing documentation markdown files.

langgraph-docs

242
from aiskillstore/marketplace

Use this skill for requests related to LangGraph in order to fetch relevant documentation to provide accurate, up-to-date guidance.

gws-docs

242
from aiskillstore/marketplace

Read and write Google Docs.

gws-docs-write

242
from aiskillstore/marketplace

Google Docs: Append text to a document.

enact-docs-guide

242
from aiskillstore/marketplace

LLM guide for creating, publishing, and running Enact tools

pydanticai-docs

242
from aiskillstore/marketplace

Use this skill for requests related to Pydantic AI framework - building agents, tools, dependencies, structured outputs, and model integrations.

when-analyzing-user-intent-use-intent-analyzer

242
from aiskillstore/marketplace

Advanced intent interpretation system using cognitive science principles and probabilistic intent mapping

when-analyzing-skill-gaps-use-skill-gap-analyzer

242
from aiskillstore/marketplace

Analyze skill library to identify coverage gaps, redundant overlaps, optimization opportunities, and provide recommendations for skill portfolio improvement