zero-tech-debt
यह क्या करती है
यह स्किल आपके AI से कोड बदलाव को इच्छित अंतिम डिज़ाइन के आसपास दोबारा बनवाती है, और compatibility के बचे हुए हिस्से व इस्तेमाल न होने वाले रास्ते हटवाती है। यह उन डेवलपरों के लिए है जिन्हें पैच पर पैच नहीं, साफ़ नतीजा चाहिए।
कब इस्तेमाल करें
- ✓जब कोई बदलाव अस्थायी सुधारों से उलझ गया हो और आप उसका साफ़ संस्करण चाहते हों।
- ✓जब आप पुराने modes, flags या fallbacks हटाना चाहते हों जिनका अब कोई उपयोगकर्ता नहीं है।
- ✓जब आप कोई फ़ीचर refactor कर रहे हों और चाहते हों कि कोड उसके अंतिम उत्पाद के आकार से मेल खाए।
Skill का लिंक
https://github.com/trycompai/crm/blob/release/.agents/skills/zero-tech-debt/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस बदलाव को ऐसे दोबारा बनाइए जैसे अंतिम डिज़ाइन शुरू से मौजूद था, और पुराने संस्करण के बचे हुए हिस्से हटाइए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
स्किल पहले इच्छित अंतिम स्थिति बताती है, जाँचती है कि किन पुराने रास्तों के अब भी callers हैं, इस्तेमाल न होने वाले हिस्से हटाती है, फिर नए व्यवहार को परखती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Zero Tech Debt
Rework the change from the intended end state, not from the historical path that produced the current patch.
Steps
State the intended end state in one or two sentences.
Search for real callers before preserving compatibility. If a mode, prop, wrapper, route alias, or fallback has no current caller, delete it.
Reshape around the final product surface. Prefer one clear component or flow over mode flags. Split only when it creates an obvious boundary such as state, layout, controls, or domain commands.
Move shared rules to one place. Feature flags, permissions, route gating, URL state, and command naming should not be duplicated across pages or hidden in view components.
Verify the intended flow. Test the new behavior and any deleted assumptions that affect navigation, permissions, or persisted state.
Rules
- Optimize for the code that should exist, not the smallest diff from the old shape.
- Delete dead compatibility paths instead of making them better.
- Do not invent a generic framework for one feature.
- Keep the refactor scoped to what makes the final shape coherent.
- Prefer names that describe product intent over implementation history.
अक्सर पूछे जाने वाले सवाल
क्या AI वह कोड हटाएगी जो अब भी इस्तेमाल होता है?
स्किल कहती है कि पहले असली callers खोजें, और सिर्फ़ वे हिस्से हटाएँ जिनका कोई मौजूदा caller न हो।
क्या यह एक फ़ीचर के लिए नया framework जोड़ती है?
नहीं। स्किल एक ही फ़ीचर के लिए सामान्य framework बनाने के खिलाफ़ चेतावनी देती है।
क्या यह बदलाव छोटा रखती है?
नहीं। स्किल कहती है कि सबसे छोटे diff के बजाय उस कोड के लिए अनुकूलन करें जो होना चाहिए।
जानकारी
लेखक का मूल विवरण
Rework a change as if the intended UX and architecture existed from day one, deleting compatibility cruft and accidental complexity.
repo: trycompai/crm
लोकप्रियता
- GitHub स्टार
- 12k
- रैंकिंग में स्थान
- #11529
- लाइसेंस
- MIT
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
ai-elements
12kयह आपके एजेंट को बातचीत, संदेश, टूल डिस्प्ले और प्रॉम्प्ट इनपुट के लिए तैयार कॉम्पोनेंट से AI चैट इंटरफ़ेस बनाने में मदद करती है।
ai-sdk
12kयह आपके एजेंट को Vercel AI SDK से AI फ़ीचर बनाने में मदद करती है, जिसमें टेक्स्ट जनरेशन, स्ट्रीमिंग, टूल कॉलिंग और एजेंट शामिल हैं।
better-accessibility
12kयह आपके एजेंट को इंटरफ़ेस को कीबोर्ड और स्क्रीन रीडर के लिए उपयोगी बनाने में मदद करती है, जिसमें फ़ोकस, लेबल, ARIA और फ़ॉर्म शामिल हैं।
better-auth-best-practices
12kयह आपके एजेंट को TypeScript ऐप में लॉगिन, सेशन, OAuth और प्लगइन के लिए Better Auth सेट करने में मदद करती है, उसके दस्तावेज़ी चरणों के अनुसार।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।