Loading...
Loading...
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.
npx skill4agent add c0ntr0lledcha0s/claude-code-plugin-automations analyzing-docsCoverage = (Documented Items / Total Items) * 100
Scoring:
- 90-100%: Excellent
- 70-89%: Good
- 50-69%: Needs Improvement
- <50%: CriticalQuality Score = (Completeness + Accuracy + Clarity + Usefulness) / 4
Ratings:
- 8-10: High Quality
- 6-7: Acceptable
- 4-5: Needs Work
- <4: Poor Quality# Find documented functions
grep -r "@param\|@returns\|@description" --include="*.js" --include="*.ts"
# Find undocumented exports
grep -r "^export " --include="*.ts" | grep -v "/\*\*"# Find documented functions
grep -rP '^\s*"""' --include="*.py"
# Find undocumented functions
grep -rP "^\s*def\s+\w+\([^)]*\):" --include="*.py"# Find documented functions (comments before func)
grep -B1 "^func " --include="*.go" | grep "//"# 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