मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग29k · #9370

understand-issue

यह क्या करती है

यह स्किल GitHub इश्यू या बग रिपोर्ट की सावधान जांच का मार्गदर्शन देती है। यह उन मेंटेनर और डेवलपर्स के लिए है जिन्हें सुधार से पहले जानना है कि गलती क्या है।

कब इस्तेमाल करें

  • ✓जब आप तय करना चाहें कि रिपोर्ट किया गया बग असली है या नहीं, और उसका कारण क्या है।
  • ✓जब इश्यू थ्रेड में कई सिद्धांत हों और आप कोड के आधार पर साफ़ जवाब चाहें।
  • ✓जब आपको छोटी ब्रीफ़िंग चाहिए जो बताए कि कहाँ और क्या ठीक करना है, काम शुरू होने से पहले।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mastra-ai/mastra/blob/main/.mastracode/skills/understand-issue/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस GitHub इश्यू को देखिए, बताइए कि असल में बग किस वजह से है, और उसे ठीक करने का सुझाव दीजिए।”

हर हफ़्ते 5 नई skills, 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
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

debugging-difficult-bugs

29k

यह आपके एजेंट को कठिन बग ढूंढने में मदद करती है, असली प्रोग्राम के रनटाइम लॉग से, केवल टेस्ट देखकर अंदाज़ा लगाने की जगह।

कोडिंगटेस्टिंग

mastra-frontend

29k

यह आपके एजेंट को Mastra playground डिज़ाइन सिस्टम के तैयार कॉम्पोनेंट जोड़कर ऐप स्क्रीन बनाने में मदद करती है, शुरू से स्टाइल करने की जगह।

कोडिंगवेबसाइट और UI (frontend)

pr-explainer

29k

यह आपके एजेंट को पुल रिक्वेस्ट को एक साफ़, स्व-निहित HTML पेज में बदलने में मदद करती है, जो रिव्यूअर को बदलाव समझाए।

कोडिंगसामान्य कोडिंग

pr-splitter

29k

यह आपके एजेंट को एक बड़ी, उलझी पुल रिक्वेस्ट को छोटी, रिव्यू योग्य पुल रिक्वेस्ट में बांटने में मदद करती है, मूल काम सुरक्षित रखते हुए।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills