brooks-test
यह क्या करती है
यह टूल आपके सॉफ़्टवेयर टेस्ट की क्वालिटी जाँचता है। यह देखता है कि टेस्ट कमज़ोर या आसानी से टूटने वाले तो नहीं हैं, mocks (नकली सिमुलेशन) का गलत इस्तेमाल तो नहीं हो रहा, सेटअप साफ़ है या नहीं, जाँच (checks) मज़बूत है या नहीं, टेस्ट चलने में ज़्यादा समय तो नहीं ले रहे, और आगे चलकर उन्हें संभालने में दिक्कत तो नहीं होगी।
कब इस्तेमाल करें
- ✓जब आप मौजूदा टेस्ट की क्वालिटी सुधारना चाहते हों।
- ✓कोड में बड़े बदलाव करने से पहले, ताकि टेस्ट से जुड़े जोखिम समझ सकें।
- ✓ऐसे टेस्ट पहचानने के लिए जो चलने में बहुत समय लेते हैं।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-test/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे सॉफ़्टवेयर टेस्ट की क्वालिटी का विश्लेषण करें और बताएँ कि मैं कहाँ सुधार कर सकता हूँ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल सॉफ़्टवेयर टेस्टिंग की क्लासिक किताबें पढ़ता है ताकि आम समस्याएँ समझ सके। फिर यह आपके टेस्ट देखता है, समस्याओं के संकेत खोजता है और सुझावों के साथ एक रिपोर्ट बनाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Brooks-Lint — Test Quality Review
When to Use
Use this skill when you need test quality review drawing on twelve classic engineering books — with primary focus on xUnit Test Patterns, The Art of Unit Testing, How Google Tests Software, and Working Effectively with Legacy Code — that diagnoses structural problems in an existing test suite: brittleness, mock...
Setup
- Read
../_shared/common.mdfor the Iron Law, Project Config, Report Template, and Health Score rules - Read
../_shared/source-coverage.mdfor book-level coverage, exceptions, and tradeoffs - Read
../_shared/test-decay-risks.mdfor test-space symptom definitions and source attributions - Read
test-guide.mdin this directory for the test quality review framework
Process
If the user has not shared test files or pointed to a test directory: apply Auto
Scope Detection from ../_shared/common.md to determine the review scope before proceeding.
- Build the test suite map (guide's "Before You Start" section)
- Scan for each test decay risk in the order specified (Steps 1–4 of the guide)
- Apply the Iron Law and output using the Report Template (Step 5 of the guide)
Mode line in report: Test Quality Review
Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
अक्सर पूछे जाने वाले सवाल
'mocks' क्या होते हैं?
'mocks' आपके सॉफ़्टवेयर के दूसरे हिस्सों के नकली सिमुलेशन होते हैं, जिनका इस्तेमाल किसी एक हिस्से को अलग से टेस्ट करने के लिए होता है। इनका ज़्यादा या गलत इस्तेमाल टेस्ट को कमज़ोर बना सकता है।
'brittle tests' का क्या मतलब है?
brittle tests वे टेस्ट होते हैं जो मुख्य कोड सही होने पर भी आसानी से फेल हो जाते हैं, अक्सर इसलिए क्योंकि वे बहुत सारी अंदरूनी implementation details पर निर्भर होते हैं।
'book coverage' क्या है?
इससे पता चलता है कि आपके टेस्ट का विश्लेषण करते समय सॉफ़्टवेयर इंजीनियरिंग की किन किताबों की कौन-सी अवधारणाएँ इस्तेमाल हुईं।
जानकारी
लेखक का मूल विवरण
Review test-suite quality using established testing literature; identify brittleness, mock abuse, unclear fixtures, weak assertions, slow feedback, and maintenance risks.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4064
- लाइसेंस
- 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 पास कर सकें।