How They Use AI  |  Newest

<< Home  |  Work

Significantly better code quality

AreaWork
AI usedChatGPT
Sourcer/PromptEngineering
Posted2026-03-08

The move

Ask an AI to critique your code using a harsh, senior developer persona to identify structural flaws and bad habits.

Steps

  1. Copy the code snippet you want to review.
  2. Paste the code into ChatGPT.
  3. Use a prompt that asks for a harsh, senior developer critique.
  4. Review the specific technical flaws identified in the roast.
  5. Refactor your code based on the AI's technical feedback.

Prompt for your AI

Act as a senior developer who is tired of bad code. Roast this code snippet: [Paste your code here]. Point out specific technical issues, bad practices, and areas for improvement.

What happened

The user asked ChatGPT to roast their code as if it were a frustrated senior developer. The AI identified issues like poor function organization, lazy variable naming, and outdated temporary fixes. The user implemented the feedback, resulting in significantly improved code quality.

Watch out

The AI's feedback is intentionally aggressive and may be demoralizing. Focus on the technical advice rather than the tone.

Give it to your agent

Read https://howtheyuse.ai/p/significantly-better-code-quality.md and help me do this.

Sources



Last updated November 26, 2026.