backend-debugging
Skill0 starsChanged 32 days agoMITView on GitHub
Debug backend issues systematically - root-cause analysis before fixes. Use when a backend system is failing or misbehaving - HTTP errors, database errors, Kafka issues (lag, rebalances, serialization), Redis issues, authentication failures, high latency, memory pressure, race conditions, or deployment failures. Do NOT use for design-time API decisions (api-design), code review of a working PR (backend-code-review), or general feature work (backend-job / software-internship). If the incident belongs to the backend part-time job vs. the internship and it matters, ask which context first.
- Deletes or force-pushes
2 other projects use a version of this.
Adopted by
Most recently taken up by
- nassaj2011/claude-skills-for-chatgpttheir own version, first seen Oct 25, 2026
- kenjichristopherv-del/debugmaxxingtheir own version, first seen Aug 13, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- kenjichristopherv-del/debugmaxxing★ 0same name
- nassaj2011/claude-skills-for-chatgpt★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- applied-ai-deliverySkill
- backend-code-reviewSkill
- backend-deploymentSkill
- backend-jobSkill
- backend-testingSkill
- car-part-retrievalSkill
- continuous-improvementSkill
- data-engineeringSkill
- documentationSkill
- internship-communicationSkill
- interview-prepSkill
- learning-roadmapSkill
- observabilitySkill
- production-deliverySkill
- skill-health-checkSkill
- software-internshipSkill
- thesis-helperSkill
- workflow-adapterSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Read the my-skill plugin's docs/workflow-profile.md.
- Distinctive: line 36
Add prevention: the code/config change, a rule (lint, CI check, alert), or a runbook note.
- Very specific: line 38
After the fix is agreed, offer the implementation path: provide the regression test plan via backend-testing, and route code changes …
- Distinctive: line 62
Do not jump to a fix without asking for key evidence when the failure mode is genuinely ambiguous.
- Distinctive: line 64
Prefer reversible changes (feature flags, config, targeted fix) over irreversible ones.
- Distinctive: line 65
Never ask for or repeat secrets.
- Distinctive: line 66
If the incident is in the internship's project instead of the backend job, switch to the correct context and say so.
- Distinctive: line 77
Behavior: Ask for consumer logs, group config (max.poll.*, session.timeout), broker settings, message payloads.
- Distinctive: line 79
Behavior: Ask specific evidence (stack trace, error log, deploy diff).
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Backend Debugging
Purpose
Turn vague complaints ("it's slow", "500s spiked") into a hypothesis-driven diagnosis: collect symptoms, form candidate causes, confirm the cheapest way, then fix and prevent.
When to use
- A concrete error, exception, or wrong behavior in a backend system.
- Performance or latency problems, memory growth, thread/connection pool exhaustion.
- Kafka consumer lag, rebalance storms, deserialization errors; Redis eviction/latency; DB deadlocks, timeouts, replication lag; auth/permission failures; flaky behavior under load; deployment or rollout failures.
When not to use
- Designing a new endpoint or fixing the design (not a defect) →
api-design. - Reviewing code quality of a working change →
backend-code-review. - Writing the regression test suite for the fix →
backend-testing. - General feature implementation →
backend-joborsoftware-internship.
Context intake
- Environment (local/staging/prod), when behavior changed, and whether a fast mitigation or the full root-cause chain is wanted first. Detect or confirm before starting (ask at most what is genuinely needed):
- Which context: one of the contexts defined in
docs/workflow-profile.md("Contexts")? Readdocs/active-context.mdfirst: ifCurrentnames a context set within the last day, use it, apply its rules, and do not ask. Otherwise fall back to the active roles and projects indocs/workflow-profile.md; ask when it could be two different contexts. - What is the desired output: a plan, code, a review, tests, documentation, a deployment plan, or research notes? Confirm if ambiguous.
Workflow
- Read the my-skill plugin's
docs/workflow-profile.md. If it is missing, contradicts this request, or was last updated more than ~3 months ago, confirm or update it with Sothy before applying any role, project, or stack assumptions. - Collect symptoms. If evidence is missing, ask for the smallest set of facts needed — never guess silently.
- List 2–4 plausible root causes, ranked by likelihood, each with the evidence that would confirm/deny it.
- Suggest the fastest safe confirmation step per hypothesis (log query, metric,
EXPLAIN ANALYZE, kcat/redis-cli probe, canary) — production-safe actions first. - Once the likely root cause is identified, give the fix: smallest reversible change first; include exact code/config where possible.
- Add prevention: the code/config change, a rule (lint, CI check, alert), or a runbook note.
- Suggest monitoring or alerting so recurrence is detected within minutes, not days. For day-2 coverage design (dashboards, SLOs, full runbooks), route to
observabilityinstead of duplicating it here. - After the fix is agreed, offer the implementation path: provide the regression test plan via
backend-testing, and route code changes throughbackend-job(backend job) orsoftware-internship(internship) — ask which context if relevant.
Adaptation rules
- Discriminating probes follow the stack: EXPLAIN for SQL, kcat/offset math for Kafka, redis-cli for Redis, profiler/backtraces for leaks.
- ML/CV pipeline failures: add data-shape and experiment-config checks to the hypothesis list.
- Personal/thesis environments: cheaper instrumentation is fine, but the hypothesis-rank-confirm discipline stays identical.
Inputs needed
- Exact error message / log excerpts (redacted), stack traces, HTTP status.
- Endpoint, service, and environment (local/staging/prod), and when it started.
- Frequency, blast radius, and recent changes (deploy, config, migration, traffic).
- Infrastructure facts known so far: DB engine and version, Kafka setup, Redis mode, deployment target.
Output contract
- Symptoms — what is observed, where, since when.
- Possible causes — ranked, with expected confirming evidence.
- Diagnostic steps — concrete commands/queries per cause, ordered cheapest-first.
- Likely root cause — stated, or explicitly "not yet confirmed, best current hypothesis".
- Fix — concrete change(s), smallest first.
- Prevention — code/test/checklist changes that stop recurrence.
- Monitoring or alerting suggestions — specific metric/log/threshold ideas.
Rules and constraints
- Do not jump to a fix without asking for key evidence when the failure mode is genuinely ambiguous.
- Prioritize production safety: no destructive operations, no
DROP/TRUNCATE/rm -rf, no restarting customer traffic without flagging consequences. Recommend read-only diagnostics first. - Prefer reversible changes (feature flags, config, targeted fix) over irreversible ones.
- Never ask for or repeat secrets; tell Sothy to redact tokens/PII from logs before sharing.
- If the incident is in the internship's project instead of the backend job, switch to the correct context and say so.
Quality checklist
- Root cause confirmed or explicitly labeled as best current hypothesis.
- Diagnostic steps are read-only and production-safe.
- Fix is reversible, or irreversibility is flagged.
- Prevention step + monitoring suggestion included.
Examples
- Request: "Kafka consumer keeps restarting every few minutes." Behavior: Ask for consumer logs, group config (max.poll.*, session.timeout), broker settings, message payloads. Rank causes (processing time > max.poll.interval.ms, deserialization crash, rebalance loop). Give a safe check (compare poll durations in logs), fix, prevention (durable offset handling, alerting on lag), and monitoring suggestions.
- Request: "An endpoint started returning 500 after yesterday's release." Behavior: Ask specific evidence (stack trace, error log, deploy diff). Rank causes (migration mismatch, N+1 → pool exhaustion, config regression). Give diagnostic steps in environment order, a minimal reversible fix, regression test suggestion, prevention (CI contract check), and an alert on 5xx rate.
Lessons learned
Record improvements after real usage (maintained via continuous-improvement). Format:
<date>--<what happened>-><change made to this SKILL.md>
(empty -- entries appear after real usage)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

