error-handling-patterns
यह क्या करती है
यह टूल ज़्यादा भरोसेमंद प्रोग्राम बनाने में मदद करता है। यह सिखाता है कि errors को कैसे संभालें ताकि प्रोग्राम crash न हो और समस्या का कारण ढूँढना आसान हो।
कब इस्तेमाल करें
- ✓प्रोग्राम का नया हिस्सा बनाते समय।
- ✓ऐसे सिस्टम डिज़ाइन करते समय जो failures के बावजूद चलते रहें।
- ✓जब प्रोग्राम में दिक्कत आ रही हो और उसका कारण समझना हो।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/error-handling-patterns/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरा application कुछ गलत होने पर crash न हो, इसके लिए मैं क्या करूँ?”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI आपके कोड में errors का अनुमान लगाने और उन्हें संभालने के सबसे अच्छे तरीके सुझाता है। वह जाने-माने तरीकों का इस्तेमाल करता है ताकि प्रोग्राम failures से उबर सके और ठीक करने वालों के लिए उपयोगी जानकारी दे।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Error Handling Patterns
Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.
Use this skill when
- Implementing error handling in new features
- Designing error-resilient APIs
- Debugging production issues
- Improving application reliability
- Creating better error messages for users and developers
- Implementing retry and circuit breaker patterns
- Handling async/concurrent errors
- Building fault-tolerant distributed systems
Do not use this skill when
- The task is unrelated to error handling patterns
- You need a different domain or tool outside this scope
Instructions
- Clarify goals, constraints, and required inputs.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.
- If detailed examples are required, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor detailed patterns and examples.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
अक्सर पूछे जाने वाले सवाल
'Error handling patterns' क्या होते हैं?
ये वो तरीके या templates हैं जिनसे programmers तय करते हैं कि प्रोग्राम में कोई अनपेक्षित समस्या आने पर क्या करना है।
Errors को अच्छे से संभालना क्यों ज़रूरी है?
ताकि प्रोग्राम अचानक बंद न हो, failures में भी users को अच्छा अनुभव मिले, और developers के लिए उसे ठीक करना आसान हो।
क्या यह टूल मेरे errors अपने आप ठीक कर देगा?
नहीं, यह सिखाता है और सुझाता है कि आप अपने कोड में errors को बेहतर तरीके से संभालने के समाधान कैसे लागू करें।
जानकारी
लेखक का मूल विवरण
Build resilient applications with robust error handling strategies that gracefully handle failures and provide excellent debugging experiences.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4548
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
00-andruia-consultant
48kआपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।
007
48kआपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।
10-andruia-skill-smith
48kआपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।
20-andruia-niche-intelligence
48kआपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।