Code Comment Auditor

Audit your code documentation with this AI prompt, ensuring comments accurately reflect current code behavior and eliminate misleading information.

What this prompt does

  • Identifies and categorizes problematic comments in code documentation.
  • Provides recommendations for updating or deleting misleading comments.
  • Highlights the most dangerous comments that could lead to serious misunderstandings.

How to use this prompt

  1. Run the full prompt and answer the questions as detailed as possible.
  2. Example: "Comment #1: // This function sorts the array in ascending order. - Actual behavior: The function reverses the array. - Recommendation: Delete - code is self-explanatory."

Premium prompt — included in the Complete AI Bundle. Part of the Coding prompts collection in the God of Prompt library.

Related Coding prompts