Coding

XML Documentation Comment Generator for .NET and VBA

Generate a structured XML documentation comment for a .NET or VBA function, including its summary, parameters, return value, remarks, example, and version.

9 steps 1 variables English

Prompt template

Run these steps in order.

01
Specify the programming language (for example, .NET or VBA): LANGUAGE.
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 function's return value.
06
Add remarks such as preconditions, compatibility notes, or references.
07
Include an example demonstrating how to use the function.
08
Provide the function's version number.
09
Format the XML documentation comment with four-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.