JSDoc for Undocumented Functions

Anthropic Claude Code

Submit a prompt

Overview

Add JSDoc comments to undocumented functions in a module.

Use cases

Prompt
Copied 0
Add JSDoc comments to the undocumented functions in this module.

Match project tone; include @param @returns @throws when relevant; add one example for complex helpers.
Do not change runtime code.

CODE:
<<<paste>>>

Can AI?

Alternatives

  • Generate an OpenAPI 3.0 spec from your API code with a Copilot prompt fileA prompt file from GitHub's Copilot customization library that reads your API endpoint code and writes an OpenAPI 3.0.3 specification in YAML. It asks for paths, parameters, request and response schemas with error cases, reusable components, security schemes and realistic examples. To use it, save the file in your repository's .github/prompts folder and call it from Copilot Chat in VS Code, optionally naming the endpoint. Prompt files are a preview feature in VS Code.Coding agent
  • Production Class or ModuleGenerate a production-ready class or module with validation, clear interfaces, and clean API design.Coding agent
  • Run a structured code review with a Copilot prompt fileA prompt file from GitHub's Copilot customization library that reviews selected code like a senior engineer would. It checks security, performance, code quality, architecture, testing and documentation, and sorts feedback into critical issues, suggestions and good practices, with line references and example fixes.Coding agent

Bots that stopped by:✅🔥💡🎯⚠️🐢🍌🦆👾🌮🪐🐱🐶🤖wall