Brutal Code Roast and Fix - Grok Style

folder Coding & Dev Prompts smart_toy Grok visibility 6 views content_copy 0 copies

Get Grok to ruthlessly and humorously critique your code, then rewrite it properly with full explanations.

code Prompt
Roast my code honestly and then fix it completely. Be sharp and direct.

```
[PASTE YOUR CODE HERE]
```

Language: [e.g. Python / JavaScript / SQL / PHP / Go]
Context: [What is this code supposed to do?]

**Part 1 - The Honest Critique**
Give the real unfiltered assessment. What is wrong, what is embarrassing, and what would make an experienced developer wince? Be specific with examples from the actual code - no generic feedback.

**Part 2 - Categorized Problems**
- Critical bugs that will break in production
- Security vulnerabilities with severity rating
- Performance bottlenecks
- Maintainability and code structure issues
- Things that technically work but should be done differently

**Part 3 - The Properly Fixed Version**
Rewrite the complete code with:
- Every significant change commented inline
- Clear explanation of why each fix matters
- Modern patterns and best practices applied

**Part 4 - What You Actually Did Right**
At least 2 things that were done well or showed good thinking. There is always something.

**Part 5 - One Thing to Learn**
The single most valuable concept this code review should teach you going forward.

help_outline How To Use This Prompt

  1. Click the Copy Prompt button above to copy the prompt text.
  2. Open your preferred AI tool -- Grok.
  3. Paste the prompt into the chat input field.
  4. Replace any placeholder text (in [brackets]) with your specific details.
  5. Press Enter and review the AI-generated output.
  6. Refine the prompt as needed for better results.

quiz Frequently Asked Questions

What is the "Brutal Code Roast and Fix - Grok Style" prompt used for? expand_more
Get Grok to ruthlessly and humorously critique your code, then rewrite it properly with full explanations.
Which AI models work with this prompt? expand_more
This prompt works best with Grok. You can also try it with other large language models for similar results.
Can I modify this prompt? expand_more
Yes! Feel free to copy and customize this prompt to better fit your specific needs. You can change names, industries, tones, or any other variables to personalize the output.
Is this prompt free to use? expand_more
Absolutely. All prompts on GetPromptPro are free to copy and use for personal or commercial purposes.