[特殊字符] Prompt Analysis Report
2026/9/12 8:42:24 网站建设 项目流程

🔍 Prompt Analysis Report

【免费下载链接】awesome-copilotCommunity-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.项目地址: https://gitcode.com/GitHub_Trending/aw/awesome-copilot

Original Prompt: [User's prompt here]

Task Classification:

  • Primary Task: [Code generation, documentation, analysis, etc.]
  • Complexity Level: [Simple, Moderate, Complex]
  • Domain: [Technical, Creative, Analytical, etc.]

Safety Assessment:

  • Harmful Content Risk: [Low/Medium/High] - [Specific concerns]
  • Bias Detection: [None/Minor/Major] - [Specific bias types]
  • Privacy Risk: [Low/Medium/High] - [Specific concerns]
  • Security Vulnerabilities: [None/Minor/Major] - [Specific vulnerabilities]

Effectiveness Evaluation:

  • Clarity: [Score 1-5] - [Detailed assessment]
  • Context Adequacy: [Score 1-5] - [Detailed assessment]
  • Constraint Definition: [Score 1-5] - [Detailed assessment]
  • Format Specification: [Score 1-5] - [Detailed assessment]
  • Specificity: [Score 1-5] - [Detailed assessment]
  • Completeness: [Score 1-5] - [Detailed assessment]

Advanced Pattern Analysis:

  • Pattern Type: [Zero-shot/Few-shot/Chain-of-thought/Role-based/Hybrid]
  • Pattern Effectiveness: [Score 1-5] - [Detailed assessment]
  • Alternative Patterns: [Suggestions for improvement]
  • Context Utilization: [Score 1-5] - [Detailed assessment]

Technical Robustness:

  • Input Validation: [Score 1-5] - [Detailed assessment]
  • Error Handling: [Score 1-5] - [Detailed assessment]
  • Scalability: [Score 1-5] - [Detailed assessment]
  • Maintainability: [Score 1-5] - [Detailed assessment]

Performance Metrics:

  • Token Efficiency: [Score 1-5] - [Detailed assessment]
  • Response Quality: [Score 1-5] - [Detailed assessment]
  • Consistency: [Score 1-5] - [Detailed assessment]
  • Reliability: [Score 1-5] - [Detailed assessment]

Critical Issues Identified:

  1. [Issue 1 with severity and impact]
  2. [Issue 2 with severity and impact]
  3. [Issue 3 with severity and impact]

Strengths Identified:

  1. [Strength 1 with explanation]
  2. [Strength 2 with explanation]
  3. [Strength 3 with explanation]
注意这里大量使用 **1-5 分制评分 + 详细评估**的组合,评分保证量化可比,文字说明保证结论可解释、可引用。这也是该技能强调"为每个评估指标提供详细解释"(Instructions 第 2 条)的体现。 ### 第二段:🛡️ 改进后的 Prompt(Improved Prompt) 对发现的问题逐一修复后,输出完整可用的改进版 Prompt,并附上改进说明: ```markdown ### 🛡️ Improved Prompt Enhanced Version: [Complete improved prompt with all enhancements] Key Improvements Made: 1. Safety Strengthening: [Specific safety improvement] 2. Bias Mitigation: [Specific bias reduction] 3. Security Hardening: [Specific security improvement] 4. Clarity Enhancement: [Specific clarity improvement] 5. Best Practice Implementation: [Specific best practice application] Safety Measures Added: - [Safety measure 1 with explanation] - [Safety measure 2 with explanation] - [Safety measure 3 with explanation] - [Safety measure 4 with explanation] - [Safety measure 5 with explanation] Bias Mitigation Strategies: - [Bias mitigation 1 with explanation] - [Bias mitigation 2 with explanation] - [Bias mitigation 3 with explanation] Security Enhancements: - [Security enhancement 1 with explanation] - [Security enhancement 2 with explanation] - [Security enhancement 3 with explanation] Technical Improvements: - [Technical improvement 1 with explanation] - [Technical improvement 2 with explanation] - [Technical improvement 3 with explanation]

改进版的每个改动点都必须对应到第一段发现的某个问题(闭环),并说明"做了什么、为什么这样做"。这正对应技能 Instructions 第 3、4 条:生成解决所有已识别问题的改进版本,并包含具体的安全措施与偏见缓解策略。

第三段:📋 测试建议(Testing Recommendations)

评审不应止步于静态分析,还需给出验证改进效果的测试方案:

### 📋 Testing Recommendations Test Cases: - [Test case 1 with expected outcome] - [Test case 2 with expected outcome] - [Test case 3 with expected outcome] - [Test case 4 with expected outcome] - [Test case 5 with expected outcome] Edge Case Testing: - [Edge case 1 with expected outcome] - [Edge case 2 with expected outcome] - [Edge case 3 with expected outcome] Safety Testing: - [Safety test 1 with expected outcome] - [Safety test 2 with expected outcome] - [Safety test 3 with expected outcome] Bias Testing: - [Bias test 1 with expected outcome] - [Bias test 2 with expected outcome] - [Bias test 3 with expected outcome] Usage Guidelines: - Best For: [Specific use cases] - Avoid When: [Situations to avoid] - Considerations: [Important factors to keep in mind] - Limitations: [Known limitations and constraints] - Dependencies: [Required context or prerequisites]

第四段:🎓 教学洞见(Educational Insights)

技能要求评审结果附带教学价值,把"评审个例"升华为"方法论沉淀":

### 🎓 Educational Insights Prompt Engineering Principles Applied: 1. Principle: [Specific principle] - Application: [How it was applied] - Benefit: [Why it improves the prompt] 2. Principle: [Specific principle] - Application: [How it was applied] - Benefit: [Why it improves the prompt] Common Pitfalls Avoided: 1. Pitfall: [Common mistake] - Why It's Problematic: [Explanation] - How We Avoided It: [Specific avoidance strategy]

最佳实践指令中的"Anti-patterns"章节为"常见陷阱"提供了现成素材:歧义(Ambiguity)、冗长(Verbosity)、提示词注入(Prompt Injection)、过拟合(Overfitting)。例如冗长的反例:

Please, if you would be so kind, could you possibly help me by writing some code that might be useful for creating a function that could potentially handle user input validation, if that's not too much trouble?

对比简洁版:

Write a function to validate user email addresses. Return true if valid, false otherwise.

【免费下载链接】awesome-copilotCommunity-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.项目地址: https://gitcode.com/GitHub_Trending/aw/awesome-copilot

创作声明:本文部分内容由AI辅助生成(AIGC),仅供参考

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询