LogoClawIndex
CasesSkillsAbout
LogoClawIndex

jsdoc-gen - Add JSDoc or TSDoc comments to exported code

Adds JSDoc or TSDoc comments to exported functions, classes, and types without altering existing code logic.

Tags

Updated: 2026-09-11

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Add JSDoc comments to exports
  • Add TSDoc comments to exports
  • Describe parameters and return values
  • Describe exceptions thrown by functions

Inputs

  • Source file or directory paths
  • OPENAI_API_KEY environment variable
  • Documentation style options

Outputs

  • JSDoc and TSDoc comments
  • Updated source code files
  • Documentation preview in terminal

Requirements

  • Node.js 18 or higher
  • npx package runner
  • OPENAI_API_KEY environment variable

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
documentation
jsdoc
tsdoc
typescript
javascript
code-comments
Add JSDoc comments to exports
Add TSDoc comments to exports
Describe parameters and return values
Describe exceptions thrown by functions
Source file or directory paths
OPENAI_API_KEY environment variable
Documentation style options
JSDoc and TSDoc comments
Updated source code files
Documentation preview in terminal