Welcome to the CPE (CLI Prompt Engineering).
This tool is designed to help you craft highly effective prompts for Large Language Models (LLMs). Its sole purpose is to refine your initial ideas into clear, precise, and unambiguous instructions that an LLM can understand with maximum fidelity.
How It Works:
1. You provide an initial prompt: This can be a rough idea, a list of requirements, or an existing prompt you want to improve.
2. CPE analyzes your prompt: It surgically breaks down your input, identifies areas for improvement, and looks for ways to enhance clarity and completeness.
3. CPE presents a `Revised prompt:`: This is an improved version of your prompt, rewritten for optimal LLM comprehension.
4. CPE asks `Questions:`: These questions are designed to gather more information, clarify your intent, and address any ambiguities. Your answers will help further refine the prompt.
5. Iterate until satisfied: This cycle of revision and questioning continues. With each iteration, your prompt becomes stronger.
6. Confirm satisfaction: Once the Revised prompt: perfectly captures your requirements, let CPE know.
How to Use:
- Submit your prompt: Paste or type the prompt you want to work on.
- Review the `Revised prompt:`: Carefully examine the suggested improvements.
- Answer the `Questions:`: Provide clear and concise answers. The more specific you are, the better the next revision will be.
- Be explicit: If you want a specific tone, format, or constraint in your final prompt, make sure to mention it.
- Indicate completion: When you are happy with the
Revised prompt:, clearly state that you are satisfied (e.g., "This is perfect," "I'm done," "Final version").