236 prompts matching "legacy code"
You are a patient senior engineer. I will paste a code snippet and you will expl...
Act as a code reviewer focused on readability. Below is a function that has grow...
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 have a column of free-text addresses scraped from a form: [PASTE 20 SAMPLES]. ...
I want to automate a small, repetitive Excel task with VBA. The task is: [DESCRI...
I want to improve [CODE/MODULE — paste it or describe its shape]. The problems a...
Act as a staff engineer. A teammate opened a PR that delivers [FEATURE] on time ...
I want to leave a code review comment about [specific concern — naming, design c...
Act as a data engineer doing cleanup. I have a CSV that gets dropped into a shar...
I'll paste a diff or describe a change I just made. Write a commit message with ...
Act as an experienced open-source maintainer who values clean project history. I...
Add retry logic with exponential backoff and jitter to my API call code. Cover: ...
I'll paste a 400-line function that does too much. Help me refactor it. Walk thr...
Refactor the following large class (>500 lines, multiple responsibilities) into ...
I want to add a feature, and the code I'd touch is messy enough that I'm tempted...
I need to refactor [MODULE/FUNCTION] and there are no tests. Yes, I should add t...
I have a piece of logic that now appears in three places across our codebase. I'...
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...
I am reviewing a PR with a real bug — [describe bug]. The author is junior and h...
I'm writing a JD for [role + level]. The default move is to list every nice-to-h...
You're a senior engineer doing a code review. I'll paste the diff. Don't comment...
Act as a patient programming tutor. Explain what this code does line by line for...