

代码重构与分析
类目
标签
复制提示词
Halfway through the process, when the initial file was getting way too many lines, I told it: Prompt: "Ok, let's refactor a bit before we continue. Review it to: - avoid redundant or dead code - refactor wherever you think it's necessary - and ABOVE ALL, split that file with a ton of lines into smaller, more manageable files, multiple files that actually make sense FIRST STUDY THE WHOLE CASE BEFORE YOU START DOING IT. Tell me what you have in mind, and then I'll say OK, GO AHEAD." And this was VITAL to keep the code clean, structured, and manageable. Plus, each iteration became faster this way, because a lot of the time the models start rewriting code instead of just inserting a line.
Prompt 拆解
代码重构与分析
人物
nanoBanana-Pro
Halfway through the process, when the initial file was getting way too many lines, I told it: Prompt: "Ok, let's refact...
推荐下一步
在生成器中继续改写- 把这条 Prompt 带入生成器,围绕新的主体或场景继续改写。
- 通过下方标签继续浏览相近风格方向的提示词。
- 继续查看相关类目页,找到更贴近当前用途的内容。






