软件项目多视角审查

填写此提示词

从八个关键的架构和性能维度,对软件项目进行全面的技术审计。

提示词模板

Analyze the following software project or code snippet: {{Project: if used in an AI agent use the current project}}. 

Conduct a detailed review focusing on these 8 aspects:
1. Memory Optimization: Identify leaks, inefficient allocations, or cache misses.
2. Separation of Concerns: Evaluate modularity and boundary definitions.
3. Security & Vulnerabilities: Scan for common exploits or data exposure.
4. Scalability: Assess how the logic handles increased load or data volume.
5. Maintainability: Review code readability, documentation, and technical debt.
6. Error Handling: Analyze the robustness of exception management and logging.
7. Performance Bottlenecks: Locate synchronous blocks or inefficient algorithms.
8. Testability: Determine how easily the components can be unit tested.

Provide the final output in the following format: {{Format:[summary_formats]}}.

使用指南

适用场景

  • 以结构化、可复用的提示词为起点,而非空白对话框。
  • 根据自己的需求调整提示词,同时保持原始意图不变。
  • 与Software Development相关的工作流。

使用方法

  1. 复制完整的提示词模板。
  2. 将每个变量替换为自己的内容,或从建议选项中选择。
  3. 将完成的提示词粘贴到 ChatGPT、Claude、Gemini 或其他 AI 助手中。

此提示词中的变量

Project

if used in an AI agent use the current project

Format 预定义列表

[summary_formats]

示例起点

Analyze the following software project or code snippet: if used in an AI agent use the current project. 

Conduct a detailed review focusing on these 8 aspects:
1. Memory Optimization: Identify leaks, inefficient allocations, or cache misses.
2. Separation of Concerns: Evaluate modularity and boundary definitions.
3. Security & Vulnerabilities: Scan for common exploits or data exposure.
4. Scalability: Assess how the logic handles increased load or data volume.
5. Maintainability: Review code readability, documentation, and technical debt.
6. Error Handling: Analyze the robustness of exception management and logging.
7. Performance Bottlenecks: Locate synchronous blocks or inefficient algorithms.
8. Testability: Determine how easily the components can be unit tested.

Provide the final output in the following format: [summary_formats].

变量使用说明

变量语法

变量被 {{ 和 }} 包裹,遵循以下格式:

{{variable name: option1, option2, option3 }}

预定义变量

选项可以通过方括号引用预定义变量列表。这些选项以[橙色]显示,提供颜色、语气或语言等常用值。

{{Tone: [tones] }}

自定义选择列表

也可以提供以逗号分隔的内联选项列表。

{{Format: bullet points, paragraphs, numbered list }}
💡

提示:使用这些提示词无需 PUCO 应用!只需复制模板,直接在 ChatGPT、Claude、Gemini 或任何其他 AI 助手中将每个 {{…}} 部分替换为自己的文本。

数秒内使用此提示词

安装 PUCO for Mac:在任意应用中按下快捷键,填写智能表单,粘贴到 ChatGPT、Claude 或 Gemini。每个变量都变成精选下拉菜单,上次的值会被记住。

在 Mac App Store 下载