一键导入
investigate
// Structured root-cause debugging with scope lock. Use when hitting bugs, errors, or unexpected behavior. 4-phase: collect → analyze → hypothesize → fix.
// Structured root-cause debugging with scope lock. Use when hitting bugs, errors, or unexpected behavior. 4-phase: collect → analyze → hypothesize → fix.
Adaptive requirements clarification with auto-depth routing. Shallow (Q&A) for simple tasks, Deep (exploration + DRAFT + PLAN) for complex ones. Escalates automatically when ambiguity persists.
Security audit with Quick/Full modes. Quick runs inside /review for auth/API changes. Full runs standalone with OWASP Top 10 + STRIDE. Use when touching security-sensitive code or for periodic audits.
TDD implementation (RED→GREEN→REFACTOR) → verify → review. Use when a plan is approved and ready for coding. Drives the full chain automatically.
오픈소스 기여 가능성 분석. GitHub 레포 URL 또는 이슈 링크를 받아 기여 가능 여부를 판단. Analyze open source contribution viability — use when the user asks about contributing to a GitHub repo, wants to find good first issues, or asks if an issue is worth working on. Trigger on phrases like 'contribute', 'open source', 'good first issue', 'can I work on this', '기여', '오픈소스'.
오픈소스 기여 실행. oss-clarify 분석 후 실제 기여 작업 수행 — 브랜치 생성, 코드 수정, 테스트, 커밋 메시지 추천. Execute open source contribution after oss-clarify analysis. Use when the user says 'proceed', 'contribute now', 'OSS 작업 시작', '기여 진행', or confirms they want to start working on an issue.
Use this skill whenever creating PPTX slides, presentations, or decks. Covers 30 modern design styles (Glassmorphism, Neo-Brutalism, Bento Grid, Dark Academia, Gradient Mesh, Claymorphism, Swiss International, Aurora Neon Glow, Retro Y2K, Nordic Minimalism, Typographic Bold, Duotone Color Split, Monochrome Minimal, Cyberpunk Outline, Editorial Magazine, Pastel Soft UI, Dark Neon Miami, Hand-crafted Organic, Isometric 3D Flat, Vaporwave, Art Deco Luxe, Brutalist Newspaper, Stained Glass Mosaic, Liquid Blob Morphing, Memphis Pop Pattern, Dark Forest Nature, Architectural Blueprint, Maximalist Collage, SciFi Holographic Data, Risograph Print) with exact color, font, and layout specifications. Activate for any presentation request including words like "sleek", "modern", "trendy", "designed", "stylish", or "visually striking" slides. Also trigger when users want to make existing slides "look better", need a specific aesthetic for a deck, or ask about presentation design in general.
| name | investigate |
| description | Structured root-cause debugging with scope lock. Use when hitting bugs, errors, or unexpected behavior. 4-phase: collect → analyze → hypothesize → fix. |
독립 스킬. 메인 플로우(clarify→implement→verify→review→wrap)에 속하지 않음. 디버깅 상황에서 직접 호출하거나, 에이전트가 버그 시그널 감지 시 제안.
근본 원인 파악 없이 수정 금지. 증상만 보고 고치면 다른 곳에서 재발한다.
/investigate
│
├── Phase 1: 수집
│ ├── 에러 메시지 / 스택트레이스 전문 확보
│ ├── 재현 조건 정리 (입력, 환경, 순서)
│ ├── 언제부터 발생? (git log --oneline -20 확인)
│ └── 영향 범위 파악 (어떤 기능이 깨졌는가)
│
├── Phase 2: 분석
│ ├── 관련 코드 읽기 (에러 발생 지점 + 호출 체인)
│ ├── git blame (최근 변경이 원인인지)
│ ├── 패턴 매칭:
│ │ ├── Race condition — 공유 상태, 비동기 순서
│ │ ├── Nil propagation — null/undefined 전파 경로
│ │ ├── State corruption — 예상과 다른 상태 전이
│ │ ├── Off-by-one — 경계값, 인덱스
│ │ ├── Type mismatch — 런타임 타입 ≠ 선언 타입
│ │ └── Config/env — 환경별 차이, 누락된 변수
│ └── 재현 시도 (테스트 또는 수동)
│
├── Phase 3: 가설 (3-strike rule)
│ ├── 최대 3개 가설 수립, 가능성 높은 순 정렬
│ ├── 각 가설별 검증 방법 명시
│ ├── 검증 실행:
│ │ ├── 성공 → Phase 4
│ │ └── 실패 → 다음 가설
│ └── 3개 모두 실패 → 접근 전환 (다른 각도에서 재분석)
│
└── Phase 4: 수정
├── 최소 변경 원칙 (근본 원인만 수정)
├── 회귀 테스트 작성 (이 버그가 재발하면 잡히는 테스트)
└── 수정 요약 리포트
Phase 2에서 영향 범위를 파악한 후, 관련 모듈 외 파일 수정을 금지한다.
[Scope Lock 활성화]
수정 허용: src/auth/, src/middleware/
수정 금지: 그 외 전체
→ 범위 밖 수정이 필요하면 사용자에게 scope 확장 요청
## Investigation Report
### 증상
- 에러: {에러 메시지}
- 재현: {조건}
- 발생 시점: {커밋/시간}
### 근본 원인
{원인 설명} (file:line)
### 가설 검증 이력
| # | 가설 | 결과 | 근거 |
|---|------|------|------|
| 1 | {가설1} | 확인됨 | {증거} |
| 2 | {가설2} | 기각 | {이유} |
### 수정
- 변경: {file:line — 무엇을 어떻게}
- 회귀 테스트: {테스트 파일:테스트명}
### Scope Lock
- 허용 범위: {디렉토리 목록}
- 범위 밖 수정: 없음 | {있으면 사유}