/ 디렉터리 / 플레이그라운드 / Debug Skill
● 커뮤니티 AlmogBaku ⚡ 바로 사용

Debug Skill

제작: AlmogBaku · AlmogBaku/debug-skill

Real-debugger skill: breakpoints, stepping, variable inspection.

Most agents 'debug' by printing. This skill actually attaches a debugger (delve, debugpy, gdb) and exposes step/continue/inspect to Claude. Useful for nasty bugs where 'add a log' loops forever.

왜 쓰나요

핵심 기능

라이브 데모

실제 사용 모습

debug-skill.replay ▶ 준비됨
0/0

설치

클라이언트 선택

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "debug-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AlmogBaku/debug-skill",
        "~/.claude/skills/debug-skill"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop → Settings → Developer → Edit Config 열기. 저장 후 앱 재시작.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "debug-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AlmogBaku/debug-skill",
        "~/.claude/skills/debug-skill"
      ],
      "_inferred": true
    }
  }
}

Cursor는 Claude Desktop과 동일한 mcpServers 스키마 사용. 프로젝트 설정이 전역보다 우선.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "debug-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AlmogBaku/debug-skill",
        "~/.claude/skills/debug-skill"
      ],
      "_inferred": true
    }
  }
}

Cline 사이드바의 MCP Servers 아이콘 클릭 후 "Edit Configuration" 선택.

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "debug-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AlmogBaku/debug-skill",
        "~/.claude/skills/debug-skill"
      ],
      "_inferred": true
    }
  }
}

Claude Desktop과 같은 형식. Windsurf 재시작 후 적용.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "debug-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/AlmogBaku/debug-skill",
        "~/.claude/skills/debug-skill"
      ]
    }
  ]
}

Continue는 맵이 아닌 서버 오브젝트 배열 사용.

~/.config/zed/settings.json
{
  "context_servers": {
    "debug-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/AlmogBaku/debug-skill",
          "~/.claude/skills/debug-skill"
        ]
      }
    }
  }
}

context_servers에 추가. 저장 시 Zed가 핫 리로드.

claude mcp add debug-skill -- git clone https://github.com/AlmogBaku/debug-skill ~/.claude/skills/debug-skill

한 줄 명령. claude mcp list로 확인, claude mcp remove로 제거.

사용 사례

실전 활용법: Debug Skill

Find the nil deref a print loop can't catch

👤 Backend devs ⏱ ~15 min intermediate

언제 쓸까: A specific input causes a panic and you can't see where without a debugger.

사전 조건
  • Server/skill installed and authenticated — See repo README
흐름
  1. Reproduce under debugger
    Using the debug skill, run main_test.go::TestPanicCase under delve with a breakpoint at the panic frame.✓ 복사됨
    → Process paused at the panic
  2. Inspect
    Print locals and the call chain. Show me which variable is nil.✓ 복사됨
    → Variable value + caller chain

결과: Bug located, not guessed.

함정
  • Breakpoints by symbol can match multiple methods in Go interfaces — Breakpoints by symbol can match multiple methods in Go interfaces — qualify with the package path.

비용 및 제한

운영 비용

API 쿼터
See provider docs for rate limits
호출당 토큰
Varies by tool
금액
See repo README for pricing details
Cache tool results and avoid repeated identical calls.

보안

권한, 시크릿, 파급범위

자격 증명 저장: Use environment variables; never commit secrets
데이터 외부 송신: Tool calls go to the provider's API as documented

문제 해결

자주 발생하는 오류와 해결

delve not found

Install delve: go install github.com/go-delve/delve/cmd/dlv@latest.

확인: dlv version
debugger detaches randomly

Long pauses can hit the IDE's heartbeat. Use the skill's --no-heartbeat option for slow flows.

확인: Set the flag and retry

대안

Debug Skill 다른 것과 비교

대안언제 쓰나단점/장점
ad-hoc print debuggingTrivial bugsFaster setup; doesn't scale to hard bugs

더 보기

리소스

📖 GitHub에서 공식 README 읽기

🐙 열린 이슈 보기

🔍 400+ MCP 서버 및 Skills 전체 보기