Browse Problems
Discover prompting challenges and the community's best solutions.
Detect API rate limit patterns before hitting the limit
Stripe allows 100 requests/second. You're at 87/second and climbing. Need to predict: 'At current rate, you'll hit the limit in 3 minutes' and throttle proactively.
Rate Limit Predictor
Example output
Generate SQL queries from natural language that won't cause N+1 problems
User asks: 'Show me all customers and their orders'. Naive query causes N+1. Need prompts that generate: proper JOINs, eager loading, and explain the performance implications.
hxfg
Example output
Validate webhook payloads before processing to prevent bad data
Stripe sends a webhook. Before processing, need to verify: signature is valid, required fields exist, amounts are reasonable, timestamp is recent. One bad webhook can corrupt your database.
Webhook Payload Validator
Example output
Generate idempotent database migrations that won't break on retry
Migration fails halfway through. Need to re-run it without creating duplicate columns or breaking existing data. Need prompts that generate: 'IF NOT EXISTS' checks, rollback logic, and safe retry patterns.
Idempotent Migration Generator
Example output
Flag tickets where the customer is about to escalate publicly
Customer says 'If this isn't fixed by tomorrow, I'm posting on Twitter'. That's a red flag. Need to detect escalation threats and route to senior support immediately.
Public Escalation Threat Detector
Example output
Summarize long ticket threads for handoffs between support agents
Ticket has 15 messages over 3 days. New agent needs to get up to speed in 30 seconds. Need summary: 'Customer can't export reports. Tried X, Y, Z. Still broken. Waiting on engineering to check database'.
Ticket Thread Summarizer
Example output
Detect when customers are asking the same question repeatedly
Customer asked about API rate limits 3 times in 2 weeks. Either they didn't understand the answer, or the docs are unclear. Need to flag: 'This customer keeps asking about X - escalate or improve docs'.
Repeat Question Detector
Example output
Generate knowledge base articles from resolved ticket threads
Support agent solved a tricky issue over 8 messages. Now turn that thread into a KB article: clear problem statement, step-by-step solution, no back-and-forth confusion.
Ticket-to-KB Article Converter
Example output