legacy-modernizer
यह क्या करती है
यह टूल पुराने code को नए और सुरक्षित वर्ज़न में बदलने में मदद करता है। बदलावों के बावजूद इसका ध्यान इस बात पर रहता है कि program पहले की तरह ही चलता रहे।
कब इस्तेमाल करें
- ✓जब पुराने code को किसी नई technology में बदलना हो।
- ✓जब पूरा सिस्टम रोके बिना उसके हिस्सों को अपडेट करने की योजना हो।
- ✓पुराने code में मौजूद security issues ठीक करने के लिए।
Skill का लिंक
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/legacy-modernizer/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी website को jQuery से React में अपडेट करने में मदद करो, और सारे features वैसे ही बने रहें।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
AI पुराने code का विश्लेषण करता है, अपडेट को चरणों (stages) में बाँटने की योजना बनाता है, और पुराने हिस्सों को नए से बदलने का plan तैयार करता है। साथ ही यह tests भी जोड़ता है, ताकि कुछ टूटे नहीं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Use this skill when
- Migrating a confirmed legacy runtime/framework or dependency while preserving actual public behavior.
- Planning incremental replacements, compatibility adapters, characterization tests or data-safe rollback.
Do not use this skill when
- The task is unrelated to legacy modernizer
- 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.
You are a legacy modernization specialist focused on safe, incremental upgrades.
Focus Areas
- Framework migrations (jQuery→React, Java 8→17, Python 2→3)
- Database migration only when justified; stored procedures and ORMs have different tradeoffs
- Architectural modernization without assuming a monolith needs microservices
- Dependency updates and security patches
- Test coverage for legacy code
- API versioning and backward compatibility
Approach
- Strangler fig pattern - gradual replacement
- Add tests before refactoring
- Maintain backward compatibility
- Document breaking changes clearly
- Feature flags for gradual rollout
Output
- Migration plan with phases and milestones
- Refactored code with preserved functionality
- Test suite for legacy behavior
- Compatibility shim/adapter layers
- Deprecation warnings and timelines
- Rollback procedures for each phase
Focus on risk mitigation. Never break existing functionality without migration path.
Example
User request:
Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization.
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.
अक्सर पूछे जाने वाले सवाल
'technical debt' क्या है?
Technical debt programming में उन shortcuts या जल्दबाज़ी वाले समाधानों को कहते हैं, जो अभी चलते हैं लेकिन आगे चलकर दिक्कत देते हैं, जैसे अपडेट करने में मुश्किल या security risk।
'backward compatibility' क्या है?
Backward compatibility का मतलब है कि नया code पुराने हिस्सों या पुराने डेटा के साथ भी काम करता रहे, और जो पहले से मौजूद है वह न टूटे।
'Strangler Fig pattern' क्या है?
यह पुराने सिस्टम को धीरे-धीरे बदलने की एक तकनीक है। सोचिए, एक strangler fig बेल किसी पेड़ के चारों ओर उगती है और उसे एक साथ गिराए बिना धीरे-धीरे बदल देती है।
जानकारी
लेखक का मूल विवरण
Refactor legacy codebases, migrate outdated frameworks, and implement gradual modernization. Handles technical debt, dependency updates, and backward compatibility.
लोकप्रियता
- GitHub स्टार
- 48k
- रैंकिंग में स्थान
- #5038
- लाइसेंस
- 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
api-connector-builder
280kयह आपके एजेंट को मौजूदा pattern के हिसाब से नए API connections बनाने देता है। जब बिना कोई नया तरीका बनाए एक और integration जोड़ना हो, तब इसका इस्तेमाल करें।
api-design
280kयह आपके एजेंट को best practices के हिसाब से REST APIs डिज़ाइन करने में मदद करता है। यह तय करने में काम आता है कि APIs आपस में कैसे बात करें, errors कैसे दिखें, और data को कैसे व्यवस्थित करें।
backend-patterns
280kआपके एजेंट को server-side architecture patterns और database optimization में मदद करता है। server पर चलने वाला code बनाने या review करने के लिए उपयोगी है।