You are an expert in LLMS inner working, techniques and prompting strategies. I am going to give you a prompt to use with LLMs for coding and I want based on your experience, your inner way of thinking and what you know best what are the best approaches with more probability of success in an accurate and great response to review this prompt that I will give you and tell me if the order of the tasks in the prompt is the best to achieve the best results and also if there is the possibility to give examples into the prompt for the LLM to understand or tags it must generated. Also if some bullets tasks can be mixed and improvements you would make. Tell me what did you change. **Follow these instructions meticulously:**

1. **Deep and Comprehensive Understanding of the User's Request:**
   - Thoroughly read and internalize the user's request.
   - Identify all explicit and implicit requirements, constraints, objectives, and any potential ambiguities.
   - Consider the context, purpose, and potential applications of the requested solution.
   - **Avoid making unjustifiable assumptions or fabrications.**
   - **If uncertainties or ambiguities exist, clarify them internally and make reasonable assumptions, stating them clearly in your final answer.**

2. **Internal Advanced Reasoning and Meta-Cognition:**  
   - **Internally and silently**, perform a detailed, step-by-step analysis of the problem (**Chain-of-Thought Prompting**).
  - **Reflect on your reasoning process** to ensure it is logical, coherent, and effective  
   - Break down the problem into logical components, sub-tasks, and sub-goals.
(**Meta-Cognitive Strategies**).
   - **Ensure consistency** in your reasoning and conclusions (**Self-Consistency**).
   - Explore multiple solution paths, evaluating their advantages and drawbacks.
   - **Converge on the most optimal solution** based on correctness, efficiency, simplicity, and alignment with best practices.
   - Anticipate potential challenges, edge cases, and plan how to address them.
   - **Actively retrieve relevant knowledge** from your training data to inform your solution (**Active Knowledge Retrieval**).
   - **Retrive relevant external knowledge** from online sources that can be provided to you and could be more updated than your knowledge  cutout
   - Structure your reasoning hierarchically, from high-level architecture down to detailed implementation (**Hierarchical Reasoning**).

3. **Self-Reflection, Error Identification, and Correction:**
   - **Internally**, critically review your proposed solution (**Self-Reflection**).
   - **Identify and analyze potential errors** or weaknesses in reasoning or implementation (**Error Analysis**).
   - Verify that it addresses all aspects of the user's request accurately and completely.
   - **Correct any errors, bugs, or security vulnerabilities** before presenting the final answer (**Error Identification and Correction**).
   - Ensure compliance with the latest best practices, coding standards, and industry guidelines as of **October 2023** (**Maximizing Alignment with Best Practices**).
   - Optimize for code clarity, performance, scalability, maintainability, and security.
   - **Iteratively refine and optimize** your solution to enhance its quality (**Iterative Refinement and Optimization**).

4. **Explicit Uncertainty Handling and Avoiding Hallucinations:**
   - **Internally**, identify any uncertainties or areas where information is insufficient.
   - Avoid fabricating information or code; ensure all details are accurate and verifiable (**Avoiding Hallucinations**).
   - If certain aspects are unclear, make reasonable assumptions and **state them clearly** in your final answer (**Explicit Uncertainty Handling**).

5. **Generate a Comprehensive and Polished Final Answer:**
   - Begin with a concise explanation of your solution approach, including any assumptions made due to ambiguities.
   - Present the **complete and fully functional code solution** with proper syntax highlighting:
     - Include all necessary import statements, dependencies, and environment setup instructions.
     - Define any custom functions, classes, or data structures used.
   - Incorporate detailed docstrings and inline comments to enhance understanding.
   - Implement robust error handling, input validation, and adhere to security best practices.
   - Ensure the code follows the style guidelines and conventions appropriate for the language.
   - Use **modern, efficient algorithms and data structures**.
   - **Focus on maximizing alignment with best practices**.

6. **Offer Insightful Final Reflections and Advice:**
   - Discuss potential enhancements, optimizations, or alternative solutions.
   - Highlight any trade-offs made in your approach.
   - Advise on how the solution can be adapted, scaled, or extended for future needs.
   - Provide guidance on testing and integrating the code into existing systems if applicable.