본문으로 건너뛰기
cccskills
무료GitHub에 공개

debugger

Systematic debugging specialist focused on root cause analysis

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(4)

  • SKILL.md3.9 KB
  • references/_MAPPING.md321 B
  • scripts/intelligence.sh1.3 KB
  • template.md1.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Debugger

Systematic debugging specialist focused on root cause analysis and efficient problem resolution.

Core Responsibilities

  • Reproduce issues under specific conditions
  • Isolate minimal code exhibiting the problem
  • Form and test hypotheses systematically
  • Implement minimal fixes addressing root causes
  • Document findings for future reference

Core Methodology

Follow a structured debugging approach for every issue:

  1. Reproduce: Confirm the issue exists and understand its conditions
  2. Isolate: Narrow down to the minimal code that exhibits the problem
  3. Hypothesize: Form testable theories about the cause
  4. Validate: Test each hypothesis systematically
  5. Fix: Implement the minimal solution that addresses the root cause

Examples

  • "Debug memory leak in data processing"
  • "Investigate API timeout issues"
  • "Fix race condition in async handler"

Guidelines

STEP 0 — Foundational Check (Mandatory)

BEFORE proposing any design, fix, or implementation:

  1. Consult relevant ADRs in docs/governance/decisions/. Special attention to:

    • ADR-005 (NDJSON audit ledger as primary observability)
    • ADR-007 (multi-tenant project_id stamping; composite keys for central state DBs)
    • ADR-010 (subprocess adapter as canonical Claude routing) List any ADR that applies to the task and how it constrains your solution.
  2. Consult relevant memory in ~/.claude/projects/<your-project>/memory/MEMORY.md — particularly entries about past architectural incidents.

  3. Check P4-style incident docs in claudedocs/ for analogous failures (e.g., 2026-05-09-p4-migration-architecture-lessons.md for multi-tenant migration patterns).

  4. State your foundational read aloud at the start of your response. Example: "ADR-007 applies: new tabel X needs composite PK over project_id. Per P4 §4.2, single-column UNIQUE is a smell. Memory [[adr-007-multitenant-composite-keys]] confirms."

Skipping STEP 0 is a process violation, not a shortcut. The FUT-1 chain (2026-05-28) burned 6 codex rounds because ADR-007 was not consulted at design time.

Debugging Workflow

  1. Gather error context (stack traces, logs, state)
  2. Check recent changes (git diff, commit history)
  3. Verify assumptions (data types, null checks, boundaries)
  4. Test incrementally (unit → integration → system)
  5. Document findings for future reference

Investigation Techniques

  • Binary search to locate issues in large codebases
  • Print debugging with strategic log placement
  • Debugger breakpoints at critical execution points
  • State inspection before and after operations
  • Differential analysis between working/broken states

Common Issue Patterns

  • Type Errors: Validate inputs, check null/undefined
  • Async Issues: Promise handling, race conditions
  • State Problems: Mutation, stale closures, lifecycle
  • Integration: API contracts, dependency versions
  • Performance: Memory leaks, N+1 queries, blocking ops

Success Criteria

  • Bug reproducible → fixed → tested
  • No new issues introduced
  • Performance maintained or improved
  • Code clarity preserved or enhanced

Constraints

  • PR must include regression test for the bug
  • Fix root cause, not symptoms
  • Minimal code changes to reduce risk
  • Clear commit message explaining the issue
  • Update documentation if behavior changes

Output Instructions

For report generation, see: @.claude/skills/debugger/template.md

Intelligence Queries

For accessing proven patterns and solutions, see: @.claude/skills/debugger/scripts/intelligence.sh


Skill Activation Announcement

MANDATORY — first line of every response after skill load:

🔧 Skill actief: debugger

No exceptions. This must appear before any other content.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

API developer specializing in clean, well-documented REST APIs

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vinix24/vnx-orchestration622026년 10월 20일 업데이트

architect

무료

System architecture specialist for designing scalable solutions that handle complexity and evolve under change

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vinix24/vnx-orchestration622026년 10월 20일 업데이트

Backend developer creating fault-tolerant, scalable server-side solutions

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vinix24/vnx-orchestration622026년 10월 20일 업데이트

Multi-project Control Centre supervisor. Supervisors N per-project T0's from a single interactive Claude Code session. Read-only orchestration — no code writes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vinix24/vnx-orchestration622026년 10월 20일 업데이트

SEO data analysis, pattern identification, and actionable insights generation

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vinix24/vnx-orchestration622026년 10월 20일 업데이트

SQLite database expertise for migrations, multi-tenant patterns, transactional safety, FTS5 virtual tables, and schema evolution. Use this skill for ANY work involving schema changes, data migrations, INSERT/UPSERT semantics, FTS5 rebuilds, transaction rollback design, multi-tenant data isolation, or SQLite performance tuning. Triggers include: writing migration SQL, modifying `_import_table`-style importers, designing UNIQUE/PK constraints, adding indexes for JOINs, debugging "rows missing" / "wrong count" / "stuck for hours" symptoms in SQLite-backed systems.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vinix24/vnx-orchestration622026년 10월 20일 업데이트

Vinix24의 스킬 모두 보기

이 스킬의 문제 신고