Community코딩 & 개발github.com

mattpocock/diagnose

어려운 버그 및 성능 저하를 위한 체계적인 진단 루프입니다. 재현 → 최소화 → 가설 수립 → 계측 → 수정 → 회귀 테스트 순서로 진행됩니다. 사용자가 '진단해 줘' / '디버깅해 줘'라고 말하거나, 버그를 보고하거나, 무언가 고장/예외/실패 상황을 알리거나, 성능 저하를 설명할 때 사용하세요.

diagnose란 무엇인가요?

이 스킬은 복잡한 버그나 성능 저하 문제를 체계적으로 진단하고 해결하기 위한 정형화된 접근법을 제공합니다. 개발자가 '이걸 진단해 줘', '디버깅해 줘'라고 요청하거나, 버그 보고, 예외 발생, 성능 회귀 등을 설명할 때 활성화됩니다. 이 스킬의 핵심은 6단계 진단 루프(재현 → 최소화 → 가설 수립 → 계측 → 수정 → 회귀 테스트)를 통해 문제의 근본 원인을 찾고, 수정 사항이 기존 기능을 망가뜨리지 않도록 보장합니다. 이는 다양한 AI 에이전트 플랫폼(Claude Code, Cursor, Codex 등)에서 사용할 수 있으며, 문제가 발생한 정확한 환경(코드 스니펫, 로그, 재현 단계)을 제공하면 AI가 각 단계를 순차적으로 수행하여 개발자를 안내합니다. 이 스킬은 단순한 디버깅 명령을 넘어, 반복 가능하고 문서화된 진단 프로세스를 통해 장기적인 코드 품질을 향상시키는 데 목적이 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/mattpocock/skills/tree/main/skills/diagnose

Installed? Explore more 코딩 & 개발 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

diagnose은(는) 무엇을 하나요?

어려운 버그 및 성능 저하를 위한 체계적인 진단 루프입니다. 재현 → 최소화 → 가설 수립 → 계측 → 수정 → 회귀 테스트 순서로 진행됩니다. 사용자가 "진단해 줘" / "디버깅해 줘"라고 말하거나, 버그를 보고하거나, 무언가 고장/예외/실패 상황을 알리거나, 성능 저하를 설명할 때 사용하세요.

사용 예시

  • "이 성능 저하를 진단해 줘"
  • "여기서 왜 예외가 발생하는지 디버깅해 줘"
  • "이 버그를 수정해 줘"
  • "무언가 고장 났어. 어떤 일이 일어나고 있는지 알아내는 걸 도와줘"

진단 루프 단계

  1. 재현: 문제를 일관되게 재현할 수 있는 환경을 확보합니다. 필요한 경우 최소한의 재현 코드를 작성합니다.
  2. 최소화: 문제의 원인이 될 수 있는 변수를 제거하여 범위를 좁힙니다.
  3. 가설 수립: 수집한 데이터를 바탕으로 근본 원인에 대한 가설을 세웁니다.
  4. 계측: 로깅, 프로파일링, 또는 브레이크포인트를 추가하여 가설을 검증합니다.
  5. 수정: 확인된 원인을 기반으로 수정 사항을 적용합니다.
  6. 회귀 테스트: 수정 사항이 기존 기능을 망가뜨리지 않는지 확인하기 위해 회귀 테스트를 수행합니다.

지원 플랫폼

  • Claude Code
  • Cursor
  • Codex
  • 기타 AI 에이전트 플랫폼

참고 사항

  • 문제의 정확한 환경(코드 스니펫, 로그, 재현 단계)을 제공하면 AI가 각 단계를 순차적으로 수행하여 개발자를 안내합니다.
  • 이 스킬은 단순한 디버깅 명령을 넘어, 반복 가능하고 문서화된 진단 프로세스를 통해 장기적인 코드 품질을 향상시키는 데 목적이 있습니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

mattpocock/ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

mattpocock/caveman

Ultra-compressed communication mode. Cuts token usage ~75% by dropping filler, articles, and pleasantries while keeping full technical accuracy. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman.

mattpocock/claude-handoff

Hand the current conversation off to a fresh background agent that picks up the work immediately.

mattpocock/codebase-design

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

mattpocock/design-an-interface

Generate multiple radically different interface designs for a module using parallel sub-agents. Use when user wants to design an API, explore interface options, compare module shapes, or mentions "design it twice".

mattpocock/diagnosing-bugs

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.

mattpocock/domain-modeling

Build and sharpen a project's domain model. Use when the user wants to pin down domain terminology or a ubiquitous language, record an architectural decision, or when another skill needs to maintain the domain model.

mattpocock/edit-article

Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.

mattpocock/git-guardrails-claude-code

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wants to prevent destructive git operations, add git safety hooks, or block git push/reset in Claude Code.

mattpocock/grilling

Grill the user relentlessly about a plan or design. Use when the user wants to stress-test a plan before building, or uses any 'grill' trigger phrases.

mattpocock/grill-me

Interview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me".

mattpocock/grill-with-docs

Grilling session that challenges your plan against the existing domain model, sharpens terminology, and updates documentation (CONTEXT.md, ADRs) inline as decisions crystallise. Use when user wants to stress-test a plan against their project's language and documented decisions.

mattpocock/handoff

Compact the current conversation into a handoff document for another agent to pick up.

mattpocock/implement

Implement a piece of work based on a PRD or set of issues.

mattpocock/implement-spec

Implement a specification in code.

mattpocock/improve-codebase-architecture

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

mattpocock/loop-me

Grill me about specs for the workflows I want to build, within this workspace.

mattpocock/migrate-to-shoehorn

Migrate test files from `as` type assertions to @total-typescript/shoehorn. Use when user mentions shoehorn, wants to replace `as` in tests, or needs partial test data.

mattpocock/obsidian-vault

Search, create, and manage notes in the Obsidian vault with wikilinks and index notes. Use when user wants to find, create, or organize notes in Obsidian.

mattpocock/prototype

Build a throwaway prototype to flesh out a design — a runnable terminal app for state/business-logic questions, or several radically different UI variations toggleable from one route.

관련 스킬