Coding

XML Documentation Comment Generator for .NET and VBA

Generate a structured XML documentation comment for a function using its language, name, summary, parameters, return value, remarks, example, and version. Indent text between tags by four spaces and wrap lines longer than 72 characters.

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
Generate an XML documentation comment using the supplied details. Indent text between tags by four spaces 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.