305 prompts matching "clean code"
I have a nested IF formula that's grown unmaintainable. Rewrite it using SWITCH,...
Review the PR below as a senior engineer would. Cover: (1) correctness — does it...
I'm reviewing a pull request. I want to find the parts that work on the author's...
You are an engineering manager building a code review culture from scratch. Gene...
Add retry logic with exponential backoff and jitter to my API call code. Cover: ...
I'll paste a function. Identify every responsibility it currently has (parsing, ...
Plan a zero-downtime rename of database column [OLD_NAME] to [NEW_NAME] on table...
Help me clean a messy CSV export from [SYSTEM NAME] and turn it into an Excel Ta...
I'm about to LGTM a PR I haven't fully read. Here's the diff: [paste diff or des...
Analyze the following async code for race conditions. Identify any shared state ...
I have a function that's grown into a god-function. Refactor it without changing...
I want to add a feature, and the code I'd touch is messy enough that I'm tempted...
I want to refactor [MODULE]. Here's the current state: [PASTE]. Help me justify ...
Here's my antagonist: [PASTE BRIEF]. Right now their motivation is basically 'wa...
I have a column of free-text addresses scraped from a form: [PASTE 20 SAMPLES]. ...
I need to refactor [MODULE/FUNCTION] and there are no tests. Yes, I should add t...
A junior engineer on my team submitted a PR that works but has problems — naming...
I want to improve [CODE/MODULE — paste it or describe its shape]. The problems a...
I have an HTTP request that works perfectly when I send it from Postman or curl,...
Design a 30-minute design review with one engineer who will implement the work. ...
Act as a senior software engineer who pairs with juniors on refactors. I will pa...
You are a backend reliability engineer. Design a retry policy for calling [exter...
You are an Excel formula refactorer. Here is a nested IF formula that works but ...
Help me build an Excel tracker (for tasks, inventory, or expenses — I'll tell yo...