Example: Anonymizing customer feedback
Role | Unclear Prompt | Clear Prompt |
---|---|---|
User | Please remove all personally identifiable information from these customer feedback messages: {{FEEDBACK_DATA}} | Your task is to anonymize customer feedback for our quarterly review. Instructions: 1. Replace all customer names with “CUSTOMER_[ID]” (e.g., “Jane Doe” → “CUSTOMER_001”). 2. Replace email addresses with “EMAIL_[ID]@example.com”. 3. Redact phone numbers as “PHONE_[ID]“. 4. If a message mentions a specific product (e.g., “AcmeCloud”), leave it intact. 5. If no PII is found, copy the message verbatim. 6. Output only the processed messages, separated by ”---”. Data to process: {{FEEDBACK_DATA}} |
Assistant (Claude’s response) | Here are the anonymized customer feedback messages: 1. I’ve been using your software for years, and it’s been great. But lately, AcmeCloud has been crashing a lot. Fix it! 2. XXX, your customer support rep, was incredibly helpful. He guided me through the whole process. My email is XXX if you want to send a survey. 3. I’m John Smith, and I’m not happy. I’ve been on hold for 2 hours trying to reach someone at XXX. This is unacceptable! | CUSTOMER_001: I’ve been using your software for years, and it’s been great. But lately, AcmeCloud has been crashing a lot. Fix it! --- CUSTOMER_002: CUSTOMER_SERVICE_001, your customer support rep, was incredibly helpful. He guided me through the whole process. My email is EMAIL_002@example.com if you want to send a survey. --- CUSTOMER_003: I’m CUSTOMER_003, and I’m not happy. I’ve been on hold for 2 hours trying to reach someone at PHONE_001. This is unacceptable! |
Example: Crafting a marketing email campaign
Role | Vague Prompt | Specific Prompt |
---|---|---|
User | Write a marketing email for our new AcmeCloud features. | Your task is to craft a targeted marketing email for our Q3 AcmeCloud feature release. Instructions: 1. Write for this target audience: Mid-size tech companies (100-500 employees) upgrading from on-prem to cloud. 2. Highlight 3 key new features: advanced data encryption, cross-platform sync, and real-time collaboration. 3. Tone: Professional yet approachable. Emphasize security, efficiency, and teamwork. 4. Include a clear CTA: Free 30-day trial with priority onboarding. 5. Subject line: Under 50 chars, mention “security” and “collaboration”. 6. Personalization: Use {{COMPANY_NAME}} and {{CONTACT_NAME}} variables. Structure: 1. Subject line 2. Email body (150-200 words) 3. CTA button text |
Assistant (Claude’s response) | Here’s a draft marketing email for our new features: Subject: Boost Your Business with AcmeCloud’s Latest Features Dear Valued Customer, We’re excited to introduce three powerful features to AcmeCloud that will revolutionize your workflow: 1. Real-Time Collaboration: Work on documents simultaneously with your team. No more version control issues! 2. AI-Powered Insights: Make data-driven decisions with AI that analyzes trends and automates tasks. 3. Advanced Security Suite: End-to-end encryption, multi-factor auth, and threat detection keep your data safe. Limited Offer: Upgrade now for a 20% first-year discount. Plus, refer a friend for an extra 10% off! Best, The AcmeCloud Team | Subject line: AcmeCloud: Enterprise security meets real-time teamwork Email body: Dear {{CONTACT_NAME}}, At {{COMPANY_NAME}}, you’re scaling fast and eyeing the cloud. But with growth comes the challenge of keeping data secure while fostering collaboration. That’s where AcmeCloud’s Q3 release comes in, tailor-made for tech innovators like you. 1. Fort Knox for Your Files: Military-grade encryption now safeguards your data, both in motion and at rest. Your intellectual property stays yours, period. 2. Sync Without Borders: Windows, Mac, or Linux—AcmeCloud speaks all languages. Unified version control means no more “final_v2_REALLY_FINAL.doc”. 3. Collaborate at Light Speed: Ditch the attachment ping-pong. Now your devs, designers, and data scientists co-create in real-time, slashing time-to-market. Don’t just take our word for it. Experience the AcmeCloud difference with our 30-day trial. And because we know time is your most precious asset, we’re throwing in priority onboarding. Elevate Your Team Now - Free 30-Day Trial |
Example: Incident response
Role | Vague Prompt | Detailed Prompt |
---|---|---|
User | Analyze this AcmeCloud outage report and summarize the key points. {{REPORT}} | Analyze this AcmeCloud outage report. Skip the preamble. Keep your response terse and write only the bare bones necessary information. List only: 1) Cause 2) Duration 3) Impacted services 4) Number of affected users 5) Estimated revenue loss. Here’s the report: {{REPORT}} |
Assistant (Claude’s response) | Here’s a summary of the key points from the AcmeCloud outage report: On May 15th, a misconfigured load balancer update caused significant traffic routing issues, resulting in a service outage from 09:15 to 13:52 UTC. The 4-hour 37-minute disruption impacted our core file syncing service and admin dashboard, rendering them inaccessible. Additionally, the mobile app experienced partial functionality loss. Approximately 68% of our user base, totaling 1.3 million users, were affected. Based on our Service Level Agreements (SLAs) and average revenue per user, we estimate a financial impact of $420,000 in service credits and potential customer churn. | 1) Cause: Misconfigured load balancer update 2) Duration: 4h 37m (09:15-13:52 UTC, May 15) 3) Impacted: Core sync, admin dashboard (down); mobile app (partial) 4) Affected users: 1.3M (68% of base) 5) Est. revenue loss: $420,000 |