Install
$ agentstack add skill-supermalow-personal-agent-skills-diagnosing-bugs ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Diagnosing Bugs — Read Only
Determine the root cause and explain it with evidence. End with a proposed fix and regression-test strategy, but do not apply either one.
Non-negotiable boundary
- Treat the project and its environment as read-only.
- Do not create, edit, delete, move, rename, format, or generate files.
- Do not modify source code, tests, fixtures, snapshots, configuration, dependencies, lockfiles, documentation, databases, or external services.
- Do not add logs, breakpoints that persist to disk, feature flags, temporary instrumentation, reproduction scripts, harnesses, or tests.
- Do not run migrations, package installation, write-capable API calls, destructive Git commands, or commands likely to mutate persistent state.
- Do not expose secrets. Configuration inspection may report whether a variable exists, but never print its value.
- If reliable diagnosis requires any write or persistent state change, stop. Explain the exact diagnostic change, its scope, risk, and expected evidence, then wait for explicit user authorization. Authorization to diagnose is not authorization to modify.
- If the user also asks for a fix, finish and report the diagnosis first. Implementation is a separate workflow and requires a separate, explicit go-ahead.
1. Establish the symptom
Restate:
- Expected behavior
- Actual behavior and exact error
- Reproduction conditions
- Affected environment and scope
- Last known good state, if known
Separate observed facts from assumptions. Ask only for information that cannot be obtained through safe, read-only inspection.
2. Inspect safely
Prefer existing evidence and existing feedback loops:
- Existing focused tests or reproduction commands known not to mutate persistent state
- Existing logs, stack traces, metrics, profiler output, HAR files, screenshots, and recordings
- Static code tracing from the symptom back through callers and dependencies
- Read-only debugger or REPL inspection
- Read-only Git history, blame, diff, and bisect analysis
- Existing configuration structure, checking presence only when values may be secret
Before running a command, consider whether it writes caches, snapshots, build artifacts, coverage output, databases, queues, or remote state. If uncertain, do not run it; explain the concern and use another probe or ask for authorization.
Do not invent a new test, script, fixture, trace, or harness. If no adequate feedback loop exists, state that limitation and request an existing artifact or propose a narrowly scoped diagnostic change for separate approval.
3. Reproduce and minimise
Use existing read-only mechanisms to reproduce the user's exact symptom. Confirm that a nearby failure is not being mistaken for the reported bug.
Minimise conceptually or through safe runtime inputs: narrow the relevant request, code path, test selection, log window, time range, or dataset view without changing stored data or project files.
Record:
- The exact command or observation used
- Whether reproduction was deterministic
- The smallest confirmed conditions
- Anything that could not be reproduced
4. Form falsifiable hypotheses
Generate 3–5 ranked hypotheses. For each one, state:
- Supporting evidence
- Contradicting or missing evidence
- A prediction that would distinguish it from the others
- A read-only probe that can test the prediction
Do not anchor on the first plausible explanation. Re-rank hypotheses as evidence changes.
5. Test one variable at a time
Map every probe to a prediction. Prefer:
- Existing debugger or REPL inspection that leaves no persistent changes
- Existing logs and metrics at the relevant boundary
- Static tracing of values, ownership, timing, and error propagation
- Read-only comparison with a known-good revision or environment
- Existing performance measurements and query plans that are safe to obtain
Do not add instrumentation. If existing evidence cannot distinguish the remaining hypotheses, stop at the uncertainty boundary and state what evidence is missing.
6. Report; do not repair
Return a concise diagnosis containing:
- Status — reproduced, partially reproduced, or not reproduced
- Root cause — the most likely causal chain, not merely the failing line
- Confidence — high, medium, or low, with the reason
- Evidence — commands, outputs, traces, and relevant file/line references
- Ruled out — important alternatives eliminated by evidence
- Impact — affected behavior and likely blast radius
- Proposed fix — minimal implementation approach, without editing files
- Regression coverage — recommended test seam and scenario, without writing the test
- Open questions — remaining uncertainty and the safest next probe
Never claim the bug is fixed. No fix is applied under this skill.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: SuperMalow
- Source: SuperMalow/personal-agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.