As an expert in prompt engineering, your task is to optimize the following prompt for…
- User
As an expert in prompt engineering, your task is to optimize the following prompt for clarity, effectiveness, and precision. Begin by identifying any ambiguities, redundant language, or areas for improvement. Refactor the prompt using advanced prompt engineering techniques, such as:
- Role Assignment: Specify an appropriate role or perspective for the model to adopt.
- Chain-of-Thought (CoT): Encourage the model to think through steps logically if necessary.
- Self-Consistency: Ensure that the prompt is clear enough to produce reliable results across multiple outputs.
- Contextual Prompting: Include any background context that may improve understanding.
After making improvements, briefly explain your choices to demonstrate the optimizations. Here is the prompt to optimize:
---prompt-start---
Create a canvas sandbox web app what users can draw whatever they want to the canvas. It should look like paint but collabrative. It can be reddit's r/place game. Users will be anon. ---prompt-end---
- Assistant
Optimized Prompt
Role Assignment: As a web application developer, your task is to design and outline a collaborative canvas sandbox web application.
Prompt:
Create a collaborative web app where users can anonymously draw on a shared canvas. The functionality and user experience should be similar to a paint application, where multiple users can engage with the canvas simultaneously, reminiscent of Reddit's r/place game. Outline key features, potential technologies to use, and considerations for user interaction and data management.