Back to Cline

Documentation Coverage Audit

sdk/examples/cron/documentation-check.cron.md

3.83.01.3 KB
Original Source

Audit documentation coverage across the codebase:

  1. Check public API documentation:

    • Functions exported from public modules
    • Classes and interfaces
    • Type definitions and generics
    • Decorators and annotations
  2. Identify missing documentation:

    • Public functions without JSDoc comments
    • Complex functions without explanation
    • Public types without descriptions
    • Exported modules without README or header comments
  3. Evaluate existing documentation quality:

    • JSDoc comments without @param or @return tags
    • Comments that are outdated or misleading
    • Code samples in docs that may be broken
    • Links in documentation that point to removed code
  4. Analyze documentation structure:

    • Main README quality and completeness
    • Architecture documentation
    • Contributing guide existence
    • API reference documentation
    • Changelog maintenance

Generate report with sections:

  • Documentation coverage percentage by module
  • Top 10 undocumented public APIs
  • Types with missing descriptions
  • Files with complex logic needing explanation
  • Outdated documentation instances

Recommendations:

  • High-priority items (public APIs without docs)
  • Documentation style improvements
  • Template suggestions for JSDoc
  • Links that need updating

Use plan mode to suggest improvements without applying changes.