Automated TSDoc Documentation

0•

Generates high-quality TSDoc/JSDoc comment blocks for exported functions, routes, and components using a Source/Consumer convention.

This skill automates the process of adding comprehensive documentation to TypeScript and JavaScript files by implementing a strict 'Source/Consumer' convention that traces data flow between files. Unlike basic documentation tools, it reads the entire file context and uses external utilities to find actual callers, ensuring that every exported symbol—including Express handlers, React components, and Zod schemas—has accurate context regarding where inputs originate and where outputs are consumed. It is an essential tool for maintaining architectural clarity in large-scale real estate CRM projects or any complex full-stack application.

Key Features

01Source/Consumer tracing to document data flow across the codebase
020 GitHub stars
03Automated TSDoc/JSDoc generation for all exported symbols
04Automated type-check verification to ensure documentation integrity
05Intelligent caller discovery via repository-wide search tools
06Support for Express API routes, React components, hooks, and Zod schemas

Use Cases

01Mapping Express API route data flow from request parameters to React Query consumers
02Standardizing documentation across a legacy codebase during technical debt sprints
03Documenting complex React components and tracing prop origins to parent files