- Home
- Skills
- Testing & Debugging
- Debug Production
Works with the AI Agents you already use
Debug Production
by Furkan Erday
Finds why production broke from the error, stack trace, and logs, and reads them straight from LogBrew when it is connected.
Free
What it does
- Finds why production broke from the error, stack trace, and logs
- Names the cause and the affected release
- Fixes the bug with the smallest change
- Checks after the deploy whether the error comes back
- Reads the issue, logs, and trace straight from LogBrew when it is connected
Who it's for
Startup founders managing their own apps
Find out exactly why your app crashed without digging through messy server logs yourself.
Try asking: “Why did the checkout fail for users ten minutes ago?”
Product managers overseeing a launch
See if a new error is a one-off or a major bug affecting your whole user base.
Try asking: “Check if the latest release caused the spike in login errors.”
Developers on call for production support
Get a clear report on the root cause and a proposed code fix for any production crash.
Try asking: “Debug this stack trace and suggest a fix.”
Debug Production
Example session with this skill installed
Our users are reporting a 500 error when they try to save their profile. Here is the stack trace from our dashboard. Can you find out what's wrong?
- Read your context and instructions
- Compiled the debug production
I will investigate this profile saving error using the stack trace you provided. I will look for the specific cause and suggest a fix.
Investigation Report
- Issue: Profile Update Failure in production (Service: api-main)
- Symptom: Users see a 500 Internal Server Error when clicking "Save".
- Observed: The crash happens at
controllers/user_controller.pyon line 42. The error is aNullReferenceExceptionbecause the "bio" field is missing in the request. - Affected: 42 events recorded in the last hour. It affects any user who leaves the bio section empty.
- Inferred cause: The database expects a string, but the code does not provide a default value when the field is empty.
- Proposed fix: Add a check to use an empty string if the bio field is missing. I have also written a test case that simulates a missing bio to ensure this doesn't happen again.
- Verify: Once you deploy this, I can monitor the logs to ensure no more 500 errors appear for the profile route.
Proposed Code Change:
# In controllers/user_controller.py
bio = request.form.get('bio') or ""
Would you like me to prepare the full pull request with this fix and the new test?
Connects securely to your tools. The creator never sees your data.
About this skill
Finds why production broke from the error, stack trace, and logs, and reads them straight from LogBrew when it is connected. Names the cause and the affected release, fixes the bug with the smallest change, and checks after the deploy whether the error comes back.
Use when someone asks why something broke in production, why checkout or login fails, what a production error or stack trace means, or to debug a production crash, exception, 500 error, or error spike.
Works from a pasted stack trace and logs of the production failure, or with the LogBrew MCP server or the logbrew CLI. To decide whether to keep or roll back a release, use verify-release instead.
The skill cannot fix issues in third-party services you don't control. It will not change your code without your explicit approval for every step.
Works from the error message, stack trace, release, environment, and logs that the person pastes. It follows 7 steps. It finds the failing issue, reads the stack and the first-seen release, pulls the logs and the trace around the first event, checks who is affected, states what is still unknown, writes the fix, and checks that new events stop. LogBrew is optional. When the LogBrew MCP server or the logbrew CLI is connected, the skill reads the issue, stack, logs, and trace straight from LogBrew.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
- Software
Git
- Optional
- LogBrew MCP serverorlogbrew CLI
Permissions
What's inside
Frequently Asked Questions
New in Testing & Debugging
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.