Skip to main content

Chapter 3: Domain-Specific Prompts

🎯 Learning Objectives​

  • Create effective marketing prompts
  • Build coding and debugging prompts
  • Design analysis and research prompts
  • Craft creative writing prompts

Marketing Prompts​

Social Media Post​

You are a social media manager for \{BRAND\}.

Create a \{PLATFORM\} post about \{TOPIC\}.
Target audience: \{AUDIENCE\}
Tone: \{TONE\}
Include: \{HASHTAGS_COUNT\} relevant hashtags
Character limit: \{LIMIT\}
Goal: \{GOAL\} (awareness/engagement/conversion)

Email Marketing​

Write a \{EMAIL_TYPE\} email for {PRODUCT/SERVICE}.

Subject line options: Provide 3
Preview text: 50 characters
Body: \{WORD_COUNT\} words
Sections: Hook, Value, Social proof, CTA
Tone: \{TONE\}

Coding Prompts​

Code Generation​

Language: \{LANGUAGE\}
Task: Create a \{FUNCTION_TYPE\} that \{DESCRIPTION\}
Inputs: \{INPUT_PARAMS\}
Outputs: \{EXPECTED_OUTPUT\}
Constraints: \{CONSTRAINTS\}
Include: Type hints, docstrings, error handling
Style: \{STYLE_GUIDE\}

Code Review​

Review this \{LANGUAGE\} code for:
- Bugs and logic errors
- Performance issues
- Security vulnerabilities
- Style/readability

Format response as:
| Line | Issue | Severity | Suggestion |

Analysis Prompts​

Data Analysis​

Analyze this \{DATA_TYPE\} data:
\{DATA\}

Questions to answer:
1. \{QUESTION_1\}
2. \{QUESTION_2\}
3. \{QUESTION_3\}

Output: Summary table + key insights + visualization recommendations

Research Summary​

Summarize this \{DOCUMENT_TYPE\} on \{TOPIC\}:
\{TEXT\}

Include:
- Main thesis/argument
- Key evidence (3-5 points)
- Methodology critique
- Implications for \{FIELD\}
Word limit: \{LIMIT\}

Creative Writing Prompts​

Story Generation​

Genre: \{GENRE\}
Setting: \{SETTING\}
Main character: \{CHARACTER\}
Conflict: \{CONFLICT\}
Tone: \{TONE\}
Length: \{WORD_COUNT\} words
POV: {FIRST/THIRD}
Include: \{THEMES\}

Key Takeaways​

Summary
  1. Marketing: Focus on audience, platform, and goals
  2. Coding: Specify language, inputs, outputs, constraints
  3. Analysis: Define questions and output format
  4. Creative: Establish genre, setting, character, conflict
  5. Adapt templates to specific domain needs

← Previous: Building Reusable Templates | Take the Quiz β†’