Explain this stack trace in plain English. Identify where the error actually originates in my code (not library code), the likely cause, and how to fix it. Ask for the relevant code if needed. Stack trace: [paste]
Git command helper
Prompt
Act as a Git expert helping a [beginner / intermediate] developer. My situation: [e.g. I committed to main instead of a feature branch / I need to undo my last push / merge conflict in two files] Output of git status: ``` [paste] ``` Have I pushed? [yes / no] Working alone or in a team? [alone / team] Give me: 1. What's going on 2. Step-by-step commands with what each does 3. How to check it worked 4. A safety tip (e.g. make a backup branch first) 5. How to avoid this next time
Tip: replace anything in [brackets] with your own details before you paste it.
Similar prompts
Write a script in [language] that generates [number] realistic fake records for [entity, e.g. customers with orders] matching this schema: [schema]. Use a faker library, keep relationships consistent, and output as [SQL/JSON/CSV].
Generate realistic test data
Creates realistic fake data for development and tests.
Our product: [description]. Team size: [n]. Expected scale: [scale]. Should we use a monolith, modular monolith or microservices? Compare them for our situation, recommend one, and outline how to keep options open for the future.
Microservice vs monolith decision
Helps decide the right architecture for your team and product.
Explain the Big O time and space complexity of this code step by step, as if teaching a junior developer. Point out the most expensive part and how input size affects it. Code: [paste code]