编程techworldwithsahana.substack.com · 收录于
让 AI 逐步解释代码、识别架构模式与技术债,并给出重构或现代化路线图
完整提示词
Tech Stack: [details] System Type: [monolith/microservices] Database: [if relevant] Please: 1. Explain what this code is doing step-by-step 2. Identify architectural patterns used 3. Highlight tight coupling or technical debt 4. Point out risky areas before modification 5. Suggest a modernization or refactoring roadmap Code: [paste]
使用说明
复制全文后,按自己的场景替换占位变量(方括号 / 双花括号包裹的字段)再使用。 部分提示词依赖特定模型或工具(如 GPT / Claude / Copilot),请根据实际情况调整。