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

understand-issue

하는 일

이 스킬은 GitHub 이슈나 버그 보고서를 신중하게 조사하는 방법을 안내합니다. 고치기 전에 무엇이 잘못되었는지 알아야 하는 관리자와 개발자를 위한 것입니다.

사용하는 경우

  • ✓보고된 버그가 실제인지, 원인이 무엇인지 판단하고 싶을 때.
  • ✓이슈 스레드에 이론이 많아서 코드에 근거한 명확한 답을 원할 때.
  • ✓작업을 시작하기 전에 무엇을 어디서 고쳐야 하는지 말해 주는 짧은 브리핑이 필요할 때.

스킬 링크

https://github.com/mastra-ai/mastra/blob/main/.mastracode/skills/understand-issue/SKILL.md

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

사용 방법

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

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

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

AI에게 요청하는 예시

“이 GitHub 이슈를 조사해서 버그의 실제 원인이 무엇인지 알려 주고, 고치는 방법을 제안해 주세요.”

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

작동 방식

에이전트는 먼저 코드를 보고 자체적인 생각을 세운 뒤, 히스토리를 확인하고, 필요하면 작은 테스트를 실행한 다음 짧은 판정을 줍니다.

기술 내용 (원본 SKILL.md)

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

Understand Issue

Investigate the issue as a maintainer deciding what is actually wrong and what should happen next. Help the human understand it without turning the investigation into a walkthrough. Run uninterrupted to a concise front page, then stay available inside the goal until the human says the investigation is finished.

The issue follows ARGUMENTS: at the end of the objective. If absent, infer it from the conversation or the checked-out branch name (fix/1234, issue-567, gh-890). If no issue can be resolved and no bug is described, ask once.

What matters

  1. Independent model before the thread's theories. Understand the symptom and form your own hypothesis from the code before reading commenters' diagnoses, workarounds, or linked fix attempts. The gap between your model and theirs exposes anchoring in both directions.
  2. Depth proportional to stakes. Data loss, security, silent misbehavior, wide blast radius, and uncertainty determine how hard to look—not a fixed checklist.
  3. Verify the diagnosis. Read code deeply and run the smallest useful probe. A diagnosis needs real evidence and pointers; a plausible story is not evidence.
  4. A verdict, not a survey. Say what the issue is and what causes it. Do not present a menu of candidates when the evidence supports one.
  5. Complete, not padded. Everything you established or still suspect is in the briefing; length follows from findings, never the other way around. Lead with what matters most and cut narration, not conclusions. Preserve supporting detail in one record file for follow-up questions.

Investigation record

Use one ignored file: .mastracode/scratch/issues/<owner>-<repo>-<n>.md. Never stage or commit it.

Start the record with a short Own model:

  • the symptom as reported, in your words;
  • how the relevant code currently works;
  • your hypothesis for the cause;
  • what evidence would confirm or kill it.

Append the investigation beneath it and leave it unchanged afterward. Capture decisive evidence as you work so it survives context compression—a ledger, not command transcripts. Use references/templates.md as an example, not a schema.

1. Build your own model

Resolve the issue with the minimal recipe in references/recipes.md. The metadata tells you whether the thread has anything to anchor you: comment count and cross-referenced PRs.

If the thread has comments or linked PRs, form your model before reading them. Use only the issue title, body, reproduction, error text, and the current code on the default branch; do not consult mastra_expert or another source that may already hold a diagnosis. Other people's theories are cheap to read later and expensive to un-read—a maintainer's "I think it's X" tends to become the investigation. Write the model, then open the thread.

If the thread is empty, there is nothing to seal. Investigate directly and write the model whenever you have one; it still records what you believed before verification.

Either way: start from the symptom, find the entry point, trace the mechanism to where the observed behavior is produced, and identify every area that could contribute—shared state, upstream data, configuration, callers, ordering. Stop when you can name a hypothesis and the evidence that would settle it.

If the report is too thin to trace (no symptom, no surface, no version), say so in the front page and draft the exact questions to ask—but still investigate whatever can be investigated.

2. Read the thread and prior art

Read every comment, linked PR, and related issue. Then:

  • Treat proposed causes and workarounds as hypotheses to test, not conclusions to repeat. A maintainer's lead deserves tracing; it does not deserve deference.
  • Note "me too" reports with different repros—they may reveal a broader mechanism or a different bug sharing a symptom.
  • Search open and closed issues and PRs for the same symptom under other words. A closed fix for the same symptom means regression or incomplete fix; say which.
  • Check whether an in-flight PR already addresses it.

Author context (first-time reporter vs. core contributor) informs where you look first, never whether you trust the report.

3. Diagnose like a maintainer

Use these questions where they apply. They shape judgment; they are not rows to fill.

  • Is the issue what it claims to be? Genuine bug, working as designed, configuration or usage error, documentation gap, or XY problem (asking for X while
자주 묻는 질문

버그를 대신 고쳐 주나요?

아닙니다. 조사하고 판정과 수정 방향을 보고합니다. 변경은 별도의 단계입니다.

이슈의 댓글도 읽나요?

네. 다만 자체적인 견해를 세운 뒤에만 읽어서, 자기 생각과 스레드를 비교할 수 있습니다.

조사에 얼마나 걸리나요?

스킬은 깊이를 위험에 맞추므로, 심각한 문제는 작은 문제보다 더 깊이 살펴봅니다.

상세 정보

작성자의 원본 설명

Investigate a GitHub issue or reported bug the way a seasoned maintainer would — form an independent model before reading the thread's theories, trace the mechanism and history, verify the diagnosis, and return a concise briefing with a verdict and fix direction. Use for triage, root-cause analysis, or re-investigation.

repo: mastra-ai/mastra

인기도

GitHub 스타
29k
순위
#9370
라이선스
—
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬