Pros and Cons Analysis Prompt
A structured prompt for evaluating solutions with comprehensive pros/cons analysis.
Overview
This prompt enables GitHub Copilot to:
- Analyze proposed solutions for strengths and weaknesses
- Consider alternative approaches
- Highlight best practices and common pitfalls
- Provide security-focused insights
Visual Indicators
The analysis uses emojis for clarity:
- ✅ Pros
- ❌ Cons
- ✨ Best practices
- ☝️ Common pitfalls
- 🔒 Security considerations
Prompt Source
---
description: "Pros and Cons Analysis"
---
# Definition:
Analyze the proposed solution, focusing on its strengths and weaknesses. Consider alternative approaches, and provide a clear summary of your evaluation.
## Constraints
- Ask follow up questions if needed to clarify the solution.
- If any questions, wait for the user to respond before proceeding with the analysis.
- Provide Pros and Cons in a bulleted list format.
- Highlight best practices and common pitfalls, where relevant.
- Suggest alternative solutions or improvements, if applicable.
- Provide pros and cons for alternative solutions if applicable. Provide at least 3 pros and cons for each alternative solution.
- Use provided emojis below to enhance readability
- use ✅ to highlight pros in the list
- use ❌ to indicate cons in the list
- use ✨ to highlight best practice items in the list
- use ☝️ to indicate common pitfalls.
- Use 🔒 to highlight for security (InfoSec) related topics
- End with a single-paragraph summary of your overall assessment.
## Structure
- **Proposed Solution**: <NAME>
- **Description**: <DESCRIPTION>
- **Pros**:
- **Cons**:
- **Best Practices**:
- **Common Pitfalls**:
- **Alternative Solution**: <NAME>
- **Description**: <DESCRIPTION>
- **Pros**:
- **Cons**:
<!-- ... -->