diagnosing-bugs
Diagnose bugs, failures, and performance regressions using an observed failure signal and targeted probes.
Skill by lstmemery
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/lstmemery-diagnosing-bugs
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/diagnosing-bugs
What's inside
- Skill name
diagnosing-bugs- Description
- Diagnose bugs, failures, and performance regressions using an observed failure signal and targeted probes.
- License
- MIT
- Instructions
- 69 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (5)
- FEEDBACK.md
- SKILL.md
- openai.yaml · agents/
- hitl-loop.template.sh · scripts/
- trigger-cases.json · tests/
SKILL.md (first lines)
# Diagnosing Bugs Find and fix the cause of the user's exact symptom. Finish with evidence that the original scenario now passes, a meaningful regression test or a documented missing test seam, and temporary instrumentation removed. Read relevant domain glossary and ADRs when exploring the codebase. Redact secrets before showing any command, output, or artifact; use environment variables for credentials and quote only signal-bearing captured lines. ## Establish the feedback Build and run one command that reaches the actual failing path and detects the reported symptom. Capture the invocation and redacted failure. A nearby crash or a command that merely runs successfully is not an adequate signal. Tighten setup, assertion specificity, and determinism enough to distinguish causes. For repro techniques or human-only actions, read [FEEDBACK.md](FEEDBACK.md). For intermittent failures, record workload, trials, failure rate, and conditions; increase reproducibility where feasible. Retain those conditions for the final comparison. A single passing run does not establish that a flake is fixed. For performance regressions, pin the workload and record baseline measurements before changing code; prefer a profiler, timing harness, or query plan to logs. If no permitted feedback path can reproduce or detect the symptom, record the attempts and missing evidence. Ask for the smallest actionable prerequisite that the active runtime permits. Keep the diagnosis unresolved; do not present a speculative code change as a verified fix. ## Narrow and test Preserve the original scenario, then minimize enough to separate plausible causes. Remove inputs, callers, configuration, or steps one at a time while checking that the same symptom remains. Stop minimizing when additional cuts would not change the next diagnostic decision; exhaustive minimality is not a goal on its own. Start with the strongest falsifiable hypothesis. One is sufficient when the observed signal directly identifies a cause. If alternatives remain plausible, or a probe contradicts the first explanation, rank the competing hypotheses and choose a discriminating probe. Each hypothesis names its prediction: “If X is the cause, changing Y will change the observed symptom in this way.” Share the current hypothesis or ranked alternatives with the user; proceed with permitted probes while awaiting any useful steering. Change one variable per probe. Use debugger/REPL inspection when available; otherwise add targeted logs at the distinctions between hypotheses. Give instrumentation a unique prefix for cleanup. Retain evidence of which prediction passed or failed; a plausible story alone does not settle the cause. ## Fix and verify When a correct test seam exists, turn the reproducer into a regression test before the fix, observe the expected failure, apply the fix, then observe a pass. The test must exercise the real call pattern: a one-caller unit test cannot lock down a bug that requires several callers or a longer chain. If no suitable seam exists, document the architectural limitation rather than adding an implementation-mirroring test. The original feedback command still has to verify the fix. Re-run it against the original, unminimized scenario; for flakes and performance compare the recorded conditions and measurements, including remaining uncertainty. Run repository-required relevant checks. Remove tagged debug instrumentation and dispose of task-owned throwaway reproducers or retain them in a clearly marked debug location. Report the confirmed cause, fix, verification, and material limits; include that evidence in a commit/PR description when those artifacts are part of the task.
From lstmemery/skills, MIT.
More from lstmemery/skills
- 0.589score
shopping
lstmemery
Research a concrete purchase or current offer.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
retro
lstmemery
Review a named or current coding and orchestration session for evidence-backed improvements to an agent's environment.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
orchestrator
lstmemery
Coordinate delegated coding, research, and everyday tasks across agent harnesses.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
ticket-readiness
lstmemery
Review a specified ticket before implementation for current applicability, remaining acceptance, material assumptions, and directly related work.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
grilling
lstmemery
Stress-test a plan, decision, or idea through a relentless interview when the user asks to be grilled.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
setup-matt-pocock-skills
lstmemery
Configure a repo's issue tracker, triage vocabulary, and domain-document layout for the engineering skills.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
deep-research
lstmemery
Investigate broad comparisons, literature, landscapes, buy/build decisions, and high-stakes questions; use research for focused lookups.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
domain-modeling
lstmemery
Resolve domain terms, scenarios, ownership, boundaries, context maps, and ADRs; routine vocabulary lookup stays in project docs.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
research
lstmemery
Answer focused questions from documents, APIs, or a few sources; route broad comparisons and high-stakes investigations to deep-research.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
tdd
lstmemery
Use test-first development for features, fixes, and integration tests; test lists, tracer bullets, and red-green cycles.
SkillAFreshness: A★ 1Claude Code +9 - 0.582score
code-review
lstmemery
Review branches, PRs, fixed commits, or working changes against repository standards and the originating spec.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
herdr
lstmemery
Control Herdr panes, layouts, commands, and agents only when explicitly requested; requires HERDR_ENV=1.
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 4, 2026 (24 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/lstmemery/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from lstmemery
- 0.589score
orchestrator
lstmemery
Coordinate delegated coding, research, and everyday tasks across agent harnesses.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
retro
lstmemery
Review a named or current coding and orchestration session for evidence-backed improvements to an agent's environment.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
shopping
lstmemery
Research a concrete purchase or current offer.
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
ticket-readiness
lstmemery
Review a specified ticket before implementation for current applicability, remaining acceptance, material assumptions, and directly related work.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
setup-matt-pocock-skills
lstmemery
Configure a repo's issue tracker, triage vocabulary, and domain-document layout for the engineering skills.
SkillAFreshness: A★ 1Claude Code +9 - 0.586score
grilling
lstmemery
Stress-test a plan, decision, or idea through a relentless interview when the user asks to be grilled.
SkillAFreshness: A★ 1Claude Code +9
Cite this page
diagnosing-bugs skill. Agent Mart. https://agentmart.dev/skills/lstmemery-diagnosing-bugs (last updated 2026-10-24)