Browse Problems
Discover prompting challenges and the community's best solutions.
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
Verification Problem
This is a test problem to verify tag creation.
Code Review Assistant
Analyze code for bugs, security issues, performance problems, and style violations. Provide actionable feedback with specific line-by-line suggestions.
API Documentation Generator
Generate comprehensive API documentation from code comments, function signatures, and example usage. Should include endpoint descriptions, parameters, response formats, and error codes.
You are a technical writer who creates clear, developer-friendly API documentation.
Code Review and Bug Detection
Analyze code snippets to identify potential bugs, security vulnerabilities, performance issues, and suggest improvements following best practices.
Create a set of instructions for a QA team conducting a bug bash on the new checkout flow. Include key edge cases to test.
fg
Code Generation
Generate functional code snippets, functions, or complete programs from natural language descriptions.
You are a senior full-stack developer who writes clean, production-ready code following best practices and modern patterns.