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/betofrega-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 hard bugs and performance regressions. Use when debugging failures or slowness.
- License
- MIT
- Instructions
- 12 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- LICENSE
- SKILL.md
- openai.yaml · agents/
- hitl-loop.template.sh · scripts/
SKILL.md (first lines)
# Diagnosing bugs Read relevant domain and ADR guidance. Justify skipped phases. Redact secrets as `<REDACTED>`; use environment credentials and show only diagnostic evidence. 1. **Build a tight, red-capable loop.** Run and show one command and redacted output proving the user's exact symptom. Require unattended execution, repeatability, and seconds-scale feedback; for intermittent bugs, establish a high reproduction rate. Prioritize this loop before hypotheses. If human interaction is unavoidable, use [the HITL template](scripts/hitl-loop.template.sh). Without a working loop, report attempts and request access or redacted evidence. Before requesting authorization for temporary production instrumentation, inspect existing provider telemetry as described in step 4. Ask when redaction removes the needed signal. 2. **Reproduce and minimize.** Capture the exact failure and reproduce it repeatedly. Remove one element at a time, rerunning the loop. Proceed when every remaining element is load-bearing: removing any one makes the loop green. 3. **Hypothesize.** Generate 3–5 ranked, falsifiable hypotheses with predicted observations. Show them before testing, incorporate user corrections, and continue without requiring a reply. 4. **Instrument.** First inspect existing telemetry in the relevant providers. Record the time window, filters, sampling and correlation; check exact identifiers and individual spans when a root-only trace search is empty. An empty query does not establish absence of failure or instrumentation. Identify the missing diagnostic evidence before adding signals. Test predictions, changing one variable at a time. Prefer debugger/REPL, then targeted logs with a unique debug prefix. For performance regressions, measure a baseline and bisect. 5. **Fix and protect.** At a seam exercising the real bug pattern, write the regression test before fixing; verify red → fix → green. If no suitable seam exists, document the architectural limitation instead of claiming regression coverage. 6. **Verify and clean up.** Rerun the original, unminimized scenario and verify green; require a passing regression test or document missing coverage. Remove temporary instrumentation and delete throwaway harnesses or retain them in a clearly marked debug location. Distinguish experiment cleanup from recovery: restoring a prior version or obtaining green probes does not establish a fix without causal evidence and verification of the affected journey. Record the confirmed cause in the commit or PR; retain inconclusive results and remaining gaps in the diagnostic record.
From BetoFrega/skills, MIT.
More from BetoFrega/skills
- 0.567score
code-review
BetoFrega
Review branch, PR, or in-progress changes from a commit, branch, tag, or merge-base across standards, spec, performance, observability, and accessibility.
SkillAFreshness: AClaude Code +9 - 0.567score
consolidate
BetoFrega
Consolidate canonical product knowledge, ideas, behavior, decisions, increments, and evidence; route technical decisions and reconcile delivery, exposure, and…
SkillAFreshness: AClaude Code +9 - 0.567score
grilling
BetoFrega
Clarify and stress-test a selected plan, decision, idea, or product increment through scoped interview rounds.
SkillAFreshness: AClaude Code +9 - 0.565score
explain-pr
BetoFrega
Explain large or complex pull requests as a navigable HTML guide, tracing user journeys from entrypoints through changed code.
SkillAFreshness: AClaude Code +9 - 0.564score
autonomous-decisions
BetoFrega
Resolve a specified set of decisions through independent deliberation and evidence-based judgment.
SkillAFreshness: AClaude Code +9 - 0.561score
domain-modeling
BetoFrega
Build and sharpen domain terms and relationships, or write/edit the domain glossary in CONTEXT.md.
SkillAFreshness: AClaude Code +9 - 0.561score
advisory
BetoFrega
Consult for stalls, repeated errors, complex algorithms, unresolved cross-layer interactions, or consequential decisions, diagnoses, plans, and reviews.
SkillAFreshness: AClaude Code +9 - 0.561score
beto-mode
BetoFrega
Read first for multi-step, design, implementation, debugging, planning, or review work.
SkillAFreshness: AClaude Code +9 - 0.561score
esds-decompress
BetoFrega
Decompress ESDS payloads into compact human-readable text.
SkillAFreshness: AClaude Code +9 - 0.561score
esds-compress
BetoFrega
Compress input using Exponential Semantic Density Scaling (ESDS).
SkillAFreshness: AClaude Code +9 - 0.558score
implement-spec
BetoFrega
Implement an entire specification and its ticket graph as one PR.
SkillAFreshness: AClaude Code +9 - 0.556score
host-network
BetoFrega
Request host execution when sandbox network restrictions cause connection failures or misleading CLI authentication errors, including gh.
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 8, 2026 (20 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/BetoFrega/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BetoFrega
- 0.567score
consolidate
BetoFrega
Consolidate canonical product knowledge, ideas, behavior, decisions, increments, and evidence; route technical decisions and reconcile delivery, exposure, and…
SkillAFreshness: AClaude Code +9 - 0.567score
grilling
BetoFrega
Clarify and stress-test a selected plan, decision, idea, or product increment through scoped interview rounds.
SkillAFreshness: AClaude Code +9 - 0.567score
code-review
BetoFrega
Review branch, PR, or in-progress changes from a commit, branch, tag, or merge-base across standards, spec, performance, observability, and accessibility.
SkillAFreshness: AClaude Code +9 - 0.565score
explain-pr
BetoFrega
Explain large or complex pull requests as a navigable HTML guide, tracing user journeys from entrypoints through changed code.
SkillAFreshness: AClaude Code +9 - 0.564score
autonomous-decisions
BetoFrega
Resolve a specified set of decisions through independent deliberation and evidence-based judgment.
SkillAFreshness: AClaude Code +9 - 0.561score
advisory
BetoFrega
Consult for stalls, repeated errors, complex algorithms, unresolved cross-layer interactions, or consequential decisions, diagnoses, plans, and reviews.
SkillAFreshness: AClaude Code +9
Cite this page
diagnosing-bugs skill. Agent Mart. https://agentmart.dev/skills/betofrega-diagnosing-bugs (last updated 2026-10-24)