This is a workflow for catching and fixing missing JSDoc comments in your TypeScript codebase. It runs a scanner script that identifies exported classes, functions, and other members that lack documentation, then walks you through adding proper JSDoc comments with param and returns tags. The workflow is straightforward: scan, review the report, add the missing docs, then verify. It's useful when you're trying to maintain documentation standards across a project or prepping code for release. The scanner focuses on exports, which makes sense since those are your public API. Not revolutionary, but it automates the tedious part of finding what needs documenting instead of hunting through files manually.

GitHub stars
504
last updated
Jun 11, 2026

Install

$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill update-docs --agent claude-code

Installs into .claude/skills of the current project.

Files

Update Docs Skill

[!IMPORTANT] Automated workflow to detect and fix missing documentation

Optional args: slug=, ticket=<id/url>, mode=interactive|autonomous|channel, channel=, auto_continue=true|false, profile=business|hybrid|technical.

Instructions

When the user asks to perform this workflow, execute the following steps:

Documentation Update Workflow

This workflow helps you identify and fix missing documentation in the codebase.

1. Run the Documentation Scanner

The scan-docs.ts script identifies exported members that lack JSDoc comments.

pnpm docs:scan

2. Analyze the Report

The script will output a list of files and members missing documentation.

Example output:

⚠️  Found undocumented members:
📄 src/services/MyService.ts
   - class MyService
   - function doSomething

3. Generate Documentation

For each missing item:

  1. Read the code to understand its purpose.
  2. Add JSDoc comments (/** ... */) above the export.
  3. Include:
    • Description of what it does.
    • @param tags for arguments.
    • @returns tag for return value.

4. Verify

Run the scanner again to ensure no items remain.

Sponsors

Details

Repository
github.com/hoangnguyen0403/agent-skills-standard
Categories
Documentation, AI & Agent Building, Debugging, Automation & Workflows
License
Apache-2.0
First seen
Jun 11, 2026

More from hoangnguyen0403/agent-skills-standard

All 28
1metabase avatardocs-writemetabase/metabaseWrite documentation following Metabase's conversational, clear, and user-focused style. Use when creating or editing documentation files (markdown, MDX, etc.).0skills.sh installs
2pytorch avatardocstringpytorch/pytorchWrite docstrings for PyTorch functions and methods following PyTorch conventions. Use when writing or updating docstrings in PyTorch code.0skills.sh installs
3reactjs avatardocs-componentsreactjs/react.devComprehensive MDX component patterns (Note, Pitfall, DeepDive, Recipes, etc.) for all documentation types. Authoritative source for component usage, examples, a0skills.sh installs
4reactjs avatarreview-docsreactjs/react.devThis orchestrates parallel reviews of React documentation files by routing them through specialized agents based on file location and...0skills.sh installs
5TencentCloudBase avatardocs-workflowsTencentCloudBase/CloudBase-AI-ToolkitDocumentation and extension workflows derived from local slash commands (docs, explanation, issues, prototypes, tutorials, MCP design review).0skills.sh installs
6Trevoke avatarwriting-skillsTrevoke/org-gtd.elThis is TDD for documentation.0skills.sh installs