본문으로 건너뛰기
Skillpedia
일반 코딩7.6k · #13141

bug-trace

하는 일

이 스킬은 보고된 버그를 근본 원인까지 추적합니다. 보고서를 읽고, 실패하는 코드 경로를 따라가며, 이를 깨뜨린 변경을 찾고, 다른 설명을 배제합니다. 원인을 아직 모르는 버그를 조사하는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓버그 보고가 들어왔고 원인을 아직 모를 때.
  • ✓버그에 여러 증상이 있어 각각을 따로 다뤄야 할 때.
  • ✓수정을 결정하기 전에 경쟁하는 설명을 배제하고 싶을 때.

스킬 링크

https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/bug-trace/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/bug-trace/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 버그 보고서를 출발점으로, 일부 사용자에게만 결제가 실패하는 이유를 찾아 주실 수 있나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 실패하는 경로의 각 단계를 전제 조건과 함께 적고, 현재 코드와 대조해 확인하며, 경로에 닿는 최근 변경을 찾고, 경쟁하는 설명들을 검증합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Bug trace

This skill finds a root cause. It doesn't judge whether the cause is systemic; investigate-bug adds that judgment on top. Never change product code while tracing.

1. Take in the report

pnpm exec tsx .agents/skills/bug-trace/scripts/bug-intake.ts \
  --issue <N|url> | --jira <KEY|url> | --file <path> | --text "<report>" \
  [--title "<line>"] [--run <id>]

It writes bug.json to the run directory and prints the run id (bug-gh-123, bug-eng-456, or bug-<date>-<hash>). Re-running with the same report reuses the run. Jira intake uses jira-refactor-findings' client and credentials.

2. Split symptoms

A report often lists several. Treat each one on its own, with a short label.

3. Trace each symptom

Follow references/bug-investigation.md:

  1. Write the path as hops, each with file:line and its runtime precondition.
  2. Check every precondition against today's code.
  3. List what changed on the path: system-history analyze.ts --focus with every file on the path, then read each regression candidate with pr.ts.
  4. Hold at least two explanations, and run the check that separates them.
  5. Reproduce in the branch browser when the path runs there.
  6. Check AGENTS.md, skills, and packages/core for a rule or primitive the code bypasses.

When fanning out to sub-agents, give each one the symptom, its entry point, and the whole brief. Don't give it a theory or a short list of files: that list becomes the boundary of its search.

Output

For each symptom:

  • the hop list, and the broken hop;
  • the trigger commit, or none-found and what you checked;
  • the explanations you ruled out, and how;
  • the evidence level: reproduced, traced (a broken hop shown in code), or inferred;
  • the framework rule involved;
  • the sibling sites.
자주 묻는 질문

제품 코드를 바꾸나요?

아니요. 이 스킬은 원인만 추적하며, 추적하는 동안 코드를 편집하지 않습니다.

보고서는 어디에서 올 수 있나요?

이슈, 티켓, 파일 또는 붙여 넣은 텍스트에서 올 수 있습니다.

원인이 여전히 불분명하면 어떻게 하나요?

이 스킬은 최소 두 가지 설명을 세워 두고, 둘을 구별하는 검사를 실행하라고 요청합니다.

상세 정보

작성자의 원본 설명

Find the root cause of a reported bug: take in the report (GitHub issue, Jira ticket, file, or pasted text), trace the failing path hop by hop with each hop's runtime precondition, find the recent change that broke it, and rule out rival explanations. Use for any bug investigation where the cause is not yet known.

repo: BuilderIO/agent-native

인기도

GitHub 스타
7.6k
순위
#13141
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬