Skip to main content

bug-trace

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.

소스 정보

저장소
BuilderIO/agent-native
최근 소스 활동
2026년 10월 14일 17:53
감지된 SKILL.md 언어
영어
스타
7,366
포크
669

설치 방법

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

소스 파일 검토

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

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
bug-trace
description
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.
scope
dev
metadata
{"internal":true}
# 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 ```bash 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.
GitHub에서 보기