十年匠心定制 · 商业建站与技术教学双线并行 咨询热线:400-886-1026 service@lmnt.cn
ARTICLE DETAIL

资讯详情

深耕网站建设与运营推广的一线实战洞察。

[特殊字符] Prompt Analysis Report

[特殊字符] Prompt Analysis Report 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-copilotOriginal Prompt: [Users 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:[Issue 1 with severity and impact][Issue 2 with severity and impact][Issue 3 with severity and impact]Strengths Identified:[Strength 1 with explanation][Strength 2 with explanation][Strength 3 with explanation]注意这里大量使用 **1-5 分制评分 详细评估**的组合评分保证量化可比文字说明保证结论可解释、可引用。这也是该技能强调为每个评估指标提供详细解释Instructions 第 2 条的体现。 ### 第二段️ 改进后的 PromptImproved 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 Its 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 thats 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),仅供参考
返回列表