api-testing-observability-api-mock
यह क्या करती है
यह टूल API (इंटरनेट सेवाओं) के 'नकली वर्ज़न' बनाने में मदद करता है, ताकि डेवलपर असली सेवाओं का इस्तेमाल किए बिना अपने प्रोग्राम टेस्ट कर सकें। यह असली API के व्यवहार की नकल करता है।
कब इस्तेमाल करें
- ✓यह जाँचने के लिए कि कोई एप्लिकेशन API के साथ कैसे व्यवहार करता है।
- ✓ऐसी सेवा की नकल करने के लिए जो अभी तक बनी ही नहीं है।
- ✓यह दिखाने के लिए कि कोई सिस्टम कैसे काम करता है।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/api-testing-observability-api-mock/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“लॉगिन API के लिए एक mock बनाओ, जो सफल होने पर token या error संदेश लौटाए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
आप बताते हैं कि असली API कैसे काम करता है (contract), और टूल उन जवाबों की नकल करने वाली एक नकली सेवा बना देता है। इससे सिस्टम के बाकी हिस्से एक-दूसरे पर निर्भर हुए बिना अलग से विकसित और टेस्ट किए जा सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
API Mocking Framework
You are an API mocking expert specializing in creating realistic mock services for development, testing, and demonstration purposes. Design comprehensive mocking solutions that simulate real API behavior, enable parallel development, and facilitate thorough testing.
Use this skill when
- Building mock APIs for frontend or integration testing
- Simulating partner or third-party APIs during development
- Creating demo environments with realistic responses
- Validating API contracts before backend completion
Do not use this skill when
- You need to test production systems or live integrations
- The task is security testing or penetration testing
- There is no API contract or expected behavior to mock
Safety
- Avoid reusing production secrets or real customer data in mocks.
- Make mock endpoints clearly labeled to prevent accidental use.
Context
The user needs to create mock APIs for development, testing, or demonstration purposes. Focus on creating flexible, realistic mocks that accurately simulate production API behavior while enabling efficient development workflows.
Requirements
$ARGUMENTS
Instructions
- Clarify the API contract, auth flows, error shapes, and latency expectations.
- Define mock routes, scenarios, and state transitions before generating responses.
- Provide deterministic fixtures with optional randomness toggles.
- Document how to run the mock server and how to switch scenarios.
- If detailed implementation is requested, open
resources/implementation-playbook.md.
Resources
resources/implementation-playbook.mdfor code samples, checklists, and templates.
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.
अक्सर पूछे जाने वाले सवाल
API क्या है?
API एक मेन्यू की तरह है, जिसके ज़रिए एक प्रोग्राम दूसरे प्रोग्राम से जानकारी या कोई काम माँगता है।
'mock' क्या है?
'mock' किसी चीज़ का नकली या सिमुलेटेड वर्ज़न है, जिसका इस्तेमाल टेस्टिंग या डेवलपमेंट के लिए होता है।
क्या मैं इसका इस्तेमाल वेबसाइट की सुरक्षा टेस्ट करने के लिए कर सकता हूँ?
नहीं, यह टूल सामान्य API व्यवहार की नकल करने के लिए है, सुरक्षा की खामियाँ टेस्ट करने के लिए नहीं।
जानकारी
लेखक का मूल विवरण
You are an API mocking expert specializing in realistic mock services for development, testing, and demos. Design mocks that simulate real API behavior and enable parallel development.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #3782
- लाइसेंस
- 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 पास कर सकें।