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

fix-root-cause

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

यह स्किल डीबगिंग को समस्या के असली कारण की ओर ले जाती है, न कि उस जगह की ओर जहाँ वह पहली बार दिखती है। यह उन डेवलपर्स के लिए है जो ऐसे सुधार चाहते हैं जो टिके रहें।

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

  • ✓जब जल्दी पैच के बाद बग किसी और जगह फिर से आए।
  • ✓जब कोई गलती छिपाने के लिए guard, retry या वर्कअराउंड जोड़ना चाहे।
  • ✓जब कोई समस्या केवल restart के बाद आए और कारण साफ़ न हो।

Skill का लिंक

https://github.com/remotion-dev/remotion/blob/main/.agents/skills/fix-root-cause/SKILL.md

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

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

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

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

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

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

“हर बार ऐप restart करने पर एक अलग एरर दिखती है। क्या आप हर लक्षण पर पैच लगाने के बजाय असली कारण ढूँढ सकते हैं?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट समस्या को दोबारा पैदा करता है और हर चरण पर पूछता है कि ऐसा क्यों हुआ, जब तक पहला गलत निर्णय न मिल जाए। फिर वह उस कारण को ठीक करता है और दूसरी जगहों पर वही पैटर्न जाँचता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Fix Root Causes

When debugging, fix the fault, not the place where it surfaced. The symptom is where a wrong state became visible. The root cause is the first place the system did something it should not do, or failed to handle a state it should handle.

Why: A symptom fix hides the evidence and leaves the fault free to surface somewhere else. Each one makes the system harder to reason about, because the code now carries a workaround for a bug that nobody named.

Pattern:

  • Reproduce first.
  • Ask "why" at each step until the answer is a wrong decision in the code, not a consequence of an earlier one.
  • When stuck, instrument. Read the actual error and the actual state. Do not guess.
  • Ask whether the state that triggered the symptom is legitimate. If the system may be in that state, the code that broke on it is the root cause, and handling the state there is the fix. If the state should never exist, a check where it broke hides the bug. Find what produced the state. Guards, retries, swallowed errors, clamped values, and discarded state are the usual ways to hide a bug.
  • When something fails only after a restart, suspect persisted state first: config files, caches, lock files, serialized state.
  • Check for the pattern, not just the instance. Find every place with the same fault and fix them all.
  • If a workaround needs a paragraph-long comment to justify it, the code is wrong. Fix the code, not the comment.
  • If the deciding fact took a deep dig to find, propose the cheap, always-on signal that would have shown it at first look.
अक्सर पूछे जाने वाले सवाल

लक्षण और मूल कारण में क्या अंतर है?

लक्षण वह जगह है जहाँ गलत स्थिति दिखने लगती है। मूल कारण वह पहली जगह है जहाँ कोड ने कुछ ऐसा किया जो उसे नहीं करना चाहिए था।

guard कब असली सुधार है?

स्किल कहती है कि guard तभी सुधार है जब वह जिस स्थिति को संभालता है वह वैध हो। अगर वह स्थिति कभी होनी ही नहीं चाहिए, तो guard बग छिपाता है।

अगर समस्या केवल restart के बाद आए तो?

स्किल पहले सेव की गई स्थिति पर शक करने को कहती है, जैसे कॉन्फ़िग फ़ाइलें, कैश, lock फ़ाइलें और सीरियलाइज़्ड डेटा।

जानकारी

लेखक का मूल विवरण

Apply when debugging. Trace each symptom back to the first place the system went wrong and fix it there. A guard is a fix only when the state it handles is legitimate.

repo: remotion-dev/remotion

लोकप्रियता

GitHub स्टार
70k
रैंकिंग में स्थान
#3144
लाइसेंस
—
अपडेट की गई
2/11/2026

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

0

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

कमेंट

  • …

इस repository की और skills

gh-stack

70k

यह आपके एजेंट को बड़े काम को जुड़ी हुई ब्रांच और pull requests की श्रृंखला में बाँटना दिखाती है, ताकि समीक्षक एक बार में बदलाव की एक छोटी परत देखें।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

issue-management

70k

यह आपके एजेंट को GitHub CLI से GitHub issues को parent, sub-issue और blocker के रूप में जोड़ने में मदद करती है, ताकि प्रोजेक्ट का काम साफ़ व्यवस्थित रहे।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

no-comments

70k

यह आपके एजेंट को सिर्फ़ टीम के अपने कोड का वर्णन करने वाली कोड टिप्पणियाँ हटाने में मदद करती है, और ब्राउज़र, लाइब्रेरी या प्लेटफ़ॉर्म की खासियतों वाली टिप्पणियाँ रखती है।

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

pr-ready

70k

यह आपके एजेंट को विफल जाँचें ठीक करके, merge conflicts सुलझाकर और स्थानीय बदलाव push करके pull request को merge के लिए तैयार करने में मदद करती है।

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

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