← Text prompts
Text & chatWrite

Document non-obvious code behaviour

Add documentation where it improves understanding.

What to provide

  • Code / module
  • Audience
Make it yours

Fill in what you know. Empty fields stay as placeholders.

Supply code / module for this task.

Supply audience for this task.

Optional instructions
2 inputs to replace

Do not present inferred runtime behaviour as verified documentation.

Revision 1.0

How to use this prompt

State the audience and include the code's external contracts and assumptions.

What to check in the result

Do not present inferred runtime behaviour as verified documentation.