Agent skill

debug

Expert debugging methodology. Triggers on debug, investigate, fix bug, troubleshoot.

Stars 7
Forks 2

Install this agent skill to your Project

npx add-skill https://github.com/sbusso/claude-system/tree/main/skills/debug

SKILL.md

Debug Like an Expert

Core principle: VERIFY, DON'T ASSUME. Code you wrote deserves extra skepticism.

Phase 1: EVIDENCE GATHERING

  • Document exact error (full message, stack trace)
  • Identify affected components
  • Check recent changes (git diff, git log)
  • Research error via context7 MCP if needed

Output: Evidence summary Gate: Have reproducible steps before proceeding

Phase 2: ROOT CAUSE ANALYSIS

  • Form 2-3 testable hypotheses
  • Test ONE variable at a time
  • Read complete files, not snippets
  • Chase dependencies to their source

Output: Identified root cause with evidence Gate: Can explain WHY the bug occurs

Phase 3: SOLUTION

  • Implement minimal fix
  • Verify fix addresses root cause (not symptoms)
  • Test original reproduction steps
  • Check for regressions

Output: Working fix with verification

Rules

  • No fixes without explaining WHY they work
  • Never assume - verify every assumption
  • Test one change at a time
  • Would this fix survive code review?

Expand your agent's capabilities with these related and highly-rated skills.

sbusso/claude-system

workflow

Enforces development phases. Triggers on implement, build, create, fix, refactor.

7 2
Explore
davila7/claude-code-templates

verl-rl-training

Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.

23,776 2,298
Explore
davila7/claude-code-templates

openrlhf-training

High-performance RLHF framework with Ray+vLLM acceleration. Use for PPO, GRPO, RLOO, DPO training of large models (7B-70B+). Built on Ray, vLLM, ZeRO-3. 2× faster than DeepSpeedChat with distributed architecture and GPU resource sharing.

23,776 2,298
Explore
davila7/claude-code-templates

gguf-quantization

GGUF format and llama.cpp quantization for efficient CPU/GPU inference. Use when deploying models on consumer hardware, Apple Silicon, or when needing flexible quantization from 2-8 bit without GPU requirements.

23,776 2,298
Explore
davila7/claude-code-templates

Claude Code Guide

Master guide for using Claude Code effectively. Includes configuration templates, prompting strategies "Thinking" keywords, debugging techniques, and best practices for interacting with the agent.

23,776 2,298
Explore
davila7/claude-code-templates

qdrant-vector-search

High-performance vector similarity search engine for RAG and semantic search. Use when building production RAG systems requiring fast nearest neighbor search, hybrid search with filtering, or scalable vector storage with Rust-powered performance.

23,776 2,298
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results