मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग48k · #4201

codebase-cleanup-tech-debt

यह क्या करती है

यह tool किसी project के code का विश्लेषण करके उसमें मौजूद technical issues ढूंढता है, जिन्हें technical debt कहा जाता है, जैसे duplicate, बहुत complex या पुराना code। यह समझने में मदद करता है कि इन issues का असर कितना है, और बताता है कि किन्हें पहले ठीक करना चाहिए ताकि development बेहतर हो सके।

कब इस्तेमाल करें

  • ✓जब नए features बनाने में देरी हो रही हो।
  • ✓जब बार-बार bugs आ रहे हों।
  • ✓पुराने projects में सुधार की योजना बनाने के लिए।

Skill का लिंक

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/codebase-cleanup-tech-debt/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/codebase-cleanup-tech-debt/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस project का code analyze करो और मुझे बताओ कि सबसे बड़ी technical problems कौन-सी हैं और मैं उन्हें ठीक करना कैसे शुरू कर सकता हूँ।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह code, change history और दूसरे data को देखकर problem वाले हिस्से ढूंढता है। फिर इन problems की लागत का अनुमान लगाता है और प्राथमिकता के हिसाब से एक action plan सुझाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Compatibility and maintenance

Compatibility alias of code-refactoring-tech-debt; use that ID for new references when no existing contract requires this one. The full instructions and support files remain local so existing installations continue to work offline. This is one shared procedure, not an additional capability. Preserve the callable ID when an existing manifest or client configuration uses it. Modified in AAS on 2026-09-05; original metadata and license notices are retained.

Technical Debt Analysis and Remediation

You are a technical debt expert specializing in identifying, quantifying, and prioritizing technical debt in software projects. Analyze the codebase to uncover debt, assess its impact, and create actionable remediation plans.

Use this skill when

  • Working on technical debt analysis and remediation tasks or workflows
  • Needing guidance, best practices, or checklists for technical debt analysis and remediation

Do not use this skill when

  • The task is unrelated to technical debt analysis and remediation
  • You need a different domain or tool outside this scope

Context

The user needs a comprehensive technical debt analysis to understand what's slowing down development, increasing bugs, and creating maintenance challenges. Focus on practical, measurable improvements with clear ROI.

Requirements

Inspect the current repository, hotspots and real change/incident history. The numbers, thresholds, staffing and timelines below are hypothetical planning examples, not measurements, promised returns or mandatory quality gates. Report missing cost/usage inputs as unknown; never fill them with fabricated telemetry. Review-only scope does not authorize broad refactors, policy changes or deployment.

Instructions

1. Technical Debt Inventory

Conduct a thorough scan for all types of technical debt:

Code Debt

  • Duplicated Code

    • Exact duplicates (copy-paste)
    • Similar logic patterns
    • Repeated business rules
    • Quantify: Lines duplicated, locations
  • Complex Code

    • High cyclomatic complexity (>10)
    • Deeply nested conditionals (>3 levels)
    • Long methods (>50 lines)
    • God classes (>500 lines, >20 methods)
    • Quantify: Complexity scores, hotspots
  • Poor Structure

    • Circular dependencies
    • Inappropriate intimacy between classes
    • Feature envy (methods using other class data)
    • Shotgun surgery patterns
    • Quantify: Coupling metrics, change frequency

Architecture Debt

  • Design Flaws

    • Missing abstractions
    • Leaky abstractions
    • Violated architectural boundaries
    • Monolithic components
    • Quantify: Component size, dependency violations
  • Technology Debt

    • Outdated frameworks/libraries
    • Deprecated API usage
    • Legacy patterns (e.g., callbacks vs promises)
    • Unsupported dependencies
    • Quantify: Version lag, security vulnerabilities

Testing Debt

  • Coverage Gaps

    • Untested code paths
    • Missing edge cases
    • No integration tests
    • Lack of performance tests
    • Quantify: Coverage %, critical paths untested
  • Test Quality

    • Brittle tests (environment-dependent)
    • Slow test suites
    • Flaky tests
    • No test documentation
    • Quantify: Test runtime, failure rate

Documentation Debt

  • Missing Documentation
    • No API documentation
    • Undocumented complex logic
    • Missing architecture diagrams
    • No onboarding guides
    • Quantify: Undocumented public APIs

Infrastructure Debt

  • Deployment Issues
    • Manual deployment steps
    • No rollback procedures
    • Missing monitoring
    • No performance baselines
    • Quantify: Deployment time, failure rate

2. Impact Assessment

Calculate the real cost of each debt item:

Development Velocity Impact

Debt Item: Duplicate user validation logic
Locations: 5 files
Time Impact: 
- 2 hours per bug fix (must fix in 5 places)
- 4 hours per feature change
- Monthly impact: ~20 hours
Annual Cost: 240 hours × $150/hour = $36,000

Quality Impact

Debt Item: No integration tests for payment flow
Bug Rate: 3 production bugs/month
Average Bug Cost:
- Investigation: 4 hours
- Fix: 2 hours  
- Testing: 2 hours
- Deployment: 1 hour
Monthly Cost: 3 bugs × 9 hours × $150 = $4,050
Annual Cost: $48,600

Risk Assessment

  • Critical: Security vulnerabilities, data loss risk
  • High: Performance degradation, frequent outages
  • Medium: Developer frustration, slow feature delivery

…

अक्सर पूछे जाने वाले सवाल

'technical debt' क्या है?

यह एक तरह का 'कर्ज' है, जो software development में shortcuts लेने या best practices न मानने से जमा होता है। इससे code को समझना मुश्किल हो सकता है, उसमें errors आने की संभावना बढ़ती है और उसे आगे बढ़ाना धीमा हो जाता है।

यह किस तरह की problems ढूंढता है?

यह duplicate code, बहुत complex code, structure से जुड़ी दिक्कतें, पुरानी technologies, tests की कमी, अधूरा documentation और infrastructure की परेशानियाँ ढूंढता है।

यह तय कैसे करता है कि पहले क्या ठीक करना है?

यह fixes को उनके असर (कितना समय या पैसा बचेगा) और उन्हें लागू करने में लगने वाली मेहनत के आधार पर प्राथमिकता देता है, और सबसे तेज़ व सबसे असरदार हल पर ध्यान देता है।

जानकारी

लेखक का मूल विवरण

Identify technical debt from actual code and change history, estimate its impact, and prioritize bounded improvements with explicit assumptions.

repo: sickn33/agentic-awesome-skills

लोकप्रियता

GitHub स्टार
48k
रैंकिंग में स्थान
#4201
लाइसेंस
MIT
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

00-andruia-consultant

48k

आपके एजेंट को AI प्रोजेक्ट शुरू करने या उन्हें बेहतर बनाने में मदद करता है। यह code का विश्लेषण करता है, tools सुझाता है और स्पेनिश भाषा में action plan बनाता है।

AI और एजेंटएजेंट

007

48k

आपका एजेंट security audit और threat modeling करता है। यह प्रोजेक्ट को हमलों और कमजोरियों से बचाने में काम आता है।

कोडिंगसिक्योरिटी

10-andruia-skill-smith

48k

आपके एजेंट को AI tools बनाने या उन्हें बेहतर करने में मदद करता है। यह तय करता है कि tools कैसे काम करेंगे, documentation लिखता है और structure की जांच करता है।

AI और एजेंटएजेंट

20-andruia-niche-intelligence

48k

आपका एजेंट किसी खास industry का summary बनाता है। भरोसेमंद स्रोतों की मदद से यह प्रोजेक्ट का संदर्भ, नियम, इस्तेमाल के तरीके और जोखिम समझने में मदद करता है।

लेखन और डॉक्यूमेंटरिसर्च

मिलती-जुलती skills