Skip to main content

ix-debug

Root cause analysis — trace execution path to a failure, narrow candidates, read minimal source only at suspected failure points.

설치로 이동

소스 정보

저장소
ix-infrastructure/ix-gemini-plugin
최근 소스 활동
2026년 5월 17일 23:17
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ix-debug
description
Root cause analysis — trace execution path to a failure, narrow candidates, read minimal source only at suspected failure points.
## Goal Answer: where in the execution path is this likely failing, and why? Stop once you have 1-3 root cause candidates with supporting evidence. If the Ix runtime is unavailable, `ix_status` will report this; fall back to grep + file reads. ## Preferred path — unified query For most cases: ``` ix_query({ mode: "debug", targets: [$ARGUMENTS], query: $ARGUMENTS }) ``` Use the returned `preview_markdown` as the primary analysis. Supplement below if candidates need confirmation. ## Phase 1 — Locate the entry point (always) Call: `ix_locate({ symbol: $ARGUMENTS })` If `$ARGUMENTS` is a symptom description, also call: - `ix_text({ pattern: $ARGUMENTS, limit: 10 })` ## Phase 2 — Explain (always) Call: `ix_explain({ symbol: <entry-point> })` Classify: boundary (unexpected input), orchestrator (wrong sequencing), utility (wrong assumptions by caller). Stop if: the explanation makes the failure source obvious. ## Phase 3 — Trace the execution path Call: `ix_trace({ symbol: <entry-point> })` Look for: state validation, cross-subsystem calls, high-callee-count functions. Narrow to 1-3 most suspicious nodes. ## Phase 4 — Callers (if failure might come from upstream) Call: `ix_callers({ symbol: <entry-point> })` ## Phase 5 — Targeted code read (at most 2 calls) For each root cause candidate (max 2), read the source file at the relevant line range. Hard limit: 2 source reads maximum. ## Output ```text ## Debug: [entry point] **Execution path:** [entry-point] -> [step] -> [step] -> [suspected failure point] **Root cause candidates:** 1. [function/file] — [reason: what assumption might be wrong] 2. [function/file] — [reason] **Evidence:** - [what graph data supports each candidate] - [what code read revealed, if any] **Confidence:** [high / medium / low] — [why] **Next steps:** - Add logging at [specific point] to confirm - Check [specific edge case] in [function] ```
GitHub에서 보기