Generate a docstring for this function. Function: {{function_code}} Language: {{language}} Constraints: - Follow language-specific docstring format (JSDoc, Python docstring, etc.) - Description: 1-2 sentences - Document each parameter with type and description - Document return value with type and description - Include example usage if function is complex - Note any exceptions/errors thrown - Max 15 lines total Output ONLY the docstring, ready to paste above the function.
Function Docstring Generator
Generate function documentation following language conventions.
12 copies0 forks
Share this prompt:
Details
Category
CodingUse Cases
Code documentation generationAPI documentation creationCode quality improvement
Works Best With
claude-opus-4.5gpt-5.2gemini-2.0-flash
Created Updated Shared