This code is too clever and hard to read. Rewrite it for clarity: descriptive names, small functions, comments only where needed, and the same behaviour. Explain what the original was doing. Code: [paste code]
Results for “readability”
6 prompts
Create a code review checklist for a team working in [stack]. Cover correctness, readability, tests, security, performance, error handling, logging, documentation and style. Add tips for giving kind, actionable review comments.
Code review checklist for a team
A practical checklist for consistent code reviews.
Audit this page for the keyword "[keyword]". Check title tag, meta description, H1/H2 structure, keyword usage, search intent match, content depth, internal links, images and alt text, and readability. Give a prioritised list of fixes. Page content: [paste content]
Suggest better names in this code. Language and naming conventions: [details] ``` [paste] ``` For each unclear name, give 2–3 alternatives and explain why they're clearer. Then show the code with the best names applied. Don't change behaviour.
Better names for variables and functions
Get clearer, more descriptive names for confusing variables, functions and classes.
Act as a subtitle editor. Video type: [YouTube / Reels / TikTok / course] Transcript with timestamps (if available): [paste transcript] Please: 1. Clean the transcript (remove filler words, fix punctuation) without changing meaning 2. Split into caption lines of max 42 characters and 2 lines per caption 3. Output an S…
Captions and subtitles from a transcript
Turn a transcript into readable, well-timed caption lines and an SRT file, plus styling tips for short videos.
Act as a performance engineer. Language: [language] What the code does: [description] Typical input size: [e.g. 1M rows, 10k requests/min] Current speed/problem: [e.g. takes 40 seconds, high memory] Please: 1. Identify the bottlenecks and explain the current time and space complexity 2. Propose optimisations (better a…
Optimise slow code for performance
Find the bottlenecks in slow code, understand the time complexity, and get a faster version with benchmarks to prove it.