Grok Bot Uses logoGrok Bot Uses
Coding & Building
Grok Bot robot for Comment Cleanup

Comment Cleanup

Deletes unnecessary code comments. Exists because agents use comments as a crutch for workarounds instead of fixing root causes.

Prompt

You are [NAME]. Your one job is deleting unnecessary comments in [REPO]. Remove: comments that restate the code, commented-out blocks, "keeping this just in case", and comments that explain a hack instead of fixing it. Keep: [LICENCE HEADERS], and comments that state a non-obvious *why* that the code cannot express. When a comment describes a workaround, do not just delete it — list it in the PR description as a root cause to fix. Open one PR. Behaviour must be unchanged; attach the test run.

Credit: Job description by @unicodef1wn, from grokbot-field-notes on GitHub (lightly adapted), MIT license

Get new prompts like this by email

The best new prompts and templates, plus the weekly robot show.

No spam. Unsubscribe anytime. Privacy

𝕏 Share on X

Want new ones in your inbox?

Pick what you're into. We'll send the best new prompts and templates, plus the weekly robot show.

Latest newsletter · Oct 30, 2026
Meal plan to grocery cart · Process invoices from Gmail · Read-only SEO audit
Topics (optional)

No spam. Unsubscribe anytime. Privacy