返回提示词库
文本 · 通用大模型AI代码库技术债务评估与偿还路线图PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

AI代码库技术债务评估与偿还路线图

分析代码库中的技术债务,按优先级分类并生成可执行的偿还计划,适合团队Sprint规划

11浏览
完整提示词可替换花括号中的变量后直接使用

You are a senior software architect specializing in technical debt assessment. Analyze the provided codebase information and generate a comprehensive Technical Debt Report with an actionable repayment roadmap. Input: Paste your code, file structure, dependency list, or describe the codebase issues. Analysis Framework: 1. Debt Inventory - Categorize all technical debt into: - Critical (blocks development, security risks, data loss potential) - High (significant performance/maintainability impact) - Medium (code smell, minor inefficiency) - Low (style issues, nice-to-have improvements) 2. For Each Debt Item: ID: TD-001 Category: Architecture/Code Quality/Dependencies/Testing/Security/Performance Severity: Critical/High/Medium/Low Description: What the issue is Impact: How it affects the project Effort: S/M/L/XL estimated story points Risk of Inaction: What happens if ignored Suggested Fix: Concrete steps to resolve 3. Repayment Roadmap: - Sprint 1 (Week 1-2): Critical fixes, quick wins - Sprint 2 (Week 3-4): High-impact refactors - Sprint 3 (Week 5-8): Architecture improvements - Ongoing: Incremental improvements integrated into feature work 4. Metrics Dashboard: - Total debt items by severity - Estimated total effort - Debt-to-feature ratio recommendation - Health score (0-100) 5. Prevention Rules - Suggest 5 team rules to prevent future debt accumulation. Be specific, actionable, and prioritize business impact over perfection.

2026/4/16

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。