brooks-sweep
यह क्या करती है
यह टूल आपके कोड को समस्याओं के लिए जाँचता है, जैसे कोड का पुराना और खराब होना, खराब आर्किटेक्चर, टेक्निकल डेट और टेस्ट में आने वाली गड़बड़ियाँ। यह आसान समस्याओं को अपने आप ठीक करने की कोशिश करता है और ज़्यादा जटिल समस्याओं के लिए आपकी अनुमति माँगता है।
कब इस्तेमाल करें
- ✓जब आपका कोड समझने या संभालने में मुश्किल होने लगे।
- ✓किसी बड़े नए फीचर को जोड़ने से पहले।
- ✓अगर आपको शक है कि कोड में बहुत सारी छिपी हुई गलतियाँ हैं।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/brooks-sweep/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 — Full Sweep & Auto-Fix
When to Use
Use this skill when you need full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution. Drawing on twelve classic...
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/decay-risks.mdfor production risk symptom definitions - Read
../_shared/test-decay-risks.mdfor test risk symptom definitions - Read
sweep-guide.mdin this directory for the unified scan and fix process
Process
If the user has not specified a project or directory: apply Auto Scope Detection
from ../_shared/common.md to determine the review scope before proceeding.
- Show pre-flight consent notice and wait for the user's one-time approval (Step 0 of the guide)
- Enumerate scope and initialize the
unresolvable/non_critical_rounds/fix_logstate (Step 1 of the guide) - Run the four dimensions in sequence — review, test, debt, audit — each scanning, classifying, applying Safe + Extended-Safe fixes, and verifying via the project test command (Steps 2–5 of the guide)
- Iterate: re-scan modified files + same-module + static consumers; converge on a clean round, retire 3-retry failures to the
unresolvableset, cap non-critical rounds at 3 (Step 6 of the guide) - Aggregate residual and unresolvable items and output the Full Sweep Report (Steps 7–8 of the guide)
Mode line in report: Full Sweep
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.
अक्सर पूछे जाने वाले सवाल
'सुरक्षित बदलाव' और 'जोखिम भरे बदलाव' क्या होते हैं?
सुरक्षित बदलाव वे होते हैं जिनके बारे में टूल को पूरा भरोसा होता है कि वे कोड को नहीं तोड़ेंगे। जोखिम भरे बदलाव वे होते हैं जिनका असर बड़ा हो सकता है, इसलिए उन्हें लागू करने से पहले टूल आपकी अनुमति माँगता है।
अगर टूल कोई समस्या ठीक न कर पाए तो क्या होगा?
जिन समस्याओं को अपने आप ठीक नहीं किया जा सका, उन्हें बाद में आपके देखने के लिए लिख दिया जाता है।
क्या मुझे हर सुधार की मंज़ूरी देनी होगी?
नहीं, सिर्फ़ जोखिम वाले सुधारों के लिए मंज़ूरी चाहिए। सुरक्षित सुधार अपने आप लागू हो जाते हैं।
जानकारी
लेखक का मूल विवरण
Full-sweep mode: runs a unified analysis across all quality dimensions — code decay, architecture, tech debt, and test quality — then applies fixes directly to the codebase. Safe changes are auto-applied; risky changes are confirmed before execution.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #4063
- लाइसेंस
- 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 पास कर सकें।