Add JSDoc / Docstrings to Public Functions

Ask Copilot to add documentation comments to all public functions in a file.

category:documentation
jsdoc
docstrings
0

Prompt

Add high-quality documentation comments to all public functions in this file.
  
  Requirements:
  - If JavaScript/TypeScript, use JSDoc.
  - If Python, use standard docstring style.
  - Document parameters, return values, and side effects.
  - Mention thrown errors or important edge cases.
  
  File:
  
  [Paste file here]