debug
यह क्या करती है
यह स्किल सॉफ़्टवेयर बग की चरण-दर-चरण जाँच में मार्गदर्शन करती है। यह उन डेवलपर्स और सपोर्ट कर्मियों के लिए है जिन्हें कोई त्रुटि या ऐसा व्यवहार मिला है जो उनकी अपेक्षा से मेल नहीं खाता।
कब इस्तेमाल करें
- ✓जब आपके पास कोई त्रुटि संदेश या stack trace है और कारण पता नहीं।
- ✓जब कोई चीज़ staging में चलती है पर production में विफल होती है।
- ✓जब deploy के ठीक बाद कुछ टूट गया और आपको कारण जानना है।
Skill का लिंक
https://github.com/TencentCloud/Octop/blob/main/src/octop/infra/agents/experts/library/engineering/skills/debug/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारा ऐप staging में चलता है, पर production में इस त्रुटि संदेश से क्रैश होता है। कारण ढूँढने में मदद कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
एजेंट पक्का करता है कि क्या होना चाहिए और क्या हो रहा है, फिर घटक या कोड पथ सीमित करता है और जाँचने योग्य अनुमान बनाता है। वह कारण का पता लगाता है और फिर सुधार सुझाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
/debug
If you see unfamiliar placeholders or need to check which tools are connected, see CONNECTORS.md.
Run a structured debugging session to find and fix issues systematically.
Usage
/debug $ARGUMENTS
How It Works
┌─────────────────────────────────────────────────────────────────┐
│ DEBUG │
├─────────────────────────────────────────────────────────────────┤
│ Step 1: REPRODUCE │
│ ✓ Understand the expected vs. actual behavior │
│ ✓ Identify exact reproduction steps │
│ ✓ Determine scope (when did it start? who is affected?) │
│ │
│ Step 2: ISOLATE │
│ ✓ Narrow down the component, service, or code path │
│ ✓ Check recent changes (deploys, config changes, dependencies) │
│ ✓ Review logs and error messages │
│ │
│ Step 3: DIAGNOSE │
│ ✓ Form hypotheses and test them │
│ ✓ Trace the code path │
│ ✓ Identify root cause (not just symptoms) │
│ │
│ Step 4: FIX │
│ ✓ Propose a fix with explanation │
│ ✓ Consider side effects and edge cases │
│ ✓ Suggest tests to prevent regression │
└─────────────────────────────────────────────────────────────────┘
What I Need From You
Tell me about the problem. Any of these help:
- Error message or stack trace
- Steps to reproduce
- What changed recently
- Logs or screenshots
- Expected vs. actual behavior
Output
## Debug Report: [Issue Summary]
### Reproduction
- **Expected**: [What should happen]
- **Actual**: [What happens instead]
- **Steps**: [How to reproduce]
### Root Cause
[Explanation of why the bug occurs]
### Fix
[Code changes or configuration fixes needed]
### Prevention
- [Test to add]
- [Guard to put in place]
If Connectors Available
If ~~monitoring is connected:
- Pull logs, error rates, and metrics around the time of the issue
- Show recent deploys and config changes that may correlate
If ~~source control is connected:
- Identify recent commits and PRs that touched affected code paths
- Check if the issue correlates with a specific change
If ~~project tracker is connected:
- Search for related bug reports or known issues
- Create a ticket for the fix once identified
Tips
- Share error messages exactly — Don't paraphrase. The exact text matters.
- Mention what changed — Recent deploys, dependency updates, and config changes are top suspects.
- Include context — "This works in staging but not prod" or "Only affects large payloads" narrows things fast.
अक्सर पूछे जाने वाले सवाल
एजेंट पहले क्या जाँचता है?
वह समस्या को दोहराता है और हाल के बदलाव जैसे deploy, कॉन्फ़िगरेशन बदलाव और डिपेंडेंसी अपडेट जाँचता है।
क्या यह केवल कोड देखती है?
नहीं। समस्या सीमित करने के लिए यह लॉग और त्रुटि संदेश भी देखती है।
क्या कारण मिलने पर काम रुक जाता है?
नहीं। स्किल निदान के साथ सुधार को भी कवर करती है।
जानकारी
लेखक का मूल विवरण
Structured debugging session — reproduce, isolate, diagnose, and fix. Trigger with an error message or stack trace, "this works in staging but not prod", "something broke after the deploy", or when behavior diverges from expected and the cause isn't obvious.
repo: TencentCloud/Octop
लोकप्रियता
- GitHub स्टार
- 11k
- रैंकिंग में स्थान
- #11644
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
polite-greeting
11kयह आपके एजेंट को छोटे, मित्रवत और विनम्र अभिवादन से बातचीत शुरू करने में मदद करती है, फिर जल्दी ही आपकी ज़रूरत पर आ जाती है।
medical-source-failover
11kयह आपके एजेंट को मुख्य स्रोत बंद, धीमा या पढ़ने में कठिन होने पर चीनी चिकित्सा दिशानिर्देश, दवा जानकारी और सार्वजनिक स्वास्थ्य दस्तावेज़ ढूँढने में मदद करती है।
cowork-plugin-customizer
11kयह आपके एजेंट को मौजूदा Claude प्लगइन को संगठन के टूल और वर्कफ़्लो के अनुसार ढालने में मदद करती है, प्लेसहोल्डर बदलकर और स्किल व सेटिंग समायोजित करके।
create-cowork-plugin
11kयह आपके एजेंट को निर्देशित प्रश्नों से शुरू से नया Claude प्लगइन बनाने में मदद करती है, जिसमें स्किल, एजेंट, hooks और इंस्टॉल योग्य पैकेज शामिल हैं।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।