Coding

XML Documentation Comment Generator for .NET & VBA Functions

Generate an XML documentation comment for a .NET or VBA function including summary, parameters, return value, remarks, example usage, and version information, formatted with 4-space indentation and wrapped lines.

9 steps 8 variables English

Prompt template

Run these steps in order.

01
Specify the programming language (e.g., .NET, VBA).
02
Provide the function name.
03
Write a brief summary of the function's purpose.
04
List the function parameters with their names, types, and descriptions.
05
Describe the return value of the function.
06
Add any additional remarks such as preconditions, compatibility notes, or references.
07
Include an example demonstrating how to use the function.
08
Provide the version number of the function.
09
Format the XML comment with 4-space indentation between tags and wrap lines longer than 72 characters.

Prompt library

Use these prompts directly inside ChatGPT.

Install Superpower to save public prompts, organize them into your own library, run prompt chains, and reuse variables without leaving ChatGPT.