To enhance the effectiveness of a response, we can add more elements to the prompt structure, guiding the AI to deliver rich, detailed, and well-formatted answers. For more insights and to explore my other repositories or access this post in Portuguese, be sure to visit my GitHub profile at my GitHub.
Below are refined and optimized examples
🌍 Translation and Languages
[PT-TRAD]: Request translation into Portuguese.
[EN-TRAD]: Request translation into English.
[LANG-CHANGE:XX]: Change the language to the ISO code (e.g., [LANG-CHANGE:ES] for Spanish).
📚 Response Format
[LIST]: Request a list format response.
[TABLE]: Request a table as a response.
[CODE]: Request a code example.
[EXAMPLE]: Request clear and objective examples.
[STEP-BY-STEP]: Response in detailed steps.
[SHORT]: Brief and direct response.
[LONG]: More extensive and detailed response.
🗣 Communication Style
[FORMAL]: Formal tone response.
[INFORMAL]: Casual tone response.
[BEGINNER]: Explanation for beginners.
[ADVANCED]: Explanation for advanced users.
[ANALOGY]: Use analogies or comparisons.
[VISUAL]: Suggest or include a visual representation (graphs, diagrams).
⚙️ Technical
[DEBUG]: Help debug issues.
[OPTIMIZE]: Improve code or logic.
[EXPLAIN]: Detailed technical explanation.
[DESIGN]: Provide design suggestions.
[SECURITY]: Focus on security practices.
💡 Consulting and Improvements
[FEEDBACK]: Request critical analysis.
[SUGGEST]: Suggestions for improvement.
[COMPARE]: Compare alternatives (e.g., frameworks, methods).
[BEST-PRACTICES]: Recommendations for best practices.
🎨 Creativity and Writing
[IDEA]: Request creative ideas or suggestions.
[PLOT]: Request plot development (e.g., stories, tales).
[EDIT]: Request text editing or refinement.
📄 Documentation and Studies
[DOC]: Generate technical documentation.
[CITATION]: Include references or citations.
[EXPLAIN-CONCEPT]: Explain theoretical concepts.
[SIMPLIFY]: Simplified explanation.
🛠 Case Studies
[PT-CASES]: Request case studies related to the topic, with the response in Portuguese.
[EN-CASES]: Request case studies related to the topic, with the response in English.
[ES-CASES]: Request case studies related to the topic, with the response in Spanish.
🔄 Comparisons
[PT-COMPARAÇÕES]: Request comparisons between similar approaches or tools, with the response in Portuguese.
[EN-COMPARISONS]: Request comparisons between similar approaches or tools, with the response in English.
[ES-COMPARACIONES]: Request comparisons between similar approaches or tools, with the response in Spanish.
📜 History and Future
[PT-HISTÓRICO]: Include the historical context or evolution of the topic, with the response in Portuguese.
[EN-HISTORICAL]: Include the historical context or evolution of the topic, with the response in English.
[ES-HISTÓRICO]: Include the historical context or evolution of the topic, with the response in Spanish.
[PT-FUTURO]: Ask about future trends or innovations related to the topic, with the response in Portuguese.
[EN-FUTURE]: Ask about future trends or innovations related to the topic, with the response in English.
[ES-FUTURO]: Ask about future trends or innovations related to the topic, with the response in Spanish.
⚠️ Cautions and Best Practices
[PT-CUIDADOS]: Request guidelines on best practices and common mistakes, with the response in Portuguese.
[EN-CAUTIONS]: Request guidelines on best practices and common mistakes, with the response in English.
[ES-CUIDADOS]: Request guidelines on best practices and common mistakes, with the response in Spanish.
[PT-BOAS-PRÁTICAS]: Request information on best practices and recommendations, with the response in Portuguese.
📌 Example Simple Prompt (Without Enhancers)
Explain API security in REST.
Result:
🌟 Example Advanced Prompt (With Enhancers)
[PT] Explain API security in REST.
[PT-DEPTH] Provide an intermediate-level explanation.
[PT-FORMAT] Structure the response into clear bullet points.
[PT-EXAMPLES] Include practical implementation examples.
[PT-BESTPRACTICES] List common mistakes and related best practices.
[PT-RECOMMENDATIONS] Recommend tools and frameworks useful for authentication and validation.
[PT-TRANSLATION] Translate the response into English and Spanish.
Result:
⚠️ Disclaimer
Although improved prompts enhance the quality of responses, all AI-generated information must be critically evaluated and validated to ensure accuracy. Always review, test, and verify the information before applying it.
Top comments (0)