diagnosing-bugs
Diagnose bugs or performance regressions whose cause is unclear using reproduction, targeted evidence, and hypothesis testing.
Skill by maxatwork
Chalk Labs
Need help deploying diagnosing-bugs?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/maxatwork-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
Use cases: testing
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 or performance regressions whose cause is unclear using reproduction, targeted evidence, and hypothesis testing.
- License
- MIT
- Instructions
- 35 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 Find the cause of the user's exact symptom and verify its correction. Scale the investigation to the uncertainty; an obvious fix does not need a full diagnostic itinerary. ## Establish the failure Read the relevant code, existing tests, runtime output, and domain context. Source inspection and provisional hypotheses can help construct a reproduction. Label inference and uncertainty so neither is mistaken for an observed failure. Prefer a repeatable feedback signal that reaches the actual failure path: an existing test, a request against a local server, a CLI fixture, a browser interaction, or a captured trace. Use the cheapest signal that distinguishes the reported bug from nearby failures. For performance, establish a comparable baseline with timings, a profiler, or a query plan. Keep credentials in environment variables and redact secrets from commands, logs, and captured artifacts before showing them. Quote only the output needed to support the finding. ## Improve the signal where it helps Make the loop fast and reliable enough for useful iteration. Isolate state, control time or randomness, and minimize inputs when doing so reduces uncertainty. A slow integration reproduction is valid evidence; neither seconds-long execution nor exhaustive minimization is a prerequisite. For intermittent failures, record attempts and failures, then vary stress or scheduling deliberately to improve the reproduction rate. Keep changes to the reproduction distinguishable from the product fix. A low failure rate calls for more cautious conclusions, not abandonment of the evidence. If reproduction is unavailable, continue safe source and trace analysis. State what remains unverified and request the specific artifact, access, or decision needed when it actually blocks progress. Use [the human-assisted loop template](scripts/hitl-loop.template.sh) only when a person must perform a step the available tools cannot drive. ## Test explanations Form hypotheses from the evidence. Compare alternatives when several causes remain plausible; do not invent a quota. For each useful hypothesis, identify an observation or change that would distinguish it from alternatives. Share a meaningful finding or uncertainty without making routine probes wait for a checkpoint. Use focused debugger inspection, logs, profiling, or bisection. Change variables deliberately so the result has an interpretable cause. Tag temporary instrumentation so it can be removed without touching existing diagnostics. ## Fix and verify Trace affected callers and contracts before selecting the smallest correct fix. Use the repository's existing test conventions. Add regression coverage when it can exercise the real failure pattern; a shallow test that cannot fail for this bug is not protection. If no suitable seam exists, document that limitation rather than restructuring unrelated code just to add a test. When practical, observe the reproduction fail before the fix and pass afterward. Recheck the original scenario if investigation minimized or changed it. For a failure that cannot be reproduced locally, distinguish the evidence for the correction from runtime confirmation still needed. Remove instrumentation and stop processes created for the investigation. Preserve useful evidence and any user-owned scratch work. Finish when the scoped correction is verified to the available evidence standard, or identify the concrete remaining blocker and what would resolve it.
From maxatwork/skills, MIT.
More from maxatwork/skills
- 0.589score
exploring-repositories
maxatwork
Inspect or compare an external repository using a durable local clone.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
impeccable
maxatwork
Design or improve frontend UX and visual quality.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
model-selection
maxatwork
Choose the cheapest sufficient model and effort for coding, reasoning, taste, and throughput needs.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
penpot-canvas
maxatwork
Create, open, edit, inspect, and preview designs in a user-configured Penpot instance using Codex's built-in browser and the Penpot MCP server.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
forgejo-cli
maxatwork
Use when need to work with Forgejo repository tasks, including pull requests, issues, releases, and Actions.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
find-skills
maxatwork
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
grilling
maxatwork
Grill the user relentlessly about a plan, decision, or idea.
SkillAFreshness: A★ 1Claude Code +9 - 0.552score
create-verification-skill
maxatwork
Use ONLY when the user asks to create a repository verification skill.
SkillBFreshness: B★ 1Claude Code +9 - 0.549score
fallow
maxatwork
Analyze JavaScript and TypeScript with Fallow for unused code, duplication, complexity, architecture, styling, or changed-code risk.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
domain-modeling
maxatwork
Change or clarify domain concepts, terminology, ownership, and lifecycles.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ponytail-audit
maxatwork
Audit a whole codebase for unnecessary complexity when the user asks for over-engineering or bloat analysis.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
ponytail-debt
maxatwork
Inventory ponytail shortcut comments and their limits or upgrade triggers.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 12, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/maxatwork/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from maxatwork
- 0.589score
exploring-repositories
maxatwork
Inspect or compare an external repository using a durable local clone.
SkillAFreshness: A★ 1Claude Code +9 - 0.589score
impeccable
maxatwork
Design or improve frontend UX and visual quality.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
penpot-canvas
maxatwork
Create, open, edit, inspect, and preview designs in a user-configured Penpot instance using Codex's built-in browser and the Penpot MCP server.
SkillAFreshness: A★ 1Claude Code +9 - 0.584score
model-selection
maxatwork
Choose the cheapest sufficient model and effort for coding, reasoning, taste, and throughput needs.
SkillAFreshness: A★ 1Claude Code +9 - 0.581score
forgejo-cli
maxatwork
Use when need to work with Forgejo repository tasks, including pull requests, issues, releases, and Actions.
SkillAFreshness: A★ 1Claude Code +9 - 0.562score
find-skills
maxatwork
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express…
SkillAFreshness: A★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get diagnosing-bugs running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
diagnosing-bugs skill. Agent Mart. https://agentmart.dev/skills/maxatwork-diagnosing-bugs (last updated 2026-10-24)