bug-trace
하는 일
이 스킬은 보고된 버그를 근본 원인까지 추적합니다. 보고서를 읽고, 실패하는 코드 경로를 따라가며, 이를 깨뜨린 변경을 찾고, 다른 설명을 배제합니다. 원인을 아직 모르는 버그를 조사하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓버그 보고가 들어왔고 원인을 아직 모를 때.
- ✓버그에 여러 증상이 있어 각각을 따로 다뤄야 할 때.
- ✓수정을 결정하기 전에 경쟁하는 설명을 배제하고 싶을 때.
스킬 링크
https://github.com/BuilderIO/agent-native/blob/main/.agents/skills/bug-trace/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
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:
- Write the path as hops, each with file:line and its runtime precondition.
- Check every precondition against today's code.
- List what changed on the path: system-history
analyze.ts --focuswith every file on the path, then read each regression candidate withpr.ts. - Hold at least two explanations, and run the check that separates them.
- Reproduce in the branch browser when the path runs there.
- Check
AGENTS.md, skills, andpackages/corefor 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-foundand what you checked; - the explanations you ruled out, and how;
- the evidence level:
reproduced,traced(a broken hop shown in code), orinferred; - 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.
댓글
- …
이 저장소의 다른 스킬
design-exploration
7.6k에이전트가 여러 UI 디자인 방향을 나란히 보여 주고, 사용자가 하나를 고르면 그 디자인을 다듬도록 돕습니다.
visual-edit
7.6k에이전트가 실행 중인 로컬 앱을 시각 편집기에 열어, 실제 화면을 함께 검토하고 편집하도록 돕습니다.
turn-into-app
7.6k워크플로, 스프레드시트 또는 프로젝트를 데이터가 채워진 세련된 시각 앱으로 바꾸고, 컨트롤 뒤에서 에이전트가 작업하도록 합니다.
visual-plan
7.6k일반 텍스트 계획을 다이어그램, 파일 맵, 코드 조각, 열린 질문이 담긴 대화형 시각 계획으로 바꿔 줍니다.