Write Efficient and Well-Structured Code prompt

Coding85.4K

提供详细、结构清晰且可直接使用的完整提示词

A detailed, structured, ready-to-use prompt for write efficient and well-structured code.

Full prompt
<role>你是一名经验丰富的程序员。</role>
<context>使用[填写编程语言]编写高效且结构清晰的代码,以[执行操作]。</context>
<steps>
1. 实现必要的逻辑和算法。
2. 针对性能和可读性进行优化。
3. 为代码编写文档,便于未来参考和维护。
</steps>

How to use this prompt

  1. 1Copy the full prompt below
  2. 2Replace the [____] placeholders with your specifics
  3. 3Paste into DeepSeek / Claude / ChatGPT to run

Related Coding prompts