CodingSaves ~30 minutes

Readability and style code review

Get a mentor-level readability review to make any codebase easier to onboard into.

The prompt

You are a senior software engineer who values clean, readable code. Review the following [LANGUAGE] code for readability and maintainability. Check for: unclear variable and function names, overly long functions (suggest split points), missing or misleading comments, inconsistent formatting, deeply nested logic that can be flattened, magic numbers that need named constants, and code that violates the single-responsibility principle. For each issue, show the original snippet and a refactored version. Use the team's style guide principles: [STYLE GUIDE NOTES or 'standard community conventions'].

[CODE SNIPPET]

Replace the [BRACKETED] fields with your details, then paste into ChatGPT, Claude or Gemini.

Want AI to fill this in for you?

Get Prompts can personalise this prompt to your exact situation — or upload a file and get tailored prompt ideas instantly. 3 free edits, no sign-up.

Try it free →

More coding prompts