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

investigate

Bring past diagnoses to a bug before fixing it, record the new root-cause hypothesis, and close it as confirmed or refuted once the fix is verified. Use when a bug could come from more than one layer, or looks like something seen before.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md2.9 KB

SKILL.md(원문)

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

Investigate

Cartographer's part of bug work is memory: what was diagnosed before, which hypotheses turned out wrong, and what finally fixed it. How to debug is left to you. This skill adds three steps around your own diagnosis.

Resolve ROOT from CARTOGRAPHER_ROOT, CLAUDE_PLUGIN_ROOT, or PLUGIN_ROOT; otherwise use this skill's base directory (../.. from skills/investigate).

1. Recall before diagnosing

Search for the symptom and for the files or components involved:

bash "$ROOT/scripts/cartographer-search.sh" "Investigated <symptom words>" --limit 10
bash "$ROOT/scripts/cartographer-search.sh" "<file or component name>" --limit 10

For each earlier investigation result, search its event id to find how it ended. An investigation_outcome event names it in its summary:

bash "$ROOT/scripts/cartographer-search.sh" "evt-abc123def456" --limit 5

Use --get <ids> for the full records. Report what bears on this bug, most of all hypotheses that were refuted for a similar symptom, and a confirmed cause that could be recurring. An investigation with no outcome is an open guess, not a finding. If nothing relevant comes back, say so in one line.

2. Record the hypothesis

Once you have a diagnosis worth testing, record it. It should name the cause, the mechanism that produces the symptom, and one observation that would disprove it.

jq -n -c --arg symptom "$SYMPTOM" --arg hypothesis "$HYPOTHESIS" \
  --arg layer "$LAYER" --argjson files "$FILES_JSON" \
  '{kind:"open", symptom:$symptom, hypothesis:$hypothesis, layer:$layer, files:$files}' \
  | bash "$ROOT/scripts/record-investigation.sh"

layer is optional (for example logic, state, boundary, validation, build); files is an optional JSON array of paths. Keep the printed event_id for step 3. The receipt reports the durable write and the index separately; if indexing failed, the record is still searchable by keyword.

3. Close it

After the fix is verified against the real failure, or the hypothesis is disproved, record the outcome:

jq -n -c --arg id "$EVENT_ID" --arg outcome confirmed --arg evidence "$EVIDENCE" \
  '{kind:"close", resolves:$id, outcome:$outcome, evidence:$evidence}' \
  | bash "$ROOT/scripts/record-investigation.sh"

outcome is confirmed, refuted, or abandoned. evidence is the observation that decided it: a log line, a measured value, a passing check on the real target. A refuted hypothesis is worth closing: it is the record that saves the next session from repeating it.

If the investigation continues in another session, step 1 finds the open record and its id there.

리뷰

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

댓글

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

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

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

0 / 1,000자

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

같은 저장소의 스킬

carto

무료

Open the Session Cartographer Explorer web UI for visual browsing of Claude Code and Codex session history.

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

andyed/session-cartographer82026년 10월 18일 업데이트

focus

무료

Retired. Project orientation moved to the remember skill (`/remember --project <name>` with no query). Use remember instead.

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

andyed/session-cartographer82026년 10월 18일 업데이트

remember

무료

Recall past work across Claude Code and Codex sessions. Finds decisions, research, fixes, and conversations by intent; with only a project and no question, orients on that project's recent state.

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

andyed/session-cartographer82026년 10월 18일 업데이트

setup

무료

Diagnose or enable Session Cartographer semantic search in Codex, including least-privilege localhost access to local Qdrant and the embedding server. Use when setup, Qdrant health, localhost reachability, sandbox network denial, or semantic indexing is in question.

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

andyed/session-cartographer82026년 10월 18일 업데이트

standup

무료

Brief on concurrent sessions — who else is working, in which repos, on which files, and what landed underneath you. Use when a commit appears that you did not make, before touching a shared file, or when orienting mid-task in a busy workspace.

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

andyed/session-cartographer82026년 10월 18일 업데이트

trustmap

무료

Derive or update the auto mode `autoMode.environment` block from the event corpus — which repos, hosts, buckets, and CLIs your work actually touches.

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

andyed/session-cartographer82026년 10월 18일 업데이트

andyed의 스킬 모두 보기

이 스킬의 문제 신고