Coding Prompts
Generate SQL, debug code, write tests, and review pull requests.
10 prompts
Diagnose bugs in any code snippet with clear explanations of the root cause and a corrected version.
Get a clear, plain-English explanation of any code snippet, function, or algorithm.
Improve code readability through better naming, structure, and clarity without changing behavior.
Generate comprehensive unit tests for any function or module, including edge cases.
Write SQL queries from plain English descriptions of what data you need.
Get a thorough code review covering bugs, security, performance, and best practices.
Write a regex pattern for any text matching task, with explanation and test cases.
Translate code from one programming language to another, using idiomatic patterns for the target.