首页 / 工具实用 & 趣味编程 / Improve The Following Code
通用工具实用 & 趣味编程直接可用

Improve The Following Code

Improve the following code {{selectedText}} Please suggest improvements for: 1. Code readability and maintainability 2. Performance optimization 3. Be…

完整提示词共 291 字,复制不受页面折叠影响
Improve the following code

```
{{selectedText}}
```

Please suggest improvements for:
1. Code readability and maintainability
2. Performance optimization
3. Best practices and patterns
4. Error handling and edge cases

Provide the improved code along with explanations for each enhancement.
变量模板工具

填写变量,一键生成完整提示词

所有字段会实时替换到原始提示词中;未填写的变量会保留,方便继续编辑。

生成结果 · 291 字
Improve the following code

```
{{selectedText}}
```

Please suggest improvements for:
1. Code readability and maintainability
2. Performance optimization
3. Best practices and patterns
4. Error handling and edge cases

Provide the improved code along with explanations for each enhancement.

使用建议

  1. 先用默认结构运行一次,确认模型理解角色与任务。
  2. 再填写具体主题、对象、语气和输出格式,结果会更稳定。
  3. 如果更换 AI 平台,可从页面顶部的平台专区继续筛选适配版本。