nandanosql/api-doc-generator/validate-docs

Claude Code and agent skill by nandanosql/api-doc-generator

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Validate documentation quality, completeness, and coverage

Install

npx vskill@latest install nandanosql/api-doc-generator/validate-docs

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as nandanosql/api-doc-generator/validate-docs.

Validate Documentation

Analyze code and documentation to calculate coverage metrics, identify missing documentation, and assess quality.

Instructions

When the user invokes this skill:

  1. Parse the codebase:
  • Use the appropriate parser (TypeScript, Python, etc.)
  • Extract all public APIs (functions, classes, methods)
  • Read existing documentation
  1. Calculate coverage metrics:
  • Total number of public APIs
  • Number of documented APIs
  • Coverage percentage
  • Identify undocumented functions/classes
  1. Assess documentation quality:
  • Check for descriptions
  • Verify parameter documentation
  • Check return type documentation
  • Look for usage examples
  • Verify error documentation
  1. Generate quality scores:
  • Overall score (0-100)
  • Coverage percentage
  • Quality distribution (excellent/good/fair/poor)
  • Per-item quality scores
  1. Identify issues:
  • Missing documentation
  • Incomplete parameter docs
  • Missing return type docs
  • Missing examples
  • Brief or unclear descriptions
  1. Provide suggestions:
  • Where to add documentation
  • How to improve existing docs
  • Examples to add
  • Descriptions to expand

Output Format

Generate a comprehensive validation report with:

# Documentation Validation Report
## Summary
- Overall Score: 85/100
- Coverage: 90%
- Quality: 80/100
- Total Issues: 5
- Warnings: 3
- Suggestions: 8
## Coverage Details
- Total APIs: 50
- Documented: 45
- Undocumented: 5
## Quality Distribution
- Excellent (90-100): 30
- Good (70-89): 12
- Fair (50-69): 3
- Poor (0-49): 0
## Issues
[List of specific issues with locations]
## Suggestions
[List of improvement suggestions]
## Undocumented APIs
[List of APIs that need documentation]

Use Cases

  • Pre-commit checks for documentation quality
  • CI/CD documentation validation
  • Code review documentation assessment
  • Tracking documentation improvements over time

Arguments

The user can specify:

  • Source code directory
  • Minimum coverage threshold (default: 80%)
  • Whether to require examples
  • Output format (text, json, markdown)

Example usage:

/api-doc-generator:validate-docs src/api --min-coverage 85 --require-examples

Integration

This skill uses:

  • TypeScript/JavaScript parser for JS/TS files
  • Python parser for Python files
  • Documentation validator for quality assessment
  • Coverage calculator for metrics

Success Criteria

A passing validation should have:

  • Coverage >= minimum threshold (default 80%)
  • No critical issues
  • Quality score >= 70
  • All public APIs documented

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nandanosql/api-doc-generator/validate-docs/badge)](https://verified-skill.com/skills/nandanosql/api-doc-generator/validate-docs)

Something wrong with this skill or its page? Tell us.