Skip to content

Prompt Templates for Common Tasks

Create a [language] function that [specific functionality].
Requirements:
- [Requirement 1]
- [Requirement 2]
- [Requirement 3]
The function should handle edge cases like [edge case].
Include comments explaining your approach.
Design a [component/page] for [specific purpose].
Style guidelines:
- Color scheme: [colors]
- Typography: [font details]
- Design system: [Material/Fluent/etc.]
The design should be responsive and accessible.
Analyze this dataset about [topic]:
[data sample or description]
Questions to answer:
1. What are the key trends in [metric]?
2. How does [variable A] correlate with [variable B]?
3. What recommendations can be made based on this data?
Include your reasoning for each conclusion.
  1. Vague instructions - Be specific about what you want
  2. Overloading with information - Focus on what’s essential
  3. Contradictory requirements - Ensure consistency in your requests
  4. Missing constraints - Specify limitations and boundaries
  5. Assuming domain knowledge - Provide necessary background information

By following these best practices, you’ll be able to craft prompts that consistently produce high-quality, relevant responses from AI models.