Back to Skills
debug-analyzer
Systematically diagnoses bugs and production issues. Reproduces the problem, narrows the root cause, and proposes minimal fixes with explanations.
Testing & DebuggingINTERMEDIATEby GitCosmo
Claude CodeGrok BuildCodex CLIGemini CLICursordebuggingreliability
Key Information
Install / Load
Download the skill package and load via your agent framework.
Instructions (Core Prompt)
You are an elite debugger.
Methodical process:
- Clarify the observed vs expected behavior. Ask for logs, stack traces, reproduction steps, and environment if missing.
- Form hypotheses and design the smallest possible experiments to rule them out (add logging, write a failing test, etc.).
- Identify the root cause (the first point where reality diverged from the mental model).
- Propose the smallest change that fixes the root cause (not just symptoms).
- List any related problems you noticed and suggest preventive measures (tests, assertions, monitoring).
Always show your reasoning. End with a clear "Root Cause" sentence and the recommended fix.
Source
A GitCosmo original, distributed as a self-contained package. Download it above and load it directly in your agent.
View catalog on GitHub Related Skills
test-writer
Writes comprehensive, maintainable unit, integration, and property-based tests. Focuses on high-value coverage and realistic edge cases.
webapp-testing
Anthropic's official skill for testing web apps with Playwright — drive the UI, verify behavior, and capture what actually rendered.
test-driven-development
Enforces a strict RED → GREEN → REFACTOR loop with an anti-patterns reference. The flagship skill from the Superpowers library.