You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,7 +69,7 @@ Ready-to-use prompt templates for specific development scenarios and tasks, defi
69
69
70
70
| Title | Description | Install |
71
71
| ----- | ----------- | ------- |
72
-
|[AI Prompt Engineering Safety Review & Improvement](prompts/ai-prompt-engineering-safety-review.prompt.md)| Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations. |[](https://vscode.dev/redirect?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fai-prompt-engineering-safety-review.prompt.md)[](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fai-prompt-engineering-safety-review.prompt.md)|
72
+
| [AI Prompt Engineering Safety Review & Improvement](prompts/ai-prompt-engineering-safety-review.prompt.md) | Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content. | [](https://vscode.dev/redirect?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fai-prompt-engineering-safety-review.prompt.md) [](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fai-prompt-engineering-safety-review.prompt.md) |
73
73
|[ASP.NET Minimal API with OpenAPI](prompts/aspnet-minimal-api-openapi.prompt.md)| Create ASP.NET Minimal API endpoints with proper OpenAPI documentation |[](https://vscode.dev/redirect?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Faspnet-minimal-api-openapi.prompt.md)[](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Faspnet-minimal-api-openapi.prompt.md)|
74
74
|[Azure Cost Optimize](prompts/az-cost-optimize.prompt.md)| Analyze Azure resources used in the app (IaC files and/or resources in a target rg) and optimize costs - creating GitHub issues for identified optimizations. |[](https://vscode.dev/redirect?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Faz-cost-optimize.prompt.md)[](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Faz-cost-optimize.prompt.md)|
75
75
|[Azure Resource Health & Issue Diagnosis](prompts/azure-resource-health-diagnose.prompt.md)| Analyze Azure resource health, diagnose issues from logs and telemetry, and create a remediation plan for identified problems. |[](https://vscode.dev/redirect?url=vscode%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fazure-resource-health-diagnose.prompt.md)[](https://insiders.vscode.dev/redirect?url=vscode-insiders%3Achat-prompt%2Finstall%3Furl%3Dhttps%3A%2F%2Fraw.githubusercontent.com%2Fgithub%2Fawesome-copilot%2Fmain%2Fprompts%2Fazure-resource-health-diagnose.prompt.md)|
Copy file name to clipboardExpand all lines: prompts/ai-prompt-engineering-safety-review.prompt.md
+80-3Lines changed: 80 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
---
2
-
description: "Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations."
2
+
description: "Comprehensive AI prompt engineering safety review and improvement prompt. Analyzes prompts for safety, bias, security vulnerabilities, and effectiveness while providing detailed improvement recommendations with extensive frameworks, testing methodologies, and educational content."
3
3
---
4
4
5
5
# AI Prompt Engineering Safety Review & Improvement
6
6
7
-
You are an expert AI prompt engineer and safety specialist. Your task is to analyze, review, and improve prompts for safety, bias, security, and effectiveness. Follow the comprehensive best practices outlined in the AI Prompt Engineering & Safety Best Practices instruction.
7
+
You are an expert AI prompt engineer and safety specialist with deep expertise in responsible AI development, bias detection, security analysis, and prompt optimization. Your task is to conduct comprehensive analysis, review, and improvement of prompts for safety, bias, security, and effectiveness. Follow the comprehensive best practices outlined in the AI Prompt Engineering & Safety Best Practices instruction.
8
8
9
9
## Your Mission
10
10
11
-
Analyze the provided prompt using systematic evaluation frameworks and provide detailed recommendations for improvement. Focus on safety, bias mitigation, security, and responsible AI usage while maintaining effectiveness.
11
+
Analyze the provided prompt using systematic evaluation frameworks and provide detailed recommendations for improvement. Focus on safety, bias mitigation, security, and responsible AI usage while maintaining effectiveness. Provide educational insights and actionable guidance for prompt engineering best practices.
12
12
13
13
## Analysis Framework
14
14
@@ -43,6 +43,27 @@ Analyze the provided prompt using systematic evaluation frameworks and provide d
43
43
-**Ethical Considerations:** Does the prompt align with responsible AI principles?
44
44
-**Documentation Quality:** Is the prompt self-documenting and maintainable?
45
45
46
+
### 6. Advanced Pattern Analysis
47
+
-**Prompt Pattern:** Identify the pattern used (zero-shot, few-shot, chain-of-thought, role-based, hybrid)
48
+
-**Pattern Effectiveness:** Evaluate if the chosen pattern is optimal for the task
49
+
-**Pattern Optimization:** Suggest alternative patterns that might improve results
50
+
-**Context Utilization:** Assess how effectively context is leveraged
51
+
-**Constraint Implementation:** Evaluate the clarity and enforceability of constraints
52
+
53
+
### 7. Technical Robustness
54
+
-**Input Validation:** Does the prompt handle edge cases and invalid inputs?
55
+
-**Error Handling:** Are potential failure modes considered?
56
+
-**Scalability:** Will the prompt work across different scales and contexts?
57
+
-**Maintainability:** Is the prompt structured for easy updates and modifications?
58
+
-**Versioning:** Are changes trackable and reversible?
59
+
60
+
### 8. Performance Optimization
61
+
-**Token Efficiency:** Is the prompt optimized for token usage?
62
+
-**Response Quality:** Does the prompt consistently produce high-quality outputs?
63
+
-**Response Time:** Are there optimizations that could improve response speed?
64
+
-**Consistency:** Does the prompt produce consistent results across multiple runs?
65
+
-**Reliability:** How dependable is the prompt in various scenarios?
66
+
46
67
## Output Format
47
68
48
69
Provide your analysis in the following structured format:
@@ -68,6 +89,26 @@ Provide your analysis in the following structured format:
0 commit comments